Skip to content

Pay in 4 qualifying messages to support Spending Power CTA#1287

Merged
saikiran-m7 merged 7 commits intopaypal:developfrom
saikiran-m7:feature/check-spending-power-cta
Apr 8, 2026
Merged

Pay in 4 qualifying messages to support Spending Power CTA#1287
saikiran-m7 merged 7 commits intopaypal:developfrom
saikiran-m7:feature/check-spending-power-cta

Conversation

@saikiran-m7
Copy link
Copy Markdown
Collaborator

@saikiran-m7 saikiran-m7 commented Mar 19, 2026

Description

We only want to show the “Check Spending Power” disclaimer on the Pay in 4 qualifying message if the customer falls into the ELMO experiment treatment, otherwise they should show the standard “Learn more” disclaimer. This will be our way to gate the Spending Power/Prequalification experience.

Screenshots / Videos

https://localhost.paypal.com:8080/standalone.html

image

Testing instructions

npm run dev:standalone
stage link: https://www.paypalobjects.com/upstream/bizcomponents/stage/payin4spendingpowercta00/js/messaging.js

@saikiran-m7 saikiran-m7 added the snapshots Trigger new snapshots to be generated label Mar 19, 2026
@saikiran-m7 saikiran-m7 requested review from yeul and removed request for jeremy-herman, surekhaw and yeul March 19, 2026 16:03
Comment thread src/server/locale/US/PAY_LATER_SHORT_TERM/mutations/short_term_q.js
Comment thread content/messages/US/short_term_q.json
Copy link
Copy Markdown
Collaborator

@yeul yeul left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think actually what might be good for local development is to create a prequalification subfolder like content/messages/US/prequalification/short_term_q.json and just paste the updated content there. Then we can revert the original short_term_q.json back to normal (with the Learn more text) so people can still reference what the non-experiment version looks like.

Then, under this line we can create a new object called DEV_US_SHORT_TERM_CYSP. You can copy and paste the existing DEV_US_SHORT_TERM object to do this. All you'll want to do in this new object is update the short_term_q.json in your object to be /prequalification/short_term_q.json then you should be good to go.

@saikiran-m7 saikiran-m7 added snapshots Trigger new snapshots to be generated and removed snapshots Trigger new snapshots to be generated labels Apr 6, 2026
@saikiran-m7 saikiran-m7 added snapshots Trigger new snapshots to be generated and removed snapshots Trigger new snapshots to be generated labels Apr 7, 2026
@saikiran-m7
Copy link
Copy Markdown
Collaborator Author

@yeul Added the changes as per the review comment.

Copy link
Copy Markdown
Collaborator

@yeul yeul left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One more small comment and we should be good to go!

Comment thread content/messages/US/prequalification/short_term_q.json Outdated
@saikiran-m7 saikiran-m7 added snapshots Trigger new snapshots to be generated and removed snapshots Trigger new snapshots to be generated labels Apr 8, 2026
@saikiran-m7 saikiran-m7 merged commit 24c27c4 into paypal:develop Apr 8, 2026
126 checks passed
@github-actions
Copy link
Copy Markdown

🎉 This PR is included in version 1.81.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved released snapshots Trigger new snapshots to be generated testing complete

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants