diff --git a/content/modals/US/v2_long_term-onboarding.json b/content/modals/US/v2_long_term-onboarding.json new file mode 100644 index 0000000000..6eedb3eafa --- /dev/null +++ b/content/modals/US/v2_long_term-onboarding.json @@ -0,0 +1,44 @@ +{ + "meta": { + "product": "PAY_LATER_LONG_TERM", + "useV5Design": "true", + "v5.1": "true", + "offerCountry": "US", + "variables": { + "transaction_amount": "${eval(transaction_amount ? transaction_amount : '-')}", + "qualifying_offer": "${eval(CREDIT_OFFERS_DS.qualifying_offer ? CREDIT_OFFERS_DS.qualifying_offer : 'false')}", + "financing_code": "${CREDIT_OFFERS_DS.financing_code}", + "formattedPeriodicPayment": "${CREDIT_OFFERS_DS.formattedPeriodicPayment}", + "total_payments": "${CREDIT_OFFERS_DS.total_payments}", + "formattedMinAmount": "${CREDIT_OFFERS_DS.formattedMinAmount}", + "formattedMaxAmount": "${CREDIT_OFFERS_DS.formattedMaxAmount}", + "formattedTotalCost": "${CREDIT_OFFERS_DS.formattedTotalCost}", + "minAmount": "${CREDIT_OFFERS_DS.minAmount}", + "maxAmount": "${CREDIT_OFFERS_DS.maxAmount}", + "apr": "${CREDIT_OFFERS_DS.apr}", + "nominal_rate": "${CREDIT_OFFERS_DS.nominal_rate}" + } + }, + "content": { + "headline": "Pay Monthly", + "subheadline": "Get more time to pay, with no down payment or late fees.", + "calculator": { + "title": "How much is your purchase?", + "inputLabel": "Purchase amount", + "inputPlaceholder": "Enter amount", + "genericError": "Something went wrong. Please try again later." + }, + "genericDisclaimer": "Terms vary based on purchase amount and your credit.", + "instructions": [ + "Create your PayPal account, then choose Pay Monthly.", + "Get a decision in seconds and complete your purchase.", + "Use autopay for your payments. It's easy!" + ], + "disclosure": [ + "Pay Monthly is subject to consumer credit approval and eligibility. Payments may change based on shipping, taxes, updates to your purchase, or missed payments. Availability depends on the merchant and may not be available for subscriptions or recurring payments. Pay Monthly is currently not available to residents of Alaska, Hawaii, or Nevada. You must be 18 years old or older to apply. Missed payments may have an impact on your credit score. The lender for Pay Monthly is WebBank. PayPal, Inc. (NMLS #910457): Connecticut Small Loan Licensee. Rhode Island Loan Broker Licensee. Vermont Loan Solicitation Licensee. Vermont residents:", + ["Find more disclosures ", "https://www.paypal.com/us/digital-wallet/ways-to-pay/buy-now-pay-later"], + "by going to PayPal's page on Pay Later." + ], + "linkToProductList": "See other ways to pay over time" + } +} diff --git a/content/modals/US/v2_short_term-onboarding.json b/content/modals/US/v2_short_term-onboarding.json new file mode 100644 index 0000000000..629f99af80 --- /dev/null +++ b/content/modals/US/v2_short_term-onboarding.json @@ -0,0 +1,42 @@ +{ + "meta": { + "product": "PAY_LATER_SHORT_TERM", + "useV5Design": "true", + "v5.1": "true", + "periodicPayment": "{formattedPeriodicPayment}", + "minAmount": "{minAmount}", + "maxAmount": "{maxAmount}", + "qualifying": "{qualifying_offer}", + "amount": "{transaction_amount}", + "apr": "{apr}", + "variables": { + "transaction_amount": "${eval(transaction_amount ? transaction_amount : '-')}", + "qualifying_offer": "${eval(CREDIT_OFFERS_DS.qualifying_offer ? CREDIT_OFFERS_DS.qualifying_offer : 'false')}", + "financing_code": "${CREDIT_OFFERS_DS.financing_code}", + "formattedPeriodicPayment": "${CREDIT_OFFERS_DS.formattedPeriodicPayment}", + "total_payments": "${CREDIT_OFFERS_DS.total_payments}", + "formattedMinAmount": "${CREDIT_OFFERS_DS.formattedMinAmount}", + "formattedMaxAmount": "${CREDIT_OFFERS_DS.formattedMaxAmount}", + "formattedTotalCost": "${CREDIT_OFFERS_DS.formattedTotalCost}", + "minAmount": "${CREDIT_OFFERS_DS.minAmount}", + "maxAmount": "${CREDIT_OFFERS_DS.maxAmount}", + "apr": "${CREDIT_OFFERS_DS.apr}", + "nominal_rate": "${CREDIT_OFFERS_DS.nominal_rate}" + } + }, + "content": { + "headline": "Pay in 4 interest-free payments", + "subheadline": "No impact on credit score and no late fees. Available for purchases of {formattedMinAmount} to {formattedMaxAmount}.", + "qualifyingSubheadline": "Split your purchase of {formattedTotalCost} into {total_payments} with no impact on credit score and no late fees.", + "donutTimestamps": ["Today", "2 weeks", "4 weeks", "6 weeks"], + "instructions": [ + "Create your PayPal account, then choose Pay in 4. ", + "Complete your purchase with a 25% down payment.", + "Use autopay for the rest of your payments. It's easy!" + ], + "disclosure": [ + "Pay in 4 is available to consumers upon approval for purchases of {formattedMinAmount} to {formattedMaxAmount}. Pay in 4 is currently not available to residents of Missouri, Nevada, or New Mexico. Offer availability depends on the merchant and also may not be available for certain recurring, subscription services. When applying, a soft credit check may be needed, but will not affect your credit score. You must be of legal age in your U.S. state of residence to use Pay in 4. PayPal, Inc.: Loans to California residents are made or arranged pursuant to California Financing Law License. Georgia Installment Lender Licensee, NMLS #910457. Rhode Island Small Loan Lender Licensee." + ], + "linkToProductList": "See other ways to pay later" + } +} diff --git a/src/components/modal/v2/parts/BodyContent.jsx b/src/components/modal/v2/parts/BodyContent.jsx index 342c8d36b7..089afacbb3 100644 --- a/src/components/modal/v2/parts/BodyContent.jsx +++ b/src/components/modal/v2/parts/BodyContent.jsx @@ -63,6 +63,7 @@ const BodyContent = () => { const useV4Design = productMeta?.useV4Design === 'true'; const useV5Design = productMeta?.useV5Design === 'true'; + const use5Dot1Design = productMeta?.['v5.1']; const useNewCheckoutDesign = features?.includes('new-checkout-design') ? 'true' : 'false'; // add v4Design or v5Design class to root html to update lander specific styles to v4 or v5 respectively @@ -154,6 +155,7 @@ const BodyContent = () => { viewName={viewName} useV4Design={useV4Design} useV5Design={useV5Design} + use5Dot1Design={use5Dot1Design} /> )}