Skip to content

Commit

Permalink
Merge pull request #15 from Adyen/feature/AD-288
Browse files Browse the repository at this point in the history
AD-288 Implement Translation Support in Adyen Library for Spartacus S…
  • Loading branch information
pjaneta authored Aug 20, 2024
2 parents 31bbeb2 + 3120efe commit 4a4996b
Show file tree
Hide file tree
Showing 4 changed files with 31 additions and 32 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
export const adyenCheckout = {
"adyenCheckout": {
"selectBillingAddress": "Select your billing address",
"selectAddress": "Select address",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
// @ts-ignore
import adyenCheckout from './adyen-checkout.json';
// @ts-ignore
import paymentErrors from './payment-errors.json';
import {adyenCheckout} from "./adyen-checkout";
import {paymentErrors} from "./payment-errors";


export const en = {
adyenCheckout,
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
export const paymentErrors = {
"checkout": {
"error": {
"authorization": {
"payment": {
"refused": "The payment is REFUSED.",
"detail": {
"not": {
"found": "The payment is REFUSED because the saved card is removed. Please try an other payment method."
}
}
},
"restricted": {
"card": "The card is restricted."
},
"cvc": {
"declined": "The payment is REFUSED. Please check your Card details."
},
"transaction": {
"not": {
"permitted": "The transaction is not permitted."
}
}
}
}
}
}

0 comments on commit 4a4996b

Please sign in to comment.