Skip to content

Commit

Permalink
Merge branch 'develop' into playwright-automated-testing
Browse files Browse the repository at this point in the history
  • Loading branch information
erikacolette29 committed Oct 2, 2024
2 parents d2aab18 + 65f8ae2 commit 1277e45
Show file tree
Hide file tree
Showing 752 changed files with 685 additions and 427 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/core.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
persist-credentials: false

- name: Setup node
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'

Expand All @@ -40,12 +40,12 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
persist-credentials: false

- name: Setup node
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: ⬇️ Checkout repo
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
ref: ${{ github.head_ref }}

- name: ⎔ Setup node
# sets up the .npmrc file to publish to npm
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
registry-url: 'https://registry.npmjs.org'
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,14 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
persist-credentials: false
# pulls all commits (needed for semantic release to correctly version)
fetch-depth: '0'

- name: Setup node
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/snapshotCommit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
contents: write
steps:
- name: Checkout repo
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
ref: ${{ github.event.workflow_run.head_branch }}
repository: ${{ github.event.workflow_run.head_repository.full_name }}
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/snapshotCompare.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
testConfigs: ${{ steps.setTestConfigs.outputs.testConfigs }}
steps:
- name: Checkout repo
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
persist-credentials: false

Expand All @@ -41,12 +41,12 @@ jobs:
testPathPattern: ${{ fromJSON(needs.getMatrix.outputs.testPathPatterns) }}
steps:
- name: Checkout repo
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
persist-credentials: false

- name: Setup node
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'

Expand Down Expand Up @@ -78,12 +78,12 @@ jobs:
testConfig: ${{ fromJSON(needs.getMatrix.outputs.testConfigs) }}
steps:
- name: Checkout repo
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
persist-credentials: false

- name: Setup node
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'

Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/snapshotUpdate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
testConfigs: ${{ steps.setTestConfigs.outputs.testConfigs }}
steps:
- name: Checkout repo
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
persist-credentials: false

Expand All @@ -40,7 +40,7 @@ jobs:
echo ${{ github.event.number }} > ./workflow/metadata/pull_number.txt
- name: Save Metadata
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: metadata
path: workflow/metadata/
Expand All @@ -54,12 +54,12 @@ jobs:
testPathPattern: ${{ fromJSON(needs.getMatrix.outputs.testPathPatterns) }}
steps:
- name: Checkout repo
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
persist-credentials: false

- name: Setup node
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'

Expand Down Expand Up @@ -120,7 +120,7 @@ jobs:
- name: Save Snapshot Artifact
if: steps.artifactInputs.outputs.skip != 'true'
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: ${{ steps.artifactInputs.outputs.name }}
path: ${{ steps.artifactInputs.outputs.filePath }}
Expand All @@ -135,12 +135,12 @@ jobs:
testConfig: ${{ fromJSON(needs.getMatrix.outputs.testConfigs) }}
steps:
- name: Checkout repo
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
persist-credentials: false

- name: Setup node
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'

Expand Down Expand Up @@ -207,7 +207,7 @@ jobs:
- name: Save Snapshot Artifact
if: steps.artifactInputs.outputs.skip != 'true'
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: ${{ steps.artifactInputs.outputs.name }}
path: ${{ steps.artifactInputs.outputs.filePath }}
Expand Down
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
18
20
23 changes: 23 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,28 @@
# Changelog

### [1.64.12](https://github.com/paypal/paypal-messaging-components/compare/v1.64.11...v1.64.12) (2024-09-11)


### Code Refactoring

* Add partner client id ([#1127](https://github.com/paypal/paypal-messaging-components/issues/1127)) ([3895648](https://github.com/paypal/paypal-messaging-components/commit/38956481375276043811e62e64a2dddfaed122ce))
* update DE disclosure ([#1119](https://github.com/paypal/paypal-messaging-components/issues/1119)) ([f5cf87c](https://github.com/paypal/paypal-messaging-components/commit/f5cf87c229d46e95d0c98a266e5ca22170cb41e2))

### [1.64.11](https://github.com/paypal/paypal-messaging-components/compare/v1.64.10...v1.64.11) (2024-08-20)


### Code Refactoring

* updated logger endpoint ([#1109](https://github.com/paypal/paypal-messaging-components/issues/1109)) ([cd05411](https://github.com/paypal/paypal-messaging-components/commit/cd054119dcab77500343b09b10d571e9374d731c))

### [1.64.10](https://github.com/paypal/paypal-messaging-components/compare/v1.64.9...v1.64.10) (2024-08-15)


### Code Refactoring

* update it modal disclosure ([#1114](https://github.com/paypal/paypal-messaging-components/issues/1114)) ([9554587](https://github.com/paypal/paypal-messaging-components/commit/95545876178282e69409a4bb59da9ccd0a287875))
* update modals v5design ([#1108](https://github.com/paypal/paypal-messaging-components/issues/1108)) ([f4bc6ef](https://github.com/paypal/paypal-messaging-components/commit/f4bc6ef70c8916db752f84d5064e488185ca75a6))

### [1.64.9](https://github.com/paypal/paypal-messaging-components/compare/v1.64.8...v1.64.9) (2024-07-03)


Expand Down
2 changes: 1 addition & 1 deletion content/modals/AU/short_term.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"qualifying": "{qualifying_offer}",
"amount": "{transaction_amount}",
"apr": "{apr}",
"useV4Design": "false",
"useV5Design": "false",
"variables": {
"transaction_amount": "${eval(transaction_amount ? transaction_amount : '-')}",
"qualifying_offer": "${eval(CREDIT_OFFERS_DS.qualifying_offer ? CREDIT_OFFERS_DS.qualifying_offer : 'false')}",
Expand Down
6 changes: 3 additions & 3 deletions content/modals/DE/long_term.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"meta": {
"product": "PAY_LATER_LONG_TERM",
"offerCountry": "DE",
"useV4Design": "false",
"useV5Design": "false",
"variables": {
"transaction_amount": "${eval(transaction_amount ? transaction_amount : '-')}",
"qualifying_offer": "${eval(CREDIT_OFFERS_DS.qualifying_offer ? CREDIT_OFFERS_DS.qualifying_offer : 'false')}",
Expand Down Expand Up @@ -35,8 +35,8 @@
"Das war’s! Falls Sie möchten, können Sie auch früher bezahlen. Ohne Zusatzkosten."
],
"disclosure": {
"nonZeroAPR": "Vorbehaltlich Kreditwürdigkeitsprüfung. Laufzeiten von 3, 6, 12 oder 24 Monaten. Ab {formattedMinAmount} und bis zu {formattedMaxAmount} Bestellwert. Für die Laufzeiten 3, 6 und 12 Monate gilt ein effektiver Jahreszins von 12,99%, p.a. zu einem festen Sollzinssatz von 12,19% p.a. bei 3 Monaten, von 12,21% p.a. bei 6 Monaten, von 12,22% p.a. bei 12 Monaten. Für die Laufzeit von 24 Monaten gilt ein effektiver Jahreszins von 11,99% p.a. zu einem festen Sollzinssatz von 11,33% p.a. Repräsentatives Beispiel gem. § 17 (4) PAngV: Nettodarlehensbetrag 1.000 €, Gesamtbetrag 1.067,79 €, 12 monatliche Raten à 88,98 €, fester Sollzinssatz 12,22% p.a., eff. Jahreszins 12,99% p.a. Der Kreditgeber ist PayPal (Europe) S.à r.l. et Cie, S.C.A., 22-24 Boulevard Royal, L-2449 Luxembourg.",
"zeroAPR": "Vorbehaltlich Kreditwürdigkeitsprüfung und nur für Transaktionen in Euro. Ab einem Bestellwert von {formattedMinAmount} bis {formattedMaxAmount} mit einem eff. Jahreszins von {formattedAPR}% p.a. und einem festen Sollzinssatz von {formattedNominalRatePrecision2}% p.a. für Darlehensverträge, die im Angebotszeitraum abgeschlossen werden. Laufzeit 3, 6, 12 oder 24 Monate. Der Kreditgeber ist PayPal (Europe) S.à r.l. et Cie, S.C.A., 22-24 Boulevard Royal, L-2449 Luxembourg. Als Verbraucher steht Ihnen gemäß § 514 BGB bei unentgeltlichen Darlehensverträgen ab einem Finanzierungsbetrag von 200 ein Widerrufsrecht zu. Anspruchsberechtigte Kunden müssen PayPal ein SEPA Lastschriftmandat erteilen sowie über ein deutsches PayPal Privat-Konto mit bestätigtem Bankkonto als Zahlungsquelle verfügen. Abhängig von der Verfügbarkeit. Laufzeiten können in bestimmten Anwendungsfällen abweichen."
"nonZeroAPR": "* Vorbehaltlich Kreditwürdigkeitsprüfung. Laufzeiten von 3, 6, 12 oder 24 Monaten. Ab {formattedMinAmount} und bis zu {formattedMaxAmount} Bestellwert. Für die Laufzeiten 3, 6 und 12 Monate gilt ein effektiver Jahreszins von 12,99%, p.a. zu einem festen Sollzinssatz von 12,19% p.a. bei 3 Monaten, von 12,21% p.a. bei 6 Monaten, von 12,22% p.a. bei 12 Monaten. Für die Laufzeit von 24 Monaten gilt ein effektiver Jahreszins von 11,99% p.a. zu einem festen Sollzinssatz von 11,33% p.a. Repräsentatives Beispiel gem. § 17 (4) PAngV: Nettodarlehensbetrag 1.000 €, Gesamtbetrag 1.067,79 €, 12 monatliche Raten à 88,98 €, fester Sollzinssatz 12,22% p.a., eff. Jahreszins 12,99% p.a. Der Kreditgeber ist PayPal (Europe) S.à r.l. et Cie, S.C.A., 22-24 Boulevard Royal, L-2449 Luxembourg. Nutzungsvoraussetzung ist ein deutsches PayPal-Privatkonto mit einer verknüpften Debitkarte oder einem Bankkonto mit gültigem SEPA-Lastschriftmandat als Zahlungsquelle.",
"zeroAPR": "* Vorbehaltlich Kreditwürdigkeitsprüfung. Laufzeiten von 3, 6, 12 oder 24 Monaten. Ab {formattedMinAmount} und bis zu {formattedMaxAmount} Bestellwert, mit einem effektiven Jahreszins von {formattedAPR}% p.a. und einem festen Sollzinssatz von {formattedNominalRatePrecision2}% p.a. Gilt für Darlehensverträge, die im Aktionszeitraum abgeschlossen werden. Der Kreditgeber ist PayPal (Europe) S.à r.l. et Cie, S.C.A., 22-24 Boulevard Royal, L-2449 Luxembourg. Als Verbraucher steht Ihnen gemäß § 514 BGB bei unentgeltlichen Darlehensverträgen ab einem Finanzierungsbetrag von 200 Euro ein Widerrufsrecht zu. Nutzungsvoraussetzung ist ein deutsches PayPal-Privatkonto mit einer verknüpften Debitkarte oder einem Bankkonto mit gültigem SEPA-Lastschriftmandat als Zahlungsquelle. Die Verfügbarkeit der Laufzeiten kann in bestimmten Anwendungsfällen abweichen."
},
"navLinkPrefix": "Für andere Später Bezahlen Optionen wählen Sie",
"linkToProductList": "Bezahlung nach 30 Tagen."
Expand Down
6 changes: 3 additions & 3 deletions content/modals/DE/long_term_en.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"product": "PAY_LATER_LONG_TERM",
"offerCountry": "DE",
"language": "en-DE",
"useV4Design": "false",
"useV5Design": "false",
"variables": {
"transaction_amount": "${eval(transaction_amount ? transaction_amount : '-')}",
"qualifying_offer": "${eval(CREDIT_OFFERS_DS.qualifying_offer ? CREDIT_OFFERS_DS.qualifying_offer : 'false')}",
Expand Down Expand Up @@ -36,8 +36,8 @@
"That’s it! Pay early if you like, with no extra cost."
],
"disclosure": {
"nonZeroAPR": "Subject to credit approval. Terms of 3, 6, 12, or 24 months. Starting from {formattedMinAmount} up to {formattedMaxAmount} order value. For terms of 3, 6, and 12 months, an annual percentage rate (APR) of 12.99% applies, with a fixed nominal interest rate of 12.19% p.a. for 3 months, 12.21% p.a. for 6 months, and 12.22% p.a. for 12 months. For the 24-month term, an APR of 11.99% applies, with a fixed nominal interest rate of 11.33% p.a. Representative example according to § 17 (4) PAngV: Net loan amount €1,000, total amount €1,067.79, 12 monthly installments of €88.98 each, fixed nominal interest rate 12.22% p.a., effective APR 12.99% p.a. The lender is PayPal (Europe) S.à r.l. et Cie, S.C.A., 22-24 Boulevard Royal, L-2449 Luxembourg.",
"zeroAPR": "Subject to credit approval and only for transactions in Euro. From an order value of {formattedMinAmount} up to {formattedMaxAmount} with an effective annual percentage rate (APR) of {formattedAPR}% p.a. and a fixed nominal interest rate of {formattedNominalRatePrecision2}% p.a. for loan agreements concluded during the promotional period. Terms of 3, 6, 12, or 24 months. The lender is PayPal (Europe) S.à r.l. et Cie, S.C.A., 22-24 Boulevard Royal, L-2449 Luxembourg. As a consumer, you have a right of withdrawal according to § 514 BGB for gratuitous loan agreements from a financing amount of €200. Eligible customers must grant PayPal a SEPA direct debit mandate and have a German PayPal personal account with a confirmed bank account as a payment source. Subject to availability. Terms may vary in certain use cases."
"nonZeroAPR": "* Subject to credit check. Terms of 3, 6, 12, or 24 months. Starting from {formattedMinAmount} up to {formattedMaxAmount} order value. For terms of 3, 6, and 12 months, an annual percentage rate (APR) of 12.99% applies, with a fixed nominal interest rate of 12.19% p.a. for 3 months, 12.21% p.a. for 6 months, and 12.22% p.a. for 12 months. For the 24-month term, an APR of 11.99% applies, with a fixed nominal interest rate of 11.33% p.a. Representative example according to § 17 (4) PAngV: Net loan amount €1,000, total amount €1,067.79, 12 monthly installments of €88.98 each, fixed nominal interest rate 12.22% p.a., effective APR 12.99% p.a. The lender is PayPal (Europe) S.à r.l. et Cie, S.C.A., 22-24 Boulevard Royal, L-2449 Luxembourg. Eligible customers must have a German private PayPal account with a linked debit card or bank account with valid SEPA mandate as a funding instrument.",
"zeroAPR": "* Subject to credit check. Terms of 3, 6, 12, or 24 months. Starting from {formattedMinAmount} up to {formattedMaxAmount} order value with an effective annual percentage rate (APR) of {formattedAPR}% p.a. and a fixed nominal interest rate of {formattedNominalRatePrecision2}% p.a. for loan agreements concluded during the promotional period. The lender is PayPal (Europe) S.à r.l. et Cie, S.C.A., 22-24 Boulevard Royal, L-2449 Luxembourg. As a consumer, you have a right of withdrawal according to § 514 BGB for gratuitous loan agreements from a financing amount of €200. Eligible customers must have a German private PayPal account with a linked debit card or bank account with valid SEPA mandate as a funding instrument. Available terms may vary in certain use cases."
},
"navLinkPrefix": "For other Pay later options,",
"linkToProductList": "select Pay after 30 days."
Expand Down
4 changes: 2 additions & 2 deletions content/modals/DE/pay_in_1.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"meta": {
"offerCountry": "DE",
"useV4Design": "false",
"useV5Design": "false",
"periodicPayment": "{formattedPeriodicPayment}",
"product": "PAY_LATER_PAY_IN_1",
"minAmount": "{minAmount}",
Expand Down Expand Up @@ -30,7 +30,7 @@
"Sie benötigen mehr als 30 Tage? Gegen eine Gebühr kann die Zahlung aufgeschoben werden."
],
"disclosure": [
"Erhältlich für Einkäufe i.Hv. {formattedMinAmount} - {formattedMaxAmount}. Vorbehaltlich Kreditwürdigkeitsprüfung. Anspruchsberechtigte Kunden müssen PayPal ein SEPA-Lastschriftmandat erteilen sowie über ein deutsches PayPal-Privatkonto mit einem Bankkonto als Zahlungsquelle verfügen."
"* Vorbehaltlich Kreditwürdigkeitsprüfung. Erhältlich für Einkäufe i.Hv. {formattedMinAmount} - {formattedMaxAmount}. Nutzungsvoraussetzung ist ein deutsches PayPal-Privatkonto mit einer verknüpften Debitkarte oder einem Bankkonto mit gültigem SEPA-Lastschriftmandat als Zahlungsquelle."
],
"navLinkPrefix": "Um Ihren Einkauf in monatlichen Raten zu zahlen,",
"linkToProductList": "wählen Sie die PayPal Ratenzahlung."
Expand Down
4 changes: 2 additions & 2 deletions content/modals/DE/pay_in_1_en.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"meta": {
"offerCountry": "DE",
"language": "en-DE",
"useV4Design": "false",
"useV5Design": "false",
"periodicPayment": "{formattedPeriodicPayment}",
"product": "PAY_LATER_PAY_IN_1",
"minAmount": "{minAmount}",
Expand Down Expand Up @@ -31,7 +31,7 @@
"Need more than 30 days? Postpone once for a fee."
],
"disclosure": [
"Available for purchases of {formattedMinAmount} - {formattedMaxAmount}. Subject to a credit check. Eligible customers must grant PayPal a SEPA direct debit mandate and have a German PayPal private account with a bank account as a funding instrument."
"* Subject to Credit Check. Available for purchases between {formattedMinAmount} - {formattedMaxAmount}. Eligible customers must have a German private PayPal account with a linked debit card or bank account with valid SEPA mandate as a funding instrument."
],
"navLinkPrefix": "For monthly Pay Later Options,",
"linkToProductList": "see PayPal Ratenzahlung."
Expand Down
Loading

0 comments on commit 1277e45

Please sign in to comment.