@adyen/adyen-web 4.7.5 → 5.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/adyen.css +5 -1
- package/dist/adyen.css.map +1 -1
- package/dist/adyen.js +1 -1
- package/dist/adyen.js.map +1 -1
- package/dist/cjs/adyen.css +5 -1
- package/dist/cjs/adyen.css.map +1 -1
- package/dist/cjs/index.js +1 -1
- package/dist/es/adyen.css +5 -1
- package/dist/es/adyen.css.map +1 -1
- package/dist/es/ar.js +1 -1
- package/dist/es/cs-CZ.js +1 -1
- package/dist/es/da-DK.js +1 -1
- package/dist/es/de-DE.js +1 -1
- package/dist/es/el-GR.js +1 -1
- package/dist/es/es-ES.js +1 -1
- package/dist/es/fi-FI.js +1 -1
- package/dist/es/fr-FR.js +1 -1
- package/dist/es/hr-HR.js +1 -1
- package/dist/es/hu-HU.js +1 -1
- package/dist/es/index.js +1 -1
- package/dist/es/it-IT.js +1 -1
- package/dist/es/ja-JP.js +1 -1
- package/dist/es/ko-KR.js +1 -1
- package/dist/es/nl-NL.js +1 -1
- package/dist/es/no-NO.js +1 -1
- package/dist/es/pl-PL.js +1 -1
- package/dist/es/pt-BR.js +1 -1
- package/dist/es/ro-RO.js +1 -1
- package/dist/es/ru-RU.js +1 -1
- package/dist/es/sk-SK.js +1 -1
- package/dist/es/sl-SI.js +1 -1
- package/dist/es/sv-SE.js +1 -1
- package/dist/es/zh-CN.js +1 -1
- package/dist/es/zh-TW.js +1 -1
- package/dist/types/components/AmazonPay/types.d.ts +4 -0
- package/dist/types/components/ApplePay/ApplePay.d.ts +1 -4
- package/dist/types/components/ApplePay/defaultProps.d.ts +0 -2
- package/dist/types/components/ApplePay/types.d.ts +1 -4
- package/dist/types/components/BacsDD/components/types.d.ts +1 -1
- package/dist/types/components/BankTransfer/types.d.ts +1 -1
- package/dist/types/components/BaseElement.d.ts +2 -13
- package/dist/types/components/BcmcMobile/BcmcMobile.d.ts +8 -1
- package/dist/types/components/Blik/components/BlikInput.d.ts +1 -1
- package/dist/types/components/Card/Bancontact.d.ts +8 -1
- package/dist/types/components/Card/Card.d.ts +9 -1
- package/dist/types/components/Card/components/CardInput/components/DataSfSpan.d.ts +7 -0
- package/dist/types/components/Card/components/CardInput/components/types.d.ts +8 -0
- package/dist/types/components/Card/components/CardInput/validate.d.ts +1 -1
- package/dist/types/components/Card/types.d.ts +2 -1
- package/dist/types/components/Dragonpay/Dragonpay.d.ts +9 -4
- package/dist/types/components/Dragonpay/types.d.ts +1 -1
- package/dist/types/components/Dropin/Dropin.d.ts +0 -3
- package/dist/types/components/Dropin/components/PaymentMethod/PaymentMethodIcon.d.ts +3 -3
- package/dist/types/components/Dropin/components/PaymentMethod/PaymentMethodItem.d.ts +1 -0
- package/dist/types/components/Dropin/components/utils.d.ts +2 -0
- package/dist/types/components/Dropin/defaultProps.d.ts +0 -2
- package/dist/types/components/Dropin/types.d.ts +2 -1
- package/dist/types/components/Giftcard/Giftcard.d.ts +3 -2
- package/dist/types/components/GooglePay/GooglePay.d.ts +0 -4
- package/dist/types/components/GooglePay/defaultProps.d.ts +0 -2
- package/dist/types/components/GooglePay/requests.d.ts +2 -2
- package/dist/types/components/GooglePay/types.d.ts +11 -1
- package/dist/types/components/Klarna/components/KlarnaWidget/KlarnaWidget.d.ts +1 -0
- package/dist/types/components/Klarna/constants.d.ts +0 -5
- package/dist/types/components/Klarna/types.d.ts +9 -3
- package/dist/types/components/MBWay/components/MBWayInput/types.d.ts +1 -1
- package/dist/types/components/PayPal/Paypal.d.ts +1 -2
- package/dist/types/components/PayPal/types.d.ts +2 -1
- package/dist/types/components/Pix/Pix.d.ts +32 -2
- package/dist/types/components/Pix/PixInput/PixInput.d.ts +9 -0
- package/dist/types/components/Pix/PixInput/index.d.ts +1 -0
- package/dist/types/components/Pix/PixInput/utils.d.ts +3 -0
- package/dist/types/components/Pix/PixInput/validate.d.ts +2 -0
- package/dist/types/components/Pix/types.d.ts +19 -0
- package/dist/types/components/Redirect/components/RedirectShopper/RedirectShopper.d.ts +2 -3
- package/dist/types/components/Swish/Swish.d.ts +8 -1
- package/dist/types/components/Twint/Twint.d.ts +23 -0
- package/dist/types/components/Twint/index.d.ts +1 -0
- package/dist/types/components/UIElement.d.ts +34 -26
- package/dist/types/components/WeChat/WeChat.d.ts +8 -1
- package/dist/types/components/helpers/IssuerListContainer.d.ts +8 -8
- package/dist/types/components/helpers/QRLoaderContainer.d.ts +5 -3
- package/dist/types/components/index.d.ts +2 -0
- package/dist/types/components/internal/Await/types.d.ts +1 -1
- package/dist/types/components/internal/FormFields/Field/Field.d.ts +3 -1
- package/dist/types/components/internal/FormFields/Field/types.d.ts +1 -0
- package/dist/types/components/internal/FormFields/RadioGroup/types.d.ts +1 -0
- package/dist/types/components/internal/FormFields/Select/Select.d.ts +1 -1
- package/dist/types/components/internal/FormFields/Select/types.d.ts +3 -0
- package/dist/types/components/internal/IssuerList/ContentSeparator/ContentSeparator.d.ts +4 -0
- package/dist/types/components/internal/IssuerList/ContentSeparator/index.d.ts +1 -0
- package/dist/types/components/internal/IssuerList/IssuerButtonGroup/IssuerButton.d.ts +11 -0
- package/dist/types/components/internal/IssuerList/IssuerButtonGroup/IssuerButtonGroup.d.ts +10 -0
- package/dist/types/components/internal/IssuerList/IssuerButtonGroup/index.d.ts +1 -0
- package/dist/types/components/internal/IssuerList/IssuerList.d.ts +2 -7
- package/dist/types/components/internal/IssuerList/types.d.ts +16 -0
- package/dist/types/components/internal/PayButton/PayButton.d.ts +4 -1
- package/dist/types/components/internal/PayButton/index.d.ts +1 -1
- package/dist/types/components/internal/QRLoader/QRLoader.d.ts +6 -6
- package/dist/types/components/internal/QRLoader/types.d.ts +0 -1
- package/dist/types/components/internal/SecuredFields/lib/configuration/constants.d.ts +4 -1
- package/dist/types/components/internal/SecuredFields/lib/core/AbstractSecuredField.d.ts +2 -0
- package/dist/types/components/internal/SecuredFields/lib/types.d.ts +1 -0
- package/dist/types/components/internal/SocialSecurityNumberBrazil/BrazilPersonalDetail.d.ts +2 -0
- package/dist/types/components/{Boleto/components → internal}/SocialSecurityNumberBrazil/SocialSecurityNumberBrazil.d.ts +0 -0
- package/dist/types/components/{Boleto/components → internal}/SocialSecurityNumberBrazil/constants.d.ts +0 -0
- package/dist/types/components/{Boleto/components → internal}/SocialSecurityNumberBrazil/utils.d.ts +0 -0
- package/dist/types/components/{Boleto/components → internal}/SocialSecurityNumberBrazil/validate.d.ts +0 -0
- package/dist/types/components/types.d.ts +48 -0
- package/dist/types/components/utils.d.ts +3 -0
- package/dist/types/core/Analytics/Analytics.d.ts +1 -1
- package/dist/types/core/Analytics/EventsQueue.d.ts +2 -2
- package/dist/types/core/Analytics/types.d.ts +2 -2
- package/dist/types/core/CheckoutSession/CheckoutSession.d.ts +47 -0
- package/dist/types/core/CheckoutSession/index.d.ts +1 -0
- package/dist/types/core/CheckoutSession/utils.d.ts +2 -0
- package/dist/types/core/Errors/AdyenCheckoutError.d.ts +14 -0
- package/dist/types/core/Errors/constants.d.ts +1 -0
- package/dist/types/core/RiskModule/RiskModule.d.ts +2 -1
- package/dist/types/core/Services/{collect-id.d.ts → analytics/collect-id.d.ts} +0 -0
- package/dist/types/core/Services/{log-event.d.ts → analytics/log-event.d.ts} +0 -0
- package/dist/types/core/Services/{post-telemetry.d.ts → analytics/post-telemetry.d.ts} +0 -0
- package/dist/types/core/Services/sessions/check-balance.d.ts +6 -0
- package/dist/types/core/Services/sessions/constants.d.ts +1 -0
- package/dist/types/core/Services/sessions/create-order.d.ts +6 -0
- package/dist/types/core/Services/sessions/make-payment.d.ts +6 -0
- package/dist/types/core/Services/sessions/setup-session.d.ts +6 -0
- package/dist/types/core/Services/sessions/submit-details.d.ts +6 -0
- package/dist/types/core/core.d.ts +14 -1
- package/dist/types/core/types.d.ts +1 -0
- package/dist/types/index.d.ts +2 -1
- package/dist/types/language/config.d.ts +4 -0
- package/dist/types/language/locales/index.d.ts +202 -28
- package/dist/types/types/index.d.ts +38 -0
- package/dist/types/utils/Storage.d.ts +10 -0
- package/dist/types/utils/idGenerator.d.ts +1 -0
- package/package.json +7 -7
package/dist/es/zh-TW.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export default{payButton:"\u652f\u4ed8","payButton.redirecting":"\u91cd\u65b0\u5c0e\u5411\u4e2d......",storeDetails:"\u5132\u5b58\u4ee5\u4f9b\u4e0b\u6b21\u4ed8\u6b3e\u4f7f\u7528","creditCard.holderName":"\u4fe1\u7528\u5361\u4e0a\u7684\u59d3\u540d","creditCard.holderName.placeholder":"J. Smith","creditCard.holderName.invalid":"\u6301\u5361\u4eba\u59d3\u540d\u7121\u6548","creditCard.numberField.title":"\u4fe1\u7528\u5361\u865f\u78bc","creditCard.numberField.placeholder":"1234 5678 9012 3456","creditCard.expiryDateField.title":"\u5230\u671f\u65e5\u671f","creditCard.expiryDateField.placeholder":"MM/YY","creditCard.expiryDateField.month":"\u6708\u4efd","creditCard.expiryDateField.month.placeholder":"MM","creditCard.expiryDateField.year.placeholder":"YY","creditCard.expiryDateField.year":"\u5e74\u4efd","creditCard.cvcField.title":"\u4fe1\u7528\u5361\u9a57\u8b49\u78bc / \u4fe1\u7528\u5361\u5b89\u5168\u78bc","creditCard.cvcField.placeholder":"123","creditCard.storeDetailsButton":"\u8a18\u4f4f\u4f9b\u4e0b\u6b21\u4f7f\u7528","creditCard.cvcField.placeholder.4digits":"4 \u4f4d\u6578","creditCard.cvcField.placeholder.3digits":"3 \u4f4d\u6578","creditCard.taxNumber.placeholder":"\u5e74\u6708\u65e5\uff0f0123456789",installments:"\u5206\u671f\u4ed8\u6b3e\u7684\u671f\u6578",installmentOption:"%{times}x %{partialValue}",installmentOptionMonths:"\uff05{times} \u500b\u6708","installments.oneTime":"\u4e00\u6b21\u6027\u4ed8\u6b3e","installments.installments":"\u5206\u671f\u4ed8\u6b3e","installments.revolving":"\u5ef6\u671f\u4ed8\u6b3e","sepaDirectDebit.ibanField.invalid":"\u5e33\u6236\u865f\u78bc\u7121\u6548","sepaDirectDebit.nameField.placeholder":"J. Smith","sepa.ownerName":"\u6301\u6709\u4eba\u540d\u7a31","sepa.ibanNumber":"\u5e33\u6236\u865f\u78bc (IBAN)","error.title":"\u932f\u8aa4","error.subtitle.redirect":"\u7121\u6cd5\u91cd\u65b0\u5c0e\u5411","error.subtitle.payment":"\u4ed8\u6b3e\u5931\u6557","error.subtitle.refused":"\u4ed8\u6b3e\u906d\u62d2\u7d55","error.message.unknown":"\u767c\u751f\u672a\u77e5\u932f\u8aa4","idealIssuer.selectField.title":"\u9280\u884c","idealIssuer.selectField.placeholder":"\u9078\u53d6\u60a8\u7684\u9280\u884c","creditCard.success":"\u4ed8\u6b3e\u6210\u529f",loading:"\u6b63\u5728\u8f09\u5165...",continue:"\u7e7c\u7e8c",continueTo:"\u7e7c\u7e8c\u524d\u5f80","wechatpay.timetopay":"\u60a8\u6709 %@ \u53ef\u4ee5\u652f\u4ed8","wechatpay.scanqrcode":"\u6383\u63cf QR \u4ee3\u78bc",personalDetails:"\u500b\u4eba\u8a73\u7d30\u8cc7\u6599",companyDetails:"\u516c\u53f8\u8a73\u60c5","companyDetails.name":"\u516c\u53f8\u540d\u7a31","companyDetails.registrationNumber":"\u8a3b\u518a\u865f\u78bc",socialSecurityNumber:"\u793e\u6703\u5b89\u5168\u78bc",firstName:"\u540d\u5b57",infix:"\u524d\u7db4",lastName:"\u59d3\u6c0f",mobileNumber:"\u884c\u52d5\u96fb\u8a71\u865f\u78bc","mobileNumber.invalid":"\u624b\u6a5f\u865f\u78bc\u7121\u6548",city:"\u57ce\u5e02",postalCode:"\u90f5\u905e\u5340\u865f",countryCode:"\u570b\u5bb6\u4ee3\u78bc",telephoneNumber:"\u96fb\u8a71\u865f\u78bc",dateOfBirth:"\u51fa\u751f\u65e5\u671f",shopperEmail:"\u96fb\u5b50\u90f5\u4ef6\u5730\u5740",gender:"\u6027\u5225",male:"\u7537",female:"\u5973",billingAddress:"\u5e33\u55ae\u5730\u5740",street:"\u8857\u9053",stateOrProvince:"\u5dde/\u7e23/\u5e02",country:"\u570b\u5bb6/\u5730\u5340",houseNumberOrName:"\u9580\u724c\u865f",separateDeliveryAddress:"\u6307\u5b9a\u53e6\u4e00\u500b\u6d3e\u9001\u5730\u5740",deliveryAddress:"\u6d3e\u9001\u5730\u5740",zipCode:"\u90f5\u905e\u5340\u865f",apartmentSuite:"\u516c\u5bd3\uff0f\u5957\u623f",provinceOrTerritory:"\u7701\u6216\u5730\u5340",cityTown:"\u5e02\uff0f\u93ae",address:"\u5730\u5740",state:"\u5dde","field.title.optional":"\uff08\u9078\u7528\uff09","creditCard.cvcField.title.optional":"CVC / CVV (\u53ef\u9078)","issuerList.wallet.placeholder":"\u9078\u53d6\u60a8\u7684\u96fb\u5b50\u9322\u5305",privacyPolicy:"\u96b1\u79c1\u6b0a\u653f\u7b56","afterPay.agreement":"\u6211\u540c\u610f AfterPay \u7684%@",paymentConditions:"\u4ed8\u6b3e\u7d30\u5247",openApp:"\u958b\u555f\u61c9\u7528\u7a0b\u5f0f","voucher.readInstructions":"\u95b1\u89bd\u8aaa\u660e","voucher.introduction":"\u591a\u8b1d\u60e0\u9867\uff0c\u8acb\u4f7f\u7528\u4ee5\u4e0b\u512a\u60e0\u5238\u5b8c\u6210\u4ed8\u6b3e\u3002","voucher.expirationDate":"\u5230\u671f\u65e5\u671f","voucher.alternativeReference":"\u5099\u9078\u53c3\u7167","dragonpay.voucher.non.bank.selectField.placeholder":"\u9078\u64c7\u60a8\u7684\u4f9b\u61c9\u5546","dragonpay.voucher.bank.selectField.placeholder":"\u9078\u53d6\u60a8\u7684\u9280\u884c","voucher.paymentReferenceLabel":"\u4ed8\u6b3e\u53c3\u7167\u865f\u78bc","voucher.surcharge":"\u5305\u542b %@ \u9644\u52a0\u8cbb","voucher.introduction.doku":"\u591a\u8b1d\u60e0\u9867\uff0c\u8acb\u4f7f\u7528\u4ee5\u4e0b\u8cc7\u8a0a\u5b8c\u6210\u4ed8\u6b3e\u3002","voucher.shopperName":"\u8cfc\u7269\u8005\u59d3\u540d","voucher.merchantName":"\u5546\u5bb6","voucher.introduction.econtext":"\u591a\u8b1d\u60e0\u9867\uff0c\u8acb\u4f7f\u7528\u4ee5\u4e0b\u8cc7\u8a0a\u5b8c\u6210\u4ed8\u6b3e\u3002","voucher.telephoneNumber":"\u96fb\u8a71\u865f\u78bc","voucher.shopperReference":"\u8cfc\u7269\u8005\u53c3\u8003","voucher.collectionInstitutionNumber":"\u6536\u6b3e\u6a5f\u69cb\u7de8\u865f","voucher.econtext.telephoneNumber.invalid":"\u96fb\u8a71\u865f\u78bc\u7684\u9577\u5ea6\u5fc5\u9808\u70ba 10 \u6216 11 \u4f4d\u6578","boletobancario.btnLabel":"\u7522\u751f Boleto","boleto.sendCopyToEmail":"\u5c07\u8907\u672c\u50b3\u9001\u81f3\u6211\u7684\u96fb\u5b50\u90f5\u4ef6","button.copy":"\u8907\u88fd","button.download":"\u4e0b\u8f09","creditCard.storedCard.description.ariaLabel":"\u5df2\u5132\u5b58\u4ee5 %@ \u7d50\u5c3e\u7684\u4fe1\u7528\u5361","voucher.entity":"\u5be6\u9ad4",donateButton:"\u6350\u8d08",notNowButton:"\u7a0d\u5f8c\u518d\u8aaa",thanksForYourSupport:"\u611f\u8b1d\u60a8\u7684\u652f\u6301\uff01",preauthorizeWith:"\u900f\u904e\u4ee5\u4e0b\u65b9\u5f0f\u9032\u884c\u9810\u5148\u6388\u6b0a\uff1a",confirmPreauthorization:"\u78ba\u8a8d\u9810\u5148\u6388\u6b0a",confirmPurchase:"\u78ba\u8a8d\u8cfc\u8cb7",applyGiftcard:"\u514c\u63db",giftcardBalance:"\u79ae\u54c1\u5361\u9918\u984d",deductedBalance:"\u6263\u9664\u9918\u984d","creditCard.pin.title":"\u6578\u5b57\u5bc6\u78bc","creditCard.encryptedPassword.label":"\u5361\u5bc6\u78bc\u7684\u524d 2 \u4f4d\u6578\u5b57","creditCard.encryptedPassword.placeholder":"12","creditCard.encryptedPassword.invalid":"\u5bc6\u78bc\u7121\u6548","creditCard.taxNumber.label":"\u6301\u5361\u4eba\u751f\u65e5\uff08\u5e74\u6708\u65e5\uff09\u6216\u516c\u53f8\u8a3b\u518a\u865f\u78bc\uff0810 \u4f4d\u6578\uff09","creditCard.taxNumber.labelAlt":"\u516c\u53f8\u8a3b\u518a\u865f\u78bc\uff0810 \u4f4d\u6578\uff09","creditCard.taxNumber.invalid":"\u6301\u5361\u4eba\u751f\u65e5\u6216\u516c\u53f8\u8a3b\u518a\u865f\u78bc\u7121\u6548","storedPaymentMethod.disable.button":"\u79fb\u9664","storedPaymentMethod.disable.confirmation":"\u79fb\u9664\u5df2\u5132\u5b58\u4ed8\u6b3e\u65b9\u5f0f","storedPaymentMethod.disable.confirmButton":"\u662f\uff0c\u8acb\u79fb\u9664","storedPaymentMethod.disable.cancelButton":"\u53d6\u6d88","ach.bankAccount":"\u9280\u884c\u5e33\u6236","ach.accountHolderNameField.title":"\u5e33\u6236\u6301\u6709\u4eba\u59d3\u540d","ach.accountHolderNameField.placeholder":"J. Smith","ach.accountHolderNameField.invalid":"\u5e33\u6236\u6301\u6709\u4eba\u59d3\u540d\u7121\u6548","ach.accountNumberField.title":"\u5e33\u6236\u865f\u78bc","ach.accountNumberField.invalid":"\u5e33\u6236\u865f\u78bc\u7121\u6548","ach.accountLocationField.title":"ABA \u532f\u6b3e\u8def\u5f91\u7de8\u865f","ach.accountLocationField.invalid":"ABA \u532f\u6b3e\u8def\u5f91\u7de8\u865f\u7121\u6548","select.state":"\u9078\u53d6\u5dde","select.stateOrProvince":"\u9078\u64c7\u5dde\u6216\u7701","select.provinceOrTerritory":"\u9078\u53d6\u7701\u6216\u5730\u5340","select.country":"\u9078\u64c7\u570b\u5bb6\uff0f\u5730\u5340","select.noOptionsFound":"\u627e\u4e0d\u5230\u4efb\u4f55\u9078\u9805","select.filter.placeholder":"\u641c\u5c0b\u2026\u2026","telephoneNumber.invalid":"\u96fb\u8a71\u865f\u78bc\u7121\u6548",qrCodeOrApp:"\u6216","paypal.processingPayment":"\u6b63\u5728\u8655\u7406\u4ed8\u6b3e\u2026\u2026",generateQRCode:"\u7522\u751f QR \u4ee3\u78bc","await.waitForConfirmation":"\u6b63\u5728\u7b49\u5019\u78ba\u8a8d","mbway.confirmPayment":"\u5728 MB WAY \u61c9\u7528\u7a0b\u5f0f\u4e0a\u78ba\u8a8d\u60a8\u7684\u4ed8\u6b3e","shopperEmail.invalid":"\u96fb\u5b50\u90f5\u4ef6\u5730\u5740\u7121\u6548","dateOfBirth.format":"\u65e5\uff0f\u6708\uff0f\u5e74","dateOfBirth.invalid":"\u60a8\u5fc5\u9808\u5e74\u6eff 18 \u6b72","blik.confirmPayment":"\u958b\u555f\u60a8\u7684\u9280\u884c\u61c9\u7528\u7a0b\u5f0f\u4ee5\u78ba\u8a8d\u4ed8\u6b3e\u3002","blik.invalid":"\u8f38\u5165 6 \u500b\u6578\u5b57","blik.code":"6 \u4f4d\u6578\u4ee3\u78bc","blik.help":"\u5f9e\u60a8\u7684\u9280\u884c\u61c9\u7528\u7a0b\u5f0f\u4e2d\u7372\u53d6\u4ee3\u78bc\u3002","swish.pendingMessage":"\u6383\u63cf\u5f8c\uff0c\u8a72\u5f85\u5b8c\u6210\u72c0\u614b\u53ef\u80fd\u6301\u7e8c\u9577\u9054 10 \u5206\u9418\u3002\u8a66\u5716\u5728\u9019\u6bb5\u6642\u9593\u5167\u518d\u6b21\u4ed8\u6b3e\u53ef\u80fd\u6703\u5c0e\u81f4\u591a\u91cd\u6536\u8cbb\u3002","error.va.gen.01":"\u4e0d\u5b8c\u6574\u6b04\u4f4d","error.va.gen.02":"\u6b04\u4f4d\u7121\u6548","error.va.sf-cc-num.01":"\u4fe1\u7528\u5361\u865f\u78bc\u7121\u6548","error.va.sf-cc-num.03":"\u8f38\u5165\u4e86\u4e0d\u652f\u63f4\u7684\u5361","error.va.sf-cc-dat.01":"\u5361\u592a\u820a","error.va.sf-cc-dat.02":"\u672a\u4f86\u65e5\u671f\u8ddd\u4eca\u592a\u4e45","error.va.sf-cc-dat.03":"\u60a8\u7684\u5361\u6703\u65bc\u4ed8\u6b3e\u65e5\u671f\u524d\u5230\u671f","error.giftcard.no-balance":"\u6b64\u79ae\u54c1\u5361\u7684\u9918\u984d\u70ba\u96f6","error.giftcard.card-error":"\u6211\u5011\u7684\u8a18\u9304\u4e2d\u4e26\u6c92\u6709\u9019\u500b\u865f\u78bc\u7684\u79ae\u54c1\u5361","error.giftcard.currency-error":"\u79ae\u54c1\u5361\u53ea\u80fd\u4ee5\u5176\u7c3d\u767c\u6642\u6240\u4f7f\u7528\u7684\u8ca8\u5e63\u9032\u884c\u7d50\u7b97","amazonpay.signout":"\u5f9e Amazon \u767b\u51fa","amazonpay.changePaymentDetails":"\u8b8a\u66f4\u4ed8\u6b3e\u660e\u7d30","partialPayment.warning":"\u9078\u53d6\u5176\u4ed6\u4ed8\u6b3e\u65b9\u5f0f\u4f86\u652f\u4ed8\u9918\u984d","partialPayment.remainingBalance":"\u9918\u984d\u5c07\u70ba %{amount}","bankTransfer.beneficiary":"\u53d7\u6b3e\u4eba","bankTransfer.iban":"IBAN","bankTransfer.bic":"BIC","bankTransfer.reference":"\u53c3\u7167","bankTransfer.introduction":"\u7e7c\u7e8c\u5efa\u7acb\u65b0\u7684\u9280\u884c\u8f49\u5e33\u4ed8\u6b3e\u3002\u60a8\u53ef\u4ee5\u4f7f\u7528\u4ee5\u4e0b\u87a2\u5e55\u4e2d\u7684\u8a73\u7d30\u8cc7\u8a0a\u4f86\u5b8c\u6210\u6b64\u9805\u4ed8\u6b3e\u3002","bankTransfer.instructions":"\u591a\u8b1d\u60e0\u9867\uff0c\u8acb\u4f7f\u7528\u4ee5\u4e0b\u8cc7\u8a0a\u5b8c\u6210\u4ed8\u6b3e\u3002","bacs.accountHolderName":"\u9280\u884c\u5e33\u6236\u6301\u6709\u4eba\u59d3\u540d","bacs.accountHolderName.invalid":"\u9280\u884c\u5e33\u6236\u6301\u6709\u4eba\u59d3\u540d\u7121\u6548","bacs.accountNumber":"\u9280\u884c\u5e33\u6236\u865f\u78bc","bacs.accountNumber.invalid":"\u9280\u884c\u5e33\u6236\u865f\u78bc\u7121\u6548","bacs.bankLocationId":"\u9280\u884c\u4ee3\u78bc","bacs.bankLocationId.invalid":"\u9280\u884c\u4ee3\u78bc\u7121\u6548","bacs.consent.amount":"\u6211\u540c\u610f\u5f9e\u6211\u7684\u9280\u884c\u5e33\u6236\u6263\u9664\u4e0a\u8ff0\u91d1\u984d\u3002","bacs.consent.account":"\u6211\u78ba\u8a8d\u8a72\u5e33\u6236\u4ee5\u6211\u7684\u540d\u7fa9\u958b\u8a2d\uff0c\u4e26\u4e14\u6211\u662f\u6388\u6b0a\u5f9e\u8a72\u5e33\u6236\u76f4\u63a5\u6263\u6b3e\u7684\u552f\u4e00\u7c3d\u7f72\u4eba\u3002",edit:"\u7de8\u8f2f","bacs.confirm":"\u78ba\u8a8d\u4e26\u652f\u4ed8","bacs.result.introduction":"\u4e0b\u8f09\u60a8\u7684\u76f4\u63a5\u6263\u6b3e\u6307\u793a\uff08DDI\uff0f\u6388\u6b0a\uff09","download.pdf":"\u4e0b\u8f09 PDF","creditCard.encryptedCardNumber.aria.iframeTitle":"\u5b89\u5168\u5361\u865f\u7684 IFrame","creditCard.encryptedCardNumber.aria.label":"\u5361\u865f\u6b04\u4f4d","creditCard.encryptedExpiryDate.aria.iframeTitle":"\u5b89\u5168\u5361\u5230\u671f\u65e5\u671f\u7684 IFrame","creditCard.encryptedExpiryDate.aria.label":"\u5230\u671f\u65e5\u671f\u6b04\u4f4d","creditCard.encryptedExpiryMonth.aria.iframeTitle":"\u5b89\u5168\u5361\u5230\u671f\u6708\u4efd\u7684 IFrame","creditCard.encryptedExpiryMonth.aria.label":"\u5230\u671f\u6708\u4efd\u6b04\u4f4d","creditCard.encryptedExpiryYear.aria.iframeTitle":"\u5b89\u5168\u5361\u5230\u671f\u5e74\u4efd\u7684 IFrame","creditCard.encryptedExpiryYear.aria.label":"\u5230\u671f\u5e74\u4efd\u6b04\u4f4d","creditCard.encryptedSecurityCode.aria.iframeTitle":"\u5b89\u5168\u5361\u5b89\u5168\u78bc\u7684 IFrame","creditCard.encryptedSecurityCode.aria.label":"\u5b89\u5168\u78bc\u6b04\u4f4d","giftcard.encryptedCardNumber.aria.iframeTitle":"\u5b89\u5168\u79ae\u54c1\u5361\u865f\u7684 IFrame","giftcard.encryptedCardNumber.aria.label":"\u79ae\u54c1\u5361\u865f\u6b04\u4f4d","giftcard.encryptedSecurityCode.aria.iframeTitle":"\u5b89\u5168\u79ae\u54c1\u5361\u5b89\u5168\u78bc\u7684 IFrame","giftcard.encryptedSecurityCode.aria.label":"\u79ae\u54c1\u5361\u5b89\u5168\u78bc\u6b04\u4f4d",giftcardTransactionLimit:"\u6b64\u79ae\u54c1\u5361\u6bcf\u7b46\u4ea4\u6613\u7684\u91d1\u984d\u4e0a\u9650\u70ba %{amount}","ach.encryptedBankAccountNumber.aria.iframeTitle":"\u5b89\u5168\u9280\u884c\u5e33\u6236\u865f\u78bc\u7684 IFrame","ach.encryptedBankAccountNumber.aria.label":"\u9280\u884c\u5e33\u6236\u6b04\u4f4d","ach.encryptedBankLocationId.aria.iframeTitle":"\u5b89\u5168\u9280\u884c\u532f\u6b3e\u8def\u5f91\u7de8\u865f\u7684 IFrame","ach.encryptedBankLocationId.aria.label":"\u9280\u884c\u532f\u6b3e\u8def\u5f91\u7de8\u865f\u6b04\u4f4d"};
|
|
1
|
+
export default{payButton:"\u652f\u4ed8","payButton.redirecting":"\u91cd\u65b0\u5c0e\u5411\u4e2d......",storeDetails:"\u5132\u5b58\u4ee5\u4f9b\u4e0b\u6b21\u4ed8\u6b3e\u4f7f\u7528","creditCard.holderName":"\u4fe1\u7528\u5361\u4e0a\u7684\u59d3\u540d","creditCard.holderName.placeholder":"J. Smith","creditCard.holderName.invalid":"\u6301\u5361\u4eba\u59d3\u540d\u7121\u6548","creditCard.numberField.title":"\u4fe1\u7528\u5361\u865f\u78bc","creditCard.numberField.placeholder":"1234 5678 9012 3456","creditCard.expiryDateField.title":"\u5230\u671f\u65e5\u671f","creditCard.expiryDateField.placeholder":"MM/YY","creditCard.expiryDateField.month":"\u6708\u4efd","creditCard.expiryDateField.month.placeholder":"MM","creditCard.expiryDateField.year.placeholder":"YY","creditCard.expiryDateField.year":"\u5e74\u4efd","creditCard.cvcField.title":"\u4fe1\u7528\u5361\u9a57\u8b49\u78bc / \u4fe1\u7528\u5361\u5b89\u5168\u78bc","creditCard.cvcField.placeholder":"123","creditCard.storeDetailsButton":"\u8a18\u4f4f\u4f9b\u4e0b\u6b21\u4f7f\u7528","creditCard.cvcField.placeholder.4digits":"4 \u4f4d\u6578","creditCard.cvcField.placeholder.3digits":"3 \u4f4d\u6578","creditCard.taxNumber.placeholder":"\u5e74\u6708\u65e5\uff0f0123456789",installments:"\u5206\u671f\u4ed8\u6b3e\u7684\u671f\u6578",installmentOption:"%{times}x %{partialValue}",installmentOptionMonths:"\uff05{times} \u500b\u6708","installments.oneTime":"\u4e00\u6b21\u6027\u4ed8\u6b3e","installments.installments":"\u5206\u671f\u4ed8\u6b3e","installments.revolving":"\u5ef6\u671f\u4ed8\u6b3e","sepaDirectDebit.ibanField.invalid":"\u5e33\u6236\u865f\u78bc\u7121\u6548","sepaDirectDebit.nameField.placeholder":"J. Smith","sepa.ownerName":"\u6301\u6709\u4eba\u540d\u7a31","sepa.ibanNumber":"\u5e33\u6236\u865f\u78bc (IBAN)","error.title":"\u932f\u8aa4","error.subtitle.redirect":"\u7121\u6cd5\u91cd\u65b0\u5c0e\u5411","error.subtitle.payment":"\u4ed8\u6b3e\u5931\u6557","error.subtitle.refused":"\u4ed8\u6b3e\u906d\u62d2\u7d55","error.message.unknown":"\u767c\u751f\u672a\u77e5\u932f\u8aa4","idealIssuer.selectField.title":"\u9280\u884c","idealIssuer.selectField.placeholder":"\u9078\u53d6\u60a8\u7684\u9280\u884c","creditCard.success":"\u4ed8\u6b3e\u6210\u529f",loading:"\u6b63\u5728\u8f09\u5165...",continue:"\u7e7c\u7e8c",continueTo:"\u7e7c\u7e8c\u524d\u5f80","wechatpay.timetopay":"\u60a8\u6709 %@ \u53ef\u4ee5\u652f\u4ed8","wechatpay.scanqrcode":"\u6383\u63cf QR \u4ee3\u78bc",personalDetails:"\u500b\u4eba\u8a73\u7d30\u8cc7\u6599",companyDetails:"\u516c\u53f8\u8a73\u60c5","companyDetails.name":"\u516c\u53f8\u540d\u7a31","companyDetails.registrationNumber":"\u8a3b\u518a\u865f\u78bc",socialSecurityNumber:"\u793e\u6703\u5b89\u5168\u78bc",firstName:"\u540d\u5b57",infix:"\u524d\u7db4",lastName:"\u59d3\u6c0f",mobileNumber:"\u884c\u52d5\u96fb\u8a71\u865f\u78bc","mobileNumber.invalid":"\u624b\u6a5f\u865f\u78bc\u7121\u6548",city:"\u57ce\u5e02",postalCode:"\u90f5\u905e\u5340\u865f",countryCode:"\u570b\u5bb6\u4ee3\u78bc",telephoneNumber:"\u96fb\u8a71\u865f\u78bc",dateOfBirth:"\u51fa\u751f\u65e5\u671f",shopperEmail:"\u96fb\u5b50\u90f5\u4ef6\u5730\u5740",gender:"\u6027\u5225",male:"\u7537",female:"\u5973",billingAddress:"\u5e33\u55ae\u5730\u5740",street:"\u8857\u9053",stateOrProvince:"\u5dde/\u7e23/\u5e02",country:"\u570b\u5bb6/\u5730\u5340",houseNumberOrName:"\u9580\u724c\u865f",separateDeliveryAddress:"\u6307\u5b9a\u53e6\u4e00\u500b\u6d3e\u9001\u5730\u5740",deliveryAddress:"\u6d3e\u9001\u5730\u5740",zipCode:"\u90f5\u905e\u5340\u865f",apartmentSuite:"\u516c\u5bd3\uff0f\u5957\u623f",provinceOrTerritory:"\u7701\u6216\u5730\u5340",cityTown:"\u5e02\uff0f\u93ae",address:"\u5730\u5740",state:"\u5dde","field.title.optional":"\uff08\u9078\u7528\uff09","creditCard.cvcField.title.optional":"CVC / CVV (\u53ef\u9078)","issuerList.wallet.placeholder":"\u9078\u53d6\u60a8\u7684\u96fb\u5b50\u9322\u5305",privacyPolicy:"\u96b1\u79c1\u6b0a\u653f\u7b56","afterPay.agreement":"\u6211\u540c\u610f AfterPay \u7684%@",paymentConditions:"\u4ed8\u6b3e\u7d30\u5247",openApp:"\u958b\u555f\u61c9\u7528\u7a0b\u5f0f","voucher.readInstructions":"\u95b1\u89bd\u8aaa\u660e","voucher.introduction":"\u591a\u8b1d\u60e0\u9867\uff0c\u8acb\u4f7f\u7528\u4ee5\u4e0b\u512a\u60e0\u5238\u5b8c\u6210\u4ed8\u6b3e\u3002","voucher.expirationDate":"\u5230\u671f\u65e5\u671f","voucher.alternativeReference":"\u5099\u9078\u53c3\u7167","dragonpay.voucher.non.bank.selectField.placeholder":"\u9078\u64c7\u60a8\u7684\u4f9b\u61c9\u5546","dragonpay.voucher.bank.selectField.placeholder":"\u9078\u53d6\u60a8\u7684\u9280\u884c","voucher.paymentReferenceLabel":"\u4ed8\u6b3e\u53c3\u7167\u865f\u78bc","voucher.surcharge":"\u5305\u542b %@ \u9644\u52a0\u8cbb","voucher.introduction.doku":"\u591a\u8b1d\u60e0\u9867\uff0c\u8acb\u4f7f\u7528\u4ee5\u4e0b\u8cc7\u8a0a\u5b8c\u6210\u4ed8\u6b3e\u3002","voucher.shopperName":"\u8cfc\u7269\u8005\u59d3\u540d","voucher.merchantName":"\u5546\u5bb6","voucher.introduction.econtext":"\u591a\u8b1d\u60e0\u9867\uff0c\u8acb\u4f7f\u7528\u4ee5\u4e0b\u8cc7\u8a0a\u5b8c\u6210\u4ed8\u6b3e\u3002","voucher.telephoneNumber":"\u96fb\u8a71\u865f\u78bc","voucher.shopperReference":"\u8cfc\u7269\u8005\u53c3\u8003","voucher.collectionInstitutionNumber":"\u6536\u6b3e\u6a5f\u69cb\u7de8\u865f","voucher.econtext.telephoneNumber.invalid":"\u96fb\u8a71\u865f\u78bc\u7684\u9577\u5ea6\u5fc5\u9808\u70ba 10 \u6216 11 \u4f4d\u6578","boletobancario.btnLabel":"\u7522\u751f Boleto","boleto.sendCopyToEmail":"\u5c07\u8907\u672c\u50b3\u9001\u81f3\u6211\u7684\u96fb\u5b50\u90f5\u4ef6","button.copy":"\u8907\u88fd","button.download":"\u4e0b\u8f09","creditCard.storedCard.description.ariaLabel":"\u5df2\u5132\u5b58\u4ee5 %@ \u7d50\u5c3e\u7684\u4fe1\u7528\u5361","voucher.entity":"\u5be6\u9ad4",donateButton:"\u6350\u8d08",notNowButton:"\u7a0d\u5f8c\u518d\u8aaa",thanksForYourSupport:"\u611f\u8b1d\u60a8\u7684\u652f\u6301\uff01",preauthorizeWith:"\u900f\u904e\u4ee5\u4e0b\u65b9\u5f0f\u9032\u884c\u9810\u5148\u6388\u6b0a\uff1a",confirmPreauthorization:"\u78ba\u8a8d\u9810\u5148\u6388\u6b0a",confirmPurchase:"\u78ba\u8a8d\u8cfc\u8cb7",applyGiftcard:"\u514c\u63db",giftcardBalance:"\u79ae\u54c1\u5361\u9918\u984d",deductedBalance:"\u6263\u9664\u9918\u984d","creditCard.pin.title":"\u6578\u5b57\u5bc6\u78bc","creditCard.encryptedPassword.label":"\u5361\u5bc6\u78bc\u7684\u524d 2 \u4f4d\u6578\u5b57","creditCard.encryptedPassword.placeholder":"12","creditCard.encryptedPassword.invalid":"\u5bc6\u78bc\u7121\u6548","creditCard.taxNumber.label":"\u6301\u5361\u4eba\u751f\u65e5\uff08\u5e74\u6708\u65e5\uff09\u6216\u516c\u53f8\u8a3b\u518a\u865f\u78bc\uff0810 \u4f4d\u6578\uff09","creditCard.taxNumber.labelAlt":"\u516c\u53f8\u8a3b\u518a\u865f\u78bc\uff0810 \u4f4d\u6578\uff09","creditCard.taxNumber.invalid":"\u6301\u5361\u4eba\u751f\u65e5\u6216\u516c\u53f8\u8a3b\u518a\u865f\u78bc\u7121\u6548","storedPaymentMethod.disable.button":"\u79fb\u9664","storedPaymentMethod.disable.confirmation":"\u79fb\u9664\u5df2\u5132\u5b58\u4ed8\u6b3e\u65b9\u5f0f","storedPaymentMethod.disable.confirmButton":"\u662f\uff0c\u8acb\u79fb\u9664","storedPaymentMethod.disable.cancelButton":"\u53d6\u6d88","ach.bankAccount":"\u9280\u884c\u5e33\u6236","ach.accountHolderNameField.title":"\u5e33\u6236\u6301\u6709\u4eba\u59d3\u540d","ach.accountHolderNameField.placeholder":"J. Smith","ach.accountHolderNameField.invalid":"\u5e33\u6236\u6301\u6709\u4eba\u59d3\u540d\u7121\u6548","ach.accountNumberField.title":"\u5e33\u6236\u865f\u78bc","ach.accountNumberField.invalid":"\u5e33\u6236\u865f\u78bc\u7121\u6548","ach.accountLocationField.title":"ABA \u532f\u6b3e\u8def\u5f91\u7de8\u865f","ach.accountLocationField.invalid":"ABA \u532f\u6b3e\u8def\u5f91\u7de8\u865f\u7121\u6548","select.state":"\u9078\u53d6\u5dde","select.stateOrProvince":"\u9078\u64c7\u5dde\u6216\u7701","select.provinceOrTerritory":"\u9078\u53d6\u7701\u6216\u5730\u5340","select.country":"\u9078\u64c7\u570b\u5bb6\uff0f\u5730\u5340","select.noOptionsFound":"\u627e\u4e0d\u5230\u4efb\u4f55\u9078\u9805","select.filter.placeholder":"\u641c\u5c0b\u2026\u2026","telephoneNumber.invalid":"\u96fb\u8a71\u865f\u78bc\u7121\u6548",qrCodeOrApp:"\u6216","paypal.processingPayment":"\u6b63\u5728\u8655\u7406\u4ed8\u6b3e\u2026\u2026",generateQRCode:"\u7522\u751f QR \u4ee3\u78bc","await.waitForConfirmation":"\u6b63\u5728\u7b49\u5019\u78ba\u8a8d","mbway.confirmPayment":"\u5728 MB WAY \u61c9\u7528\u7a0b\u5f0f\u4e0a\u78ba\u8a8d\u60a8\u7684\u4ed8\u6b3e","shopperEmail.invalid":"\u96fb\u5b50\u90f5\u4ef6\u5730\u5740\u7121\u6548","dateOfBirth.format":"\u65e5\uff0f\u6708\uff0f\u5e74","dateOfBirth.invalid":"\u60a8\u5fc5\u9808\u5e74\u6eff 18 \u6b72","blik.confirmPayment":"\u958b\u555f\u60a8\u7684\u9280\u884c\u61c9\u7528\u7a0b\u5f0f\u4ee5\u78ba\u8a8d\u4ed8\u6b3e\u3002","blik.invalid":"\u8f38\u5165 6 \u500b\u6578\u5b57","blik.code":"6 \u4f4d\u6578\u4ee3\u78bc","blik.help":"\u5f9e\u60a8\u7684\u9280\u884c\u61c9\u7528\u7a0b\u5f0f\u4e2d\u7372\u53d6\u4ee3\u78bc\u3002","swish.pendingMessage":"\u6383\u63cf\u5f8c\uff0c\u8a72\u5f85\u5b8c\u6210\u72c0\u614b\u53ef\u80fd\u6301\u7e8c\u9577\u9054 10 \u5206\u9418\u3002\u8a66\u5716\u5728\u9019\u6bb5\u6642\u9593\u5167\u518d\u6b21\u4ed8\u6b3e\u53ef\u80fd\u6703\u5c0e\u81f4\u591a\u91cd\u6536\u8cbb\u3002","error.va.gen.01":"\u4e0d\u5b8c\u6574\u6b04\u4f4d","error.va.gen.02":"\u6b04\u4f4d\u7121\u6548","error.va.sf-cc-num.01":"\u4fe1\u7528\u5361\u865f\u78bc\u7121\u6548","error.va.sf-cc-num.03":"\u8f38\u5165\u4e86\u4e0d\u652f\u63f4\u7684\u5361","error.va.sf-cc-dat.01":"\u5361\u592a\u820a","error.va.sf-cc-dat.02":"\u672a\u4f86\u65e5\u671f\u8ddd\u4eca\u592a\u4e45","error.va.sf-cc-dat.03":"\u60a8\u7684\u5361\u6703\u65bc\u4ed8\u6b3e\u65e5\u671f\u524d\u5230\u671f","error.va.sf-ach-num.01":"\u5e33\u6236\u865f\u78bc\u7121\u6548","error.va.sf-ach-loc.01":"ABA \u532f\u6b3e\u8def\u5f91\u7de8\u865f\u7121\u6548","error.va.sf-kcp-pwd.01":"\u5bc6\u78bc\u7121\u6548","error.giftcard.no-balance":"\u6b64\u79ae\u54c1\u5361\u7684\u9918\u984d\u70ba\u96f6","error.giftcard.card-error":"\u6211\u5011\u7684\u8a18\u9304\u4e2d\u4e26\u6c92\u6709\u9019\u500b\u865f\u78bc\u7684\u79ae\u54c1\u5361","error.giftcard.currency-error":"\u79ae\u54c1\u5361\u53ea\u80fd\u4ee5\u5176\u7c3d\u767c\u6642\u6240\u4f7f\u7528\u7684\u8ca8\u5e63\u9032\u884c\u7d50\u7b97","amazonpay.signout":"\u5f9e Amazon \u767b\u51fa","amazonpay.changePaymentDetails":"\u8b8a\u66f4\u4ed8\u6b3e\u660e\u7d30","partialPayment.warning":"\u9078\u53d6\u5176\u4ed6\u4ed8\u6b3e\u65b9\u5f0f\u4f86\u652f\u4ed8\u9918\u984d","partialPayment.remainingBalance":"\u9918\u984d\u5c07\u70ba %{amount}","bankTransfer.beneficiary":"\u53d7\u6b3e\u4eba","bankTransfer.iban":"IBAN","bankTransfer.bic":"BIC","bankTransfer.reference":"\u53c3\u7167","bankTransfer.introduction":"\u7e7c\u7e8c\u5efa\u7acb\u65b0\u7684\u9280\u884c\u8f49\u5e33\u4ed8\u6b3e\u3002\u60a8\u53ef\u4ee5\u4f7f\u7528\u4ee5\u4e0b\u87a2\u5e55\u4e2d\u7684\u8a73\u7d30\u8cc7\u8a0a\u4f86\u5b8c\u6210\u6b64\u9805\u4ed8\u6b3e\u3002","bankTransfer.instructions":"\u591a\u8b1d\u60e0\u9867\uff0c\u8acb\u4f7f\u7528\u4ee5\u4e0b\u8cc7\u8a0a\u5b8c\u6210\u4ed8\u6b3e\u3002","bacs.accountHolderName":"\u9280\u884c\u5e33\u6236\u6301\u6709\u4eba\u59d3\u540d","bacs.accountHolderName.invalid":"\u9280\u884c\u5e33\u6236\u6301\u6709\u4eba\u59d3\u540d\u7121\u6548","bacs.accountNumber":"\u9280\u884c\u5e33\u6236\u865f\u78bc","bacs.accountNumber.invalid":"\u9280\u884c\u5e33\u6236\u865f\u78bc\u7121\u6548","bacs.bankLocationId":"\u9280\u884c\u4ee3\u78bc","bacs.bankLocationId.invalid":"\u9280\u884c\u4ee3\u78bc\u7121\u6548","bacs.consent.amount":"\u6211\u540c\u610f\u5f9e\u6211\u7684\u9280\u884c\u5e33\u6236\u6263\u9664\u4e0a\u8ff0\u91d1\u984d\u3002","bacs.consent.account":"\u6211\u78ba\u8a8d\u8a72\u5e33\u6236\u4ee5\u6211\u7684\u540d\u7fa9\u958b\u8a2d\uff0c\u4e26\u4e14\u6211\u662f\u6388\u6b0a\u5f9e\u8a72\u5e33\u6236\u76f4\u63a5\u6263\u6b3e\u7684\u552f\u4e00\u7c3d\u7f72\u4eba\u3002",edit:"\u7de8\u8f2f","bacs.confirm":"\u78ba\u8a8d\u4e26\u652f\u4ed8","bacs.result.introduction":"\u4e0b\u8f09\u60a8\u7684\u76f4\u63a5\u6263\u6b3e\u6307\u793a\uff08DDI\uff0f\u6388\u6b0a\uff09","download.pdf":"\u4e0b\u8f09 PDF","creditCard.encryptedCardNumber.aria.iframeTitle":"\u5b89\u5168\u5361\u865f\u7684 IFrame","creditCard.encryptedCardNumber.aria.label":"\u5361\u865f\u6b04\u4f4d","creditCard.encryptedExpiryDate.aria.iframeTitle":"\u5b89\u5168\u5361\u5230\u671f\u65e5\u671f\u7684 IFrame","creditCard.encryptedExpiryDate.aria.label":"\u5230\u671f\u65e5\u671f\u6b04\u4f4d","creditCard.encryptedExpiryMonth.aria.iframeTitle":"\u5b89\u5168\u5361\u5230\u671f\u6708\u4efd\u7684 IFrame","creditCard.encryptedExpiryMonth.aria.label":"\u5230\u671f\u6708\u4efd\u6b04\u4f4d","creditCard.encryptedExpiryYear.aria.iframeTitle":"\u5b89\u5168\u5361\u5230\u671f\u5e74\u4efd\u7684 IFrame","creditCard.encryptedExpiryYear.aria.label":"\u5230\u671f\u5e74\u4efd\u6b04\u4f4d","creditCard.encryptedSecurityCode.aria.iframeTitle":"\u5b89\u5168\u5361\u5b89\u5168\u78bc\u7684 IFrame","creditCard.encryptedSecurityCode.aria.label":"\u5b89\u5168\u78bc\u6b04\u4f4d","giftcard.encryptedCardNumber.aria.iframeTitle":"\u5b89\u5168\u79ae\u54c1\u5361\u865f\u7684 IFrame","giftcard.encryptedCardNumber.aria.label":"\u79ae\u54c1\u5361\u865f\u6b04\u4f4d","giftcard.encryptedSecurityCode.aria.iframeTitle":"\u5b89\u5168\u79ae\u54c1\u5361\u5b89\u5168\u78bc\u7684 IFrame","giftcard.encryptedSecurityCode.aria.label":"\u79ae\u54c1\u5361\u5b89\u5168\u78bc\u6b04\u4f4d",giftcardTransactionLimit:"\u6b64\u79ae\u54c1\u5361\u6bcf\u7b46\u4ea4\u6613\u7684\u91d1\u984d\u4e0a\u9650\u70ba %{amount}","ach.encryptedBankAccountNumber.aria.iframeTitle":"\u5b89\u5168\u9280\u884c\u5e33\u6236\u865f\u78bc\u7684 IFrame","ach.encryptedBankAccountNumber.aria.label":"\u9280\u884c\u5e33\u6236\u6b04\u4f4d","ach.encryptedBankLocationId.aria.iframeTitle":"\u5b89\u5168\u9280\u884c\u532f\u6b3e\u8def\u5f91\u7de8\u865f\u7684 IFrame","ach.encryptedBankLocationId.aria.label":"\u9280\u884c\u532f\u6b3e\u8def\u5f91\u7de8\u865f\u6b04\u4f4d","twint.saved":"\u5132\u5b58\u7684"};
|
|
@@ -16,6 +16,7 @@ export declare type SupportedLocale = typeof SUPPORTED_LOCALES_EU[number] | type
|
|
|
16
16
|
export interface AmazonPayConfiguration {
|
|
17
17
|
merchantId?: string;
|
|
18
18
|
publicKeyId?: string;
|
|
19
|
+
region?: Region;
|
|
19
20
|
storeId?: string;
|
|
20
21
|
}
|
|
21
22
|
export interface AmazonPayElementProps {
|
|
@@ -91,6 +92,7 @@ export interface OrderButtonProps {
|
|
|
91
92
|
clientKey: string;
|
|
92
93
|
onError: (error: any, component: any) => void;
|
|
93
94
|
ref: any;
|
|
95
|
+
region: Region;
|
|
94
96
|
returnUrl: string;
|
|
95
97
|
publicKeyId: string;
|
|
96
98
|
}
|
|
@@ -177,6 +179,7 @@ export interface CheckoutDetailsRequest {
|
|
|
177
179
|
getDeliveryAddress?: boolean;
|
|
178
180
|
getDeclineFlowUrl?: boolean;
|
|
179
181
|
publicKeyId: string;
|
|
182
|
+
region: Region;
|
|
180
183
|
}
|
|
181
184
|
export interface UpdateAmazonCheckoutSessionRequest {
|
|
182
185
|
amount: PaymentAmount;
|
|
@@ -184,6 +187,7 @@ export interface UpdateAmazonCheckoutSessionRequest {
|
|
|
184
187
|
checkoutResultReturnUrl: string;
|
|
185
188
|
checkoutSessionId: string;
|
|
186
189
|
publicKeyId: string;
|
|
190
|
+
region: Region;
|
|
187
191
|
}
|
|
188
192
|
export interface CheckoutSessionConfig {
|
|
189
193
|
payloadJSON: string;
|
|
@@ -28,8 +28,6 @@ declare class ApplePayElement extends UIElement<ApplePayElementProps> {
|
|
|
28
28
|
shippingContact: any;
|
|
29
29
|
applicationData: any;
|
|
30
30
|
onClick: (resolve: any) => any;
|
|
31
|
-
onSubmit: () => void;
|
|
32
|
-
onError: () => void;
|
|
33
31
|
onAuthorized: (resolve: any) => any;
|
|
34
32
|
onPaymentMethodSelected: any;
|
|
35
33
|
onShippingContactSelected: any;
|
|
@@ -47,8 +45,7 @@ declare class ApplePayElement extends UIElement<ApplePayElementProps> {
|
|
|
47
45
|
* Formats the component data output
|
|
48
46
|
*/
|
|
49
47
|
protected formatData(): ApplePayElementData;
|
|
50
|
-
submit(): void
|
|
51
|
-
startPayment(): Promise<unknown>;
|
|
48
|
+
submit(): Promise<void>;
|
|
52
49
|
private startSession;
|
|
53
50
|
private validateMerchant;
|
|
54
51
|
/**
|
|
@@ -56,8 +56,6 @@ declare const defaultProps: {
|
|
|
56
56
|
shippingContact: any;
|
|
57
57
|
applicationData: any;
|
|
58
58
|
onClick: (resolve: any) => any;
|
|
59
|
-
onSubmit: () => void;
|
|
60
|
-
onError: () => void;
|
|
61
59
|
onAuthorized: (resolve: any) => any;
|
|
62
60
|
onPaymentMethodSelected: any;
|
|
63
61
|
onShippingContactSelected: any;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="applepayjs" />
|
|
2
2
|
import { PaymentAmount } from '../../types';
|
|
3
|
-
import { UIElementProps } from '../
|
|
3
|
+
import { UIElementProps } from '../types';
|
|
4
4
|
declare global {
|
|
5
5
|
interface Window {
|
|
6
6
|
ApplePaySession: ApplePaySession;
|
|
@@ -78,9 +78,6 @@ export interface ApplePayElementProps extends UIElementProps {
|
|
|
78
78
|
*/
|
|
79
79
|
applicationData?: string;
|
|
80
80
|
onClick?: (resolve: any, reject: any) => void;
|
|
81
|
-
onSubmit?: (state: any, component: any) => void;
|
|
82
|
-
onError?: (error: any) => void;
|
|
83
|
-
onCancel?: () => void;
|
|
84
81
|
onAuthorized?: (resolve: any, reject: any, event: ApplePayJS.ApplePayPaymentAuthorizedEvent) => void;
|
|
85
82
|
onValidateMerchant?: (resolve: any, reject: any, event: ApplePayJS.ApplePayValidateMerchantEvent) => void;
|
|
86
83
|
/**
|
|
@@ -1,17 +1,6 @@
|
|
|
1
1
|
import EventEmitter from './EventEmitter';
|
|
2
|
-
import Analytics from '../core/Analytics';
|
|
3
|
-
import RiskElement from '../core/RiskModule';
|
|
4
|
-
import { Order } from '../types';
|
|
5
2
|
import Core from '../core';
|
|
6
|
-
|
|
7
|
-
_parentInstance?: Core;
|
|
8
|
-
order?: Order;
|
|
9
|
-
modules?: {
|
|
10
|
-
analytics: Analytics;
|
|
11
|
-
risk: RiskElement;
|
|
12
|
-
};
|
|
13
|
-
isDropin?: boolean;
|
|
14
|
-
}
|
|
3
|
+
import { BaseElementProps } from './types';
|
|
15
4
|
declare class BaseElement<P extends BaseElementProps> {
|
|
16
5
|
readonly _id: string;
|
|
17
6
|
props: P;
|
|
@@ -20,7 +9,7 @@ declare class BaseElement<P extends BaseElementProps> {
|
|
|
20
9
|
_node: any;
|
|
21
10
|
_component: any;
|
|
22
11
|
eventEmitter: EventEmitter;
|
|
23
|
-
|
|
12
|
+
protected readonly _parentInstance: Core;
|
|
24
13
|
protected constructor(props: P);
|
|
25
14
|
/**
|
|
26
15
|
* Executed during creation of any payment element.
|
|
@@ -11,17 +11,24 @@ declare class BCMCMobileElement extends QRLoaderContainer {
|
|
|
11
11
|
qrCodeImage?: string;
|
|
12
12
|
paymentData?: string;
|
|
13
13
|
instructions?: string;
|
|
14
|
+
session?: {
|
|
15
|
+
id: string;
|
|
16
|
+
data: string;
|
|
17
|
+
};
|
|
14
18
|
onChange?: (state: any, element: import("../UIElement").UIElement<any>) => void;
|
|
15
19
|
onValid?: (state: any, element: import("../UIElement").UIElement<any>) => void;
|
|
20
|
+
beforeSubmit?: (state: any, element: import("../UIElement").UIElement<any>, actions: any) => Promise<void>;
|
|
16
21
|
onSubmit?: (state: any, element: import("../UIElement").UIElement<any>) => void;
|
|
17
22
|
onComplete?: (state: any, element: import("../UIElement").UIElement<any>) => void;
|
|
18
23
|
onAdditionalDetails?: (state: any, element: import("../UIElement").UIElement<any>) => void;
|
|
19
24
|
onError?: (error: any, element?: import("../UIElement").UIElement<any>) => void;
|
|
20
|
-
|
|
25
|
+
onPaymentCompleted?: (result: any, element: import("../UIElement").UIElement<any>) => void;
|
|
26
|
+
beforeRedirect?: (resolve: any, reject: any, redirectData: any, element: import("../UIElement").UIElement<any>) => void;
|
|
21
27
|
name?: string;
|
|
22
28
|
icon?: string;
|
|
23
29
|
amount?: import("../../types").PaymentAmount;
|
|
24
30
|
showPayButton?: boolean;
|
|
31
|
+
setStatusAutomatically?: boolean;
|
|
25
32
|
payButton?: (options: any) => any;
|
|
26
33
|
loadingContext?: string;
|
|
27
34
|
createFromAction?: (action: import("../../types").PaymentAction, props: object) => import("../UIElement").UIElement<any>;
|
|
@@ -37,15 +37,22 @@ declare class BancontactElement extends CardElement {
|
|
|
37
37
|
onFocus?: (event: import("../internal/SecuredFields/lib/types").CbObjOnFocus) => void;
|
|
38
38
|
onBinValue?: (event: import("../internal/SecuredFields/lib/types").CbObjOnBinValue) => void;
|
|
39
39
|
onBinLookup?: (event: import("../internal/SecuredFields/lib/types").CbObjOnBinLookup) => void;
|
|
40
|
+
session?: {
|
|
41
|
+
id: string;
|
|
42
|
+
data: string;
|
|
43
|
+
};
|
|
40
44
|
onChange?: (state: any, element: import("../UIElement").UIElement<any>) => void;
|
|
41
45
|
onValid?: (state: any, element: import("../UIElement").UIElement<any>) => void;
|
|
46
|
+
beforeSubmit?: (state: any, element: import("../UIElement").UIElement<any>, actions: any) => Promise<void>;
|
|
42
47
|
onSubmit?: (state: any, element: import("../UIElement").UIElement<any>) => void;
|
|
43
48
|
onComplete?: (state: any, element: import("../UIElement").UIElement<any>) => void;
|
|
44
49
|
onAdditionalDetails?: (state: any, element: import("../UIElement").UIElement<any>) => void;
|
|
45
|
-
|
|
50
|
+
onPaymentCompleted?: (result: any, element: import("../UIElement").UIElement<any>) => void;
|
|
51
|
+
beforeRedirect?: (resolve: any, reject: any, redirectData: any, element: import("../UIElement").UIElement<any>) => void;
|
|
46
52
|
name?: string;
|
|
47
53
|
amount?: import("../../types").PaymentAmount;
|
|
48
54
|
showPayButton?: boolean;
|
|
55
|
+
setStatusAutomatically?: boolean;
|
|
49
56
|
payButton?: (options: any) => any;
|
|
50
57
|
loadingContext?: string;
|
|
51
58
|
createFromAction?: (action: import("../../types").PaymentAction, props: object) => import("../UIElement").UIElement<any>;
|
|
@@ -35,15 +35,22 @@ export declare class CardElement extends UIElement<CardElementProps> {
|
|
|
35
35
|
onFocus?: (event: import("../internal/SecuredFields/lib/types").CbObjOnFocus) => void;
|
|
36
36
|
onBinValue?: (event: import("../internal/SecuredFields/lib/types").CbObjOnBinValue) => void;
|
|
37
37
|
onBinLookup?: (event: CbObjOnBinLookup) => void;
|
|
38
|
+
session?: {
|
|
39
|
+
id: string;
|
|
40
|
+
data: string;
|
|
41
|
+
};
|
|
38
42
|
onChange?: (state: any, element: UIElement<any>) => void;
|
|
39
43
|
onValid?: (state: any, element: UIElement<any>) => void;
|
|
44
|
+
beforeSubmit?: (state: any, element: UIElement<any>, actions: any) => Promise<void>;
|
|
40
45
|
onSubmit?: (state: any, element: UIElement<any>) => void;
|
|
41
46
|
onComplete?: (state: any, element: UIElement<any>) => void;
|
|
42
47
|
onAdditionalDetails?: (state: any, element: UIElement<any>) => void;
|
|
43
|
-
|
|
48
|
+
onPaymentCompleted?: (result: any, element: UIElement<any>) => void;
|
|
49
|
+
beforeRedirect?: (resolve: any, reject: any, redirectData: any, element: UIElement<any>) => void;
|
|
44
50
|
name?: string;
|
|
45
51
|
amount?: import("../../types").PaymentAmount;
|
|
46
52
|
showPayButton?: boolean;
|
|
53
|
+
setStatusAutomatically?: boolean;
|
|
47
54
|
payButton?: (options: any) => any;
|
|
48
55
|
loadingContext?: string;
|
|
49
56
|
createFromAction?: (action: import("../../types").PaymentAction, props: object) => UIElement<any>;
|
|
@@ -77,6 +84,7 @@ export declare class CardElement extends UIElement<CardElementProps> {
|
|
|
77
84
|
}[];
|
|
78
85
|
get brand(): string;
|
|
79
86
|
get displayName(): string;
|
|
87
|
+
get accessibleName(): string;
|
|
80
88
|
get browserInfo(): import("../../types").BrowserInfo;
|
|
81
89
|
render(): h.JSX.Element;
|
|
82
90
|
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { h } from 'preact';
|
|
2
|
+
import { SfSpanProps } from './types';
|
|
3
|
+
/**
|
|
4
|
+
* Extract the relevant props and write them as attributes to the span that will contain the securedFields iframe
|
|
5
|
+
* Specifically exists to make the uniqueId created by the Field comp accessible to the SFP via a data-uid attr
|
|
6
|
+
*/
|
|
7
|
+
export default function DataSfSpan(props: SfSpanProps): h.JSX.Element;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { PaymentAmount } from '../../../../../types';
|
|
2
2
|
import { CardBrandsConfiguration } from '../../../types';
|
|
3
|
+
import { ComponentChildren } from 'preact';
|
|
3
4
|
export interface BrandIconProps {
|
|
4
5
|
brand: string;
|
|
5
6
|
brandsConfiguration: CardBrandsConfiguration;
|
|
@@ -127,3 +128,10 @@ export interface StoredCardFieldsProps {
|
|
|
127
128
|
valid: any;
|
|
128
129
|
status: string;
|
|
129
130
|
}
|
|
131
|
+
export interface SfSpanProps {
|
|
132
|
+
encryptedFieldType: string;
|
|
133
|
+
className: string;
|
|
134
|
+
uniqueId?: string;
|
|
135
|
+
children?: ComponentChildren;
|
|
136
|
+
['data-info']?: string;
|
|
137
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ValidatorRules } from '../../../../utils/Validator/Validator';
|
|
2
|
-
import { formatCPFCNPJ } from '../../../
|
|
2
|
+
import { formatCPFCNPJ } from '../../../internal/SocialSecurityNumberBrazil/utils';
|
|
3
3
|
export declare const cardInputFormatters: {
|
|
4
4
|
socialSecurityNumber: typeof formatCPFCNPJ;
|
|
5
5
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { UIElementProps } from '../
|
|
1
|
+
import { UIElementProps } from '../types';
|
|
2
2
|
import { AddressData, BrowserInfo } from '../../types';
|
|
3
3
|
import { CbObjOnBinValue, CbObjOnBrand, CbObjOnConfigSuccess, CbObjOnError, CbObjOnFieldValid, CbObjOnFocus, CbObjOnLoad, CbObjOnBinLookup } from '../internal/SecuredFields/lib/types';
|
|
4
4
|
import { CVCPolicyType } from '../internal/SecuredFields/lib/core/AbstractSecuredField';
|
|
@@ -102,6 +102,7 @@ export interface CardElementData {
|
|
|
102
102
|
};
|
|
103
103
|
storePaymentMethod?: boolean;
|
|
104
104
|
browserInfo: BrowserInfo;
|
|
105
|
+
origin?: string;
|
|
105
106
|
}
|
|
106
107
|
export interface BrandObject {
|
|
107
108
|
brand: string;
|
|
@@ -21,17 +21,24 @@ export declare class DragonpayElement extends UIElement<DragonpayElementProps> {
|
|
|
21
21
|
loadingContext?: string;
|
|
22
22
|
reference?: string;
|
|
23
23
|
i18n?: import("../../language").default;
|
|
24
|
+
session?: {
|
|
25
|
+
id: string;
|
|
26
|
+
data: string;
|
|
27
|
+
};
|
|
24
28
|
onChange?: (state: any, element: UIElement<any>) => void;
|
|
25
29
|
onValid?: (state: any, element: UIElement<any>) => void;
|
|
30
|
+
beforeSubmit?: (state: any, element: UIElement<any>, actions: any) => Promise<void>;
|
|
26
31
|
onSubmit?: (state: any, element: UIElement<any>) => void;
|
|
27
32
|
onComplete?: (state: any, element: UIElement<any>) => void;
|
|
28
33
|
onAdditionalDetails?: (state: any, element: UIElement<any>) => void;
|
|
29
34
|
onError?: (error: any, element?: UIElement<any>) => void;
|
|
30
|
-
|
|
35
|
+
onPaymentCompleted?: (result: any, element: UIElement<any>) => void;
|
|
36
|
+
beforeRedirect?: (resolve: any, reject: any, redirectData: any, element: UIElement<any>) => void;
|
|
31
37
|
name?: string;
|
|
32
38
|
icon?: string;
|
|
33
39
|
amount?: import("../../types").PaymentAmount;
|
|
34
40
|
showPayButton?: boolean;
|
|
41
|
+
setStatusAutomatically?: boolean;
|
|
35
42
|
payButton?: (options: any) => any;
|
|
36
43
|
createFromAction?: (action: import("../../types").PaymentAction, props: object) => UIElement<any>;
|
|
37
44
|
clientKey?: string;
|
|
@@ -42,9 +49,7 @@ export declare class DragonpayElement extends UIElement<DragonpayElementProps> {
|
|
|
42
49
|
analytics: import("../../core/Analytics/Analytics").default;
|
|
43
50
|
risk: import("../../core/RiskModule").default;
|
|
44
51
|
};
|
|
45
|
-
isDropin?: boolean;
|
|
46
|
-
* Formats the component data output
|
|
47
|
-
*/
|
|
52
|
+
isDropin?: boolean;
|
|
48
53
|
};
|
|
49
54
|
render(): h.JSX.Element;
|
|
50
55
|
}
|
|
@@ -13,8 +13,6 @@ declare class DropinElement extends UIElement<DropinElementProps> {
|
|
|
13
13
|
onSelect: () => void;
|
|
14
14
|
onDisableStoredPaymentMethod: any;
|
|
15
15
|
onChange: () => void;
|
|
16
|
-
onSubmit: () => void;
|
|
17
|
-
onAdditionalDetails: () => void;
|
|
18
16
|
amount: {};
|
|
19
17
|
installmentOptions: {};
|
|
20
18
|
paymentMethodsConfiguration: {};
|
|
@@ -36,7 +34,6 @@ declare class DropinElement extends UIElement<DropinElementProps> {
|
|
|
36
34
|
* Calls the onSubmit event with the state of the activePaymentMethod
|
|
37
35
|
*/
|
|
38
36
|
submit(): void;
|
|
39
|
-
protected handleSubmit: () => false | void;
|
|
40
37
|
/**
|
|
41
38
|
* Creates the Drop-in elements
|
|
42
39
|
*/
|
|
@@ -2,11 +2,11 @@ import { h } from 'preact';
|
|
|
2
2
|
interface PaymentMethodIconProps {
|
|
3
3
|
/** URL to the payment method icon */
|
|
4
4
|
src: string;
|
|
5
|
-
/**
|
|
6
|
-
|
|
5
|
+
/** Alt description of payment method used of a11y */
|
|
6
|
+
altDescription: string;
|
|
7
7
|
/** Type of the payment method*/
|
|
8
8
|
type: string;
|
|
9
9
|
disabled?: boolean;
|
|
10
10
|
}
|
|
11
|
-
declare const PaymentMethodIcon: ({ src,
|
|
11
|
+
declare const PaymentMethodIcon: ({ src, altDescription, type, disabled }: PaymentMethodIconProps) => h.JSX.Element;
|
|
12
12
|
export default PaymentMethodIcon;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { PaymentMethod, StoredPaymentMethod, Order, OrderStatus } from '../../types';
|
|
2
|
-
import UIElement
|
|
2
|
+
import UIElement from '../UIElement';
|
|
3
|
+
import { UIElementProps } from '../types';
|
|
3
4
|
import { PaymentMethodsConfiguration } from '../../core/types';
|
|
4
5
|
export interface DropinElementProps extends UIElementProps {
|
|
5
6
|
/**
|
|
@@ -20,8 +20,9 @@ export declare class GiftcardElement extends UIElement {
|
|
|
20
20
|
get isValid(): boolean;
|
|
21
21
|
get icon(): any;
|
|
22
22
|
get displayName(): any;
|
|
23
|
-
|
|
24
|
-
onOrderRequest
|
|
23
|
+
private handleBalanceCheck;
|
|
24
|
+
private onOrderRequest;
|
|
25
|
+
onBalanceCheck: () => false | void;
|
|
25
26
|
payButton: (props: any) => h.JSX.Element;
|
|
26
27
|
render(): h.JSX.Element;
|
|
27
28
|
}
|
|
@@ -23,9 +23,7 @@ declare class GooglePay extends UIElement<GooglePayProps> {
|
|
|
23
23
|
};
|
|
24
24
|
countryCode: string;
|
|
25
25
|
totalPriceStatus: google.payments.api.TotalPriceStatus;
|
|
26
|
-
onError: () => void;
|
|
27
26
|
onAuthorized: (params: any) => any;
|
|
28
|
-
onSubmit: () => void;
|
|
29
27
|
onClick: (resolve: any) => any;
|
|
30
28
|
allowedAuthMethods: google.payments.api.CardAuthMethod[];
|
|
31
29
|
allowedCardNetworks: google.payments.api.CardNetwork[];
|
|
@@ -53,9 +51,7 @@ declare class GooglePay extends UIElement<GooglePayProps> {
|
|
|
53
51
|
paymentMethod: any;
|
|
54
52
|
browserInfo: import("../../types").BrowserInfo;
|
|
55
53
|
};
|
|
56
|
-
loadPayment: () => Promise<void>;
|
|
57
54
|
submit: () => Promise<void>;
|
|
58
|
-
startPayment: () => Promise<void>;
|
|
59
55
|
/**
|
|
60
56
|
* Validation
|
|
61
57
|
*/
|
|
@@ -17,9 +17,7 @@ declare const _default: {
|
|
|
17
17
|
};
|
|
18
18
|
countryCode: string;
|
|
19
19
|
totalPriceStatus: google.payments.api.TotalPriceStatus;
|
|
20
|
-
onError: () => void;
|
|
21
20
|
onAuthorized: (params: any) => any;
|
|
22
|
-
onSubmit: () => void;
|
|
23
21
|
onClick: (resolve: any) => any;
|
|
24
22
|
allowedAuthMethods: google.payments.api.CardAuthMethod[];
|
|
25
23
|
allowedCardNetworks: google.payments.api.CardNetwork[];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="googlepay" />
|
|
2
|
-
import { GooglePayProps } from './types';
|
|
2
|
+
import { GooglePaymentDataRequest, GooglePayProps } from './types';
|
|
3
3
|
/**
|
|
4
4
|
* Configure your site's support for payment methods supported by the Google Pay API.
|
|
5
5
|
*
|
|
@@ -18,4 +18,4 @@ export declare function isReadyToPayRequest({ allowedAuthMethods, allowedCardNet
|
|
|
18
18
|
* @returns transaction info, suitable for use as transactionInfo property of PaymentDataRequest
|
|
19
19
|
*/
|
|
20
20
|
export declare function getTransactionInfo({ amount, countryCode, totalPriceStatus, ...props }: GooglePayProps): google.payments.api.TransactionInfo;
|
|
21
|
-
export declare function initiatePaymentRequest({ configuration, ...props }: GooglePayProps):
|
|
21
|
+
export declare function initiatePaymentRequest({ configuration, ...props }: GooglePayProps): GooglePaymentDataRequest;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="googlepay" />
|
|
2
|
-
import { UIElementProps } from '../
|
|
2
|
+
import { UIElementProps } from '../types';
|
|
3
3
|
export interface GooglePayPropsConfiguration {
|
|
4
4
|
/**
|
|
5
5
|
* Adyen's merchant account name
|
|
@@ -17,6 +17,10 @@ export interface GooglePayPropsConfiguration {
|
|
|
17
17
|
* @see https://developers.google.com/pay/api/web/reference/request-objects#MerchantInfo
|
|
18
18
|
*/
|
|
19
19
|
merchantName?: string;
|
|
20
|
+
/**
|
|
21
|
+
* Merchant fully qualified domain name.
|
|
22
|
+
*/
|
|
23
|
+
merchantOrigin?: string;
|
|
20
24
|
}
|
|
21
25
|
export interface GooglePayProps extends UIElementProps {
|
|
22
26
|
type?: 'googlepay' | 'paywithgoogle';
|
|
@@ -100,3 +104,9 @@ export interface GooglePayProps extends UIElementProps {
|
|
|
100
104
|
onClick?: (resolve: any, reject: any) => void;
|
|
101
105
|
onAuthorized?: (paymentData: google.payments.api.PaymentData) => void;
|
|
102
106
|
}
|
|
107
|
+
export interface GooglePaymentDataRequest extends google.payments.api.PaymentDataRequest {
|
|
108
|
+
merchantInfo: ExtendedMerchantInfo;
|
|
109
|
+
}
|
|
110
|
+
export interface ExtendedMerchantInfo extends google.payments.api.MerchantInfo {
|
|
111
|
+
merchantOrigin?: string;
|
|
112
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { UIElementProps } from '../
|
|
1
|
+
import { UIElementProps } from '../types';
|
|
2
2
|
declare global {
|
|
3
3
|
interface Window {
|
|
4
4
|
Klarna: any;
|
|
@@ -12,6 +12,12 @@ export declare type KlarnaSdkData = {
|
|
|
12
12
|
* @see https://developers.klarna.com/documentation/klarna-payments/single-call-descriptions/create-session/
|
|
13
13
|
* */
|
|
14
14
|
client_token: string;
|
|
15
|
+
/**
|
|
16
|
+
* `payment_method_category` specifies which of Klarna’s customer offerings (e.g. Pay now, Pay later or Slice it)
|
|
17
|
+
* that is being shown in the widget
|
|
18
|
+
* @see https://developers.klarna.com/documentation/klarna-payments/single-call-descriptions/create-session/
|
|
19
|
+
* */
|
|
20
|
+
payment_method_category: string;
|
|
15
21
|
};
|
|
16
22
|
interface KlarnaPaymentsShared {
|
|
17
23
|
sdkData: KlarnaSdkData;
|
|
@@ -22,9 +28,9 @@ export interface KlarnaWidgetProps extends KlarnaPaymentsShared {
|
|
|
22
28
|
onComplete: (detailsData: any) => void;
|
|
23
29
|
onError: (error: any) => void;
|
|
24
30
|
}
|
|
25
|
-
export
|
|
31
|
+
export declare type KlarnaPaymentsProps = UIElementProps & KlarnaPaymentsShared & {
|
|
26
32
|
useKlarnaWidget: boolean;
|
|
27
|
-
}
|
|
33
|
+
};
|
|
28
34
|
export interface KlarnaWidgetAuthorizeResponse {
|
|
29
35
|
approved: boolean;
|
|
30
36
|
show_form: boolean;
|
|
@@ -29,9 +29,8 @@ declare class PaypalElement extends UIElement<PayPalElementProps> {
|
|
|
29
29
|
* Paypal does not require any specific Dropin validation
|
|
30
30
|
*/
|
|
31
31
|
get isValid(): boolean;
|
|
32
|
-
handleCancel(
|
|
32
|
+
handleCancel(): void;
|
|
33
33
|
handleComplete(details: any): void;
|
|
34
|
-
handleError(data: any): void;
|
|
35
34
|
handleResolve(token: string): void;
|
|
36
35
|
handleReject(errorMessage: string): void;
|
|
37
36
|
startPayment(): Promise<never>;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { PaymentAmount, PaymentMethod } from '../../types';
|
|
2
|
-
import UIElement
|
|
2
|
+
import UIElement from '../UIElement';
|
|
3
|
+
import { UIElementProps } from '../types';
|
|
3
4
|
import { SUPPORTED_LOCALES } from './config';
|
|
4
5
|
declare global {
|
|
5
6
|
interface Window {
|