Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 1 addition & 4 deletions content/messages/ES/short_term_no_amount.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"offerType": "GENERIC",
"messageType": "PL_GENERIC",
"offerTerm": "{total_payments}",
"lander": "",
"lander": "https://www.paypal.com/credit-presentment/lander/modal",
"variables": {
"offer_id": "${CREDIT_OFFERS_DS.offer_id}",
"vendor_financing_id": "${CREDIT_OFFERS_DS.vendor_financing_id}",
Expand All @@ -14,10 +14,7 @@
"formattedMaxAmount": "${CREDIT_OFFERS_DS.formattedMaxAmount}"
}
},

"headline": [["Compra ahora y paga después.", ["default"]]],

"subHeadline": [],

"disclaimer": [["Más información", ["default"]]]
}
22 changes: 22 additions & 0 deletions content/messages/FR/generic.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"meta": {
"offerCountry": "FR",
"offerType": "GENERIC",
"messageType": "PL_GENERIC",
"offerTerm": "{total_payments}",
"lander": "https://www.paypal.com/credit-presentment/lander/modal",
"experiment_id": "{experiment_id}",
"experiment_treatment_id": "{experiment_treatment_id}",
"variables": {
"offer_id": "${CREDIT_OFFERS_DS.offer_id}",
"vendor_financing_id": "${CREDIT_OFFERS_DS.vendor_financing_id}",
"financing_code": "${CREDIT_OFFERS_DS.financing_code}",
"formattedPeriodicPayment": "${CREDIT_OFFERS_DS.formattedPeriodicPayment}",
"formattedMinAmount": "${CREDIT_OFFERS_DS.formattedMinAmount}",
"formattedMaxAmount": "${CREDIT_OFFERS_DS.formattedMaxAmount}"
}
},
"headline": [["Payez en plusieurs fois.", ["default"]]],
"subHeadline": [],
"disclaimer": [["En savoir plus", ["default"]]]
}
29 changes: 29 additions & 0 deletions content/messages/FR/long_term_nq_gtz.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{
"meta": {
"offerCountry": "FR",
"offerType": "PAY_LATER_LONG_TERM",
"offerTerm": "{total_payments}",
"messageType": "PLLT_NQ_GZ",
"lander": "https://www.paypal.com/credit-presentment/lander/modal",
"variables": {
"offer_id": "${CREDIT_OFFERS_DS.offer_id}",
"vendor_financing_id": "${CREDIT_OFFERS_DS.vendor_financing_id}",
"financing_code": "${CREDIT_OFFERS_DS.financing_code}",
"formattedPeriodicPayment": "${CREDIT_OFFERS_DS.formattedPeriodicPayment}",
"formattedMinAmount": "${CREDIT_OFFERS_DS.formattedMinAmount}",
"formattedMaxAmount": "${CREDIT_OFFERS_DS.formattedMaxAmount}"
}
},
"headline": [
["Payez en plusieurs fois.", ["default", "xsmall"]],
["Payez en plusieurs fois.", ["xsmall.2"]],
[
"Payez en plusieurs échéances pour vos achats de {formattedMinAmount} à {formattedMaxAmount}",
["small", "medium", "large", "xlarge"]
]
],
"subHeadline": [],
"disclaimer": [
["<span aria-hidden='true'>En savoir plus</span><span class='sr-only'>En savoir plus</span>", ["default"]]
]
}
26 changes: 26 additions & 0 deletions content/messages/FR/long_term_q_gtz.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"meta": {
"offerCountry": "FR",
"offerType": "PAY_LATER_LONG_TERM",
"messageType": "PLLT_MQ_GZ",
"offerTerm": "{total_payments}",
"lander": "https://www.paypal.com/credit-presentment/lander/modal",
"variables": {
"offer_id": "${CREDIT_OFFERS_DS.offer_id}",
"vendor_financing_id": "${CREDIT_OFFERS_DS.vendor_financing_id}",
"financing_code": "${CREDIT_OFFERS_DS.financing_code}",
"formattedPeriodicPayment": "${CREDIT_OFFERS_DS.formattedPeriodicPayment}",
"formattedMinAmount": "${CREDIT_OFFERS_DS.formattedMinAmount}",
"formattedMaxAmount": "${CREDIT_OFFERS_DS.formattedMaxAmount}"
}
},
"headline": [
["Payez en plusieurs fois.", ["default", "xsmall"]],
["Payez en plusieurs fois.", ["xsmall.2"]],
[["Payez en plusieurs fois, jusqu'à {total_payments} mensualités"], ["small", "medium", "large", "xlarge"]]
],
"subHeadline": [],
"disclaimer": [
["<span aria-hidden='true'>En savoir plus</span><span class='sr-only'>En savoir plus</span>", ["default"]]
]
}
42 changes: 42 additions & 0 deletions content/modals/FR/long_term.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
{
"meta": {
"product": "PAY_LATER_LONG_TERM",
"offerCountry": "FR",
"useV5Design": "true",
"v5.1": "true",
"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}",
"formattedNominalRatePrecision2": "${CREDIT_OFFERS_DS.formattedNominalRatePrecision2}"
}
},
"content": {
"headline": "Paiement en 6, 12 ou 24X",
"subheadline": "Paiements mensuels avec intérêts. Sans acompte.",
"instructions": [
"Choisissez PayPal lors du paiement pour payer en plusieurs fois, en 6, 12 ou 24 échéances.",
"Obtenez une décision en quelques secondes et finalisez votre achat.",
"Utilisez le paiement automatique pour les remboursements. C'est facile !"
],
"disclosure": [
"Uniquement pour les particuliers résidents en France. Compte PayPal français obligatoire. Le Paiement en 6, 12 ou 24X est disponible sous réserve d'acceptation, pour les achats de {formattedMinAmount} € à {formattedMaxAmount}  €. Un crédit est un engagement contraignant et doit être remboursé, vérifiez votre capacité de remboursement. Pour en savoir plus, consultez les ",
[
"Conditions générales.",
"https://www.paypal.com/fr/digital-wallet/ways-to-pay/buy-now-pay-later",
"Conditions générales, se ouvre dans une nouvelle fenêtre"
],
" Crédit proposé par PayPal (Europe) S.à r.l. et Cie, S.C.A., 22-24 Boulevard Royal, L-2449, Luxembourg, R.C.S. Luxembourg B 118 349, qui est dûment licencié en tant qu'établissement de crédit du Luxembourg et est sous le contrôle prudentiel de l'autorité de surveillance du Luxembourg, la Commission de Surveillance du Secteur Financier. Cette information est fournie par PayPal."
],
"linkToProductList": "Découvrir les autres options de paiement en plusieurs fois"
}
}
29 changes: 29 additions & 0 deletions content/modals/FR/product_list.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{
"meta": {
"product": "PRODUCT_LIST",
"useV5Design": "true",
"v5.1": "true",
"offerCountry": "FR"
},
"content": {
"headline": "<span aria-hidden='true'>Achetez maintenant, payez plus tard</span><span class='sr-only'>Achetez maintenant, payez plus tard</span>",
"disclosure": "Soumis à conditions. Sous réserve d'acceptation par PayPal. Pour en savoir plus sur le Paiement en plusieurs fois de PayPal, sélectionnez l'une des options ci-dessus. ",
"instructions": {
"payLater": "Sélectionnez une option pour en savoir plus."
},
"productTiles": {
"payLater": [
{
"header": "Paiement en 4X",
"body": "Paiements mensuels sans frais, à compter d'aujourd'hui.",
"viewName": "PAY_LATER_SHORT_TERM"
},
{
"header": "Paiement en 6, 12 ou 24X",
"body": "Paiements mensuels avec intérêts. Sans acompte.",
"viewName": "PAY_LATER_LONG_TERM"
}
]
}
}
}
3 changes: 2 additions & 1 deletion content/modals/FR/short_term.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@
"Uniquement pour les particuliers résidant en France. Compte PayPal français obligatoire. Le Paiement en 4X est disponible sous réserve d'acceptation, pour les achats de {formattedMinAmount} à {formattedMaxAmount}. Un crédit est un engagement contraignant et doit être remboursé, vérifiez votre capacité de remboursement. Voir les ",
["Conditions générales", "https://www.paypal.com/fr/webapps/mpp/ua/pay-in-4x-full"],
" du Paiement en 4X. Crédit proposé par PayPal (Europe) S.à r.l. et Cie, S.C.A., 22-24 Boulevard Royal, L-2449, Luxembourg, R.C.S. Luxembourg B 118 349, qui est dûment licencié en tant qu'établissement de crédit du Luxembourg et est sous le contrôle prudentiel de l'autorité de surveillance du Luxembourg, la Commission de Surveillance du Secteur Financier. Cette information est fournie par PayPal."
]
],
"linkToProductList": "Découvrir les autres options de paiement en plusieurs fois"
}
}
3 changes: 2 additions & 1 deletion content/modals/FR/short_term_en.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@
"Only for private individuals residing in France. French PayPal account required. Pay in 4X is available, subject to acceptance, for purchases between {formattedMinAmount} and {formattedMaxAmount}. A loan is a binding commitment and must be repaid, check your repayment capacity. ",
["Terms and Conditions", "https://www.paypal.com/fr/webapps/mpp/ua/pay-in-4x-full"],
". Credit offered by PayPal (Europe) S.à r.l. et Cie, S.C.A., 22-24 Boulevard Royal, L-2449, Luxembourg, Trade and Companies Register of Luxembourg B 118 349, which is duly licensed as a Luxembourg credit institution and falls under the oversight of the supervisory authority of Luxembourg, Commission de Surveillance du Secteur Financier. This information is provided by PayPal."
]
],
"linkToProductList": "See other ways to pay in installments"
}
}
37 changes: 37 additions & 0 deletions content/offers/FR/long_term.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
{
"meta": {
"product": "PAY_LATER_LONG_TERM",
"offerCountry": "FR",
"periodicPayment": "{formattedPeriodicPayment}",
"minAmount": "{minAmount}",
"maxAmount": "{maxAmount}",
"qualifying": "{qualifying_offer}",
"amount": "{transaction_amount}",
"formattedMinAmount": "{formattedMinAmount}",
"formattedMaxAmount": "{formattedMaxAmount}",
"apr": "{apr}",
"total_payments": "{total_payments}",
"formattedTotalCost": "{formattedTotalCost}",
"formattedTotalInterest": "{formattedTotalInterest}",
"formattedTransactionAmount": "{formattedTransactionAmount}",
"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}",
"formattedTransactionAmount": "${CREDIT_OFFERS_DS.formattedTransactionAmount}",
"minAmount": "${CREDIT_OFFERS_DS.minAmount}",
"maxAmount": "${CREDIT_OFFERS_DS.maxAmount}",
"apr": "${CREDIT_OFFERS_DS.apr}",
"nominal_rate": "${CREDIT_OFFERS_DS.nominal_rate}"
}
},
"content": {
"calculator": {},
"disclaimer": {}
}
}
7 changes: 5 additions & 2 deletions demo/helpers/accounts.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,11 @@ const accounts = [
// 'DEV00000GBPLQ',

// FR
// 'DEV000000FRPL',
// 'DEV00000FRPLQ'
// DEV0FRGENERIC
// DEV000000FRPL
// DEV00000FRPLQ
// DEV0000FRPLTQ
// DEV000FRPLTNQ

// ES
// 'DEV00000ESPLQ',
Expand Down
Loading
Loading