@paynext/sdk 0.0.83 → 0.0.85

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/README.md CHANGED
@@ -11,7 +11,7 @@ npm install @paynext/sdk
11
11
  ## Quick Start
12
12
 
13
13
  ```typescript
14
- import { PayNextCheckout, type PaymentResult, type AttemptResult } from '@paynext/sdk'
14
+ import { PayNextCheckout, type PaymentResult, type AttemptResult, type CheckoutError } from '@paynext/sdk'
15
15
 
16
16
  import '@paynext/sdk/styles'
17
17
 
@@ -29,7 +29,7 @@ await checkout.mount({
29
29
  // Handle successful payment
30
30
  console.info('Payment successful!', result)
31
31
  },
32
- onCheckoutFail: (error: IErrorInterface) => {
32
+ onCheckoutFail: (error: CheckoutError) => {
33
33
  // Handle payment failure
34
34
  console.error('Payment failed:', error)
35
35
  }
@@ -40,7 +40,7 @@ await checkout.mount({
40
40
 
41
41
  ```tsx
42
42
  import { useEffect, useRef } from 'react'
43
- import { PayNextCheckout, type PaymentResult, type AttemptResult } from '@paynext/sdk'
43
+ import { PayNextCheckout, type PaymentResult, type AttemptResult, type CheckoutError } from '@paynext/sdk'
44
44
 
45
45
  import '@paynext/sdk/styles'
46
46
 
@@ -70,7 +70,7 @@ export const CheckoutComponent: FC<Readonly<IProps> = (props) => {
70
70
  // Handle successful payment
71
71
  console.info('Payment completed:', result)
72
72
  },
73
- onCheckoutFail: (error: IErrorInterface) => {
73
+ onCheckoutFail: (error: CheckoutError) => {
74
74
  // Handle payment failure
75
75
  console.error('Payment failed:', error)
76
76
  }
@@ -1 +1 @@
1
- ._spinner_k40uq_1{height:100%;width:100%}@keyframes _spin_k40uq_1{to{transform:rotate(360deg)}}._spinner_k40uq_1{animation:_spin_k40uq_1 1s linear infinite;fill:#9ca3af;--tw-text-opacity: 1;color:rgb(229 231 235 / var(--tw-text-opacity, 1))}._spinner_k40uq_1:is(._dark_k40uq_1 *){--tw-text-opacity: 1;color:rgb(75 85 99 / var(--tw-text-opacity, 1))}._spinnerContainer_k40uq_5{height:40px;width:40px}._success_k40uq_9{position:absolute;top:50%;left:50%;width:1.5rem;--tw-translate-x: -50%;--tw-translate-y: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));fill:#16a34a}._successContainer_k40uq_13{position:relative;display:grid;height:2.25rem;width:2.25rem;flex:none;place-items:center;border-radius:9999px;--tw-bg-opacity: 1;background-color:rgb(232 250 240 / var(--tw-bg-opacity, 1))}._successContainer_k40uq_13:is(._dark_k40uq_1 *){--tw-bg-opacity: 1;background-color:rgb(209 244 224 / var(--tw-bg-opacity, 1))}._container_k40uq_17{width:30px;height:20px;display:flex;margin:0 1px;align-items:center;justify-content:center}._card_k40uq_26{width:28px;height:19px;display:flex;margin:0 1px;align-items:center;justify-content:center}._warning_k40uq_35{width:16px;height:16px;display:flex;align-items:center;justify-content:center}._svg_k40uq_43{width:100%;height:100%}._srOnly_k40uq_48{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}._backButton_k40uq_52{width:30px;height:30px;display:flex;margin:0 1px;align-items:center;justify-content:center;background-color:#f4f4f5;border-radius:8px}._loader_nwq3e_1{position:absolute;height:100%;top:0;left:0;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);z-index:1000;display:flex;width:100%;align-items:center;justify-content:center;border-radius:10px}._checkout_tjzsu_1{padding:0 2px;overflow:hidden;z-index:0;position:relative;height:auto;min-height:40px;width:100%;max-width:640px}._hidden_tjzsu_8{display:none!important}._formInitial_tjzsu_12{opacity:0;transform:translateY(100px)}._btnsInitial_tjzsu_17{opacity:0;transform:translateY(-100px)}._buttons_1i8cu_1{display:grid;gap:.5rem}._hidden_1i8cu_5{display:none!important}._applePay_1ce61_1{display:flex;flex-direction:column;gap:8px}._applePay_1ce61_1:hover{filter:contrast(.575) brightness(1.2)}._hidden_1ce61_26{display:none!important}._googlePay_gmreq_1{display:flex;flex-direction:column;gap:8px}._hidden_gmreq_20{display:none!important}._paypal_90mm5_1{display:flex;flex-direction:column;gap:8px}._hidden_90mm5_12{display:none}._button_13xr0_1{transition-property:transform,color,background,background-color,border-color,text-decoration-color,fill,stroke,opacity;transition-timing-function:ease;transition-duration:.25s;position:relative;z-index:0;box-sizing:border-box;display:inline-flex;height:2.5rem;width:100%;min-width:5rem;transform:translate3d(var(--tw-translate-x),var(--tw-translate-y),0) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-appearance:none;-moz-appearance:none;appearance:none;align-items:center;justify-content:center;overflow:hidden;white-space:nowrap;border-radius:.75rem;border-style:none;--tw-bg-opacity: 1;background-color:rgb(22 163 74 / var(--tw-bg-opacity, 1));padding-left:1rem;padding-right:1rem;font-size:1rem;line-height:1.5rem;font-weight:400;--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1));-webkit-font-smoothing:auto;-moz-osx-font-smoothing:auto;outline:2px solid transparent;outline-offset:2px}@media (prefers-reduced-motion: reduce){._button_13xr0_1{transition-property:none}}._button_13xr0_1 span{margin-left:.25rem}._button_13xr0_1:hover{opacity:.7}._button_13xr0_1:active{transform:scale(.95)}._container_1sjan_2{display:flex;flex-direction:column;gap:.5rem}._venmo_1sjan_8{display:flex;justify-content:center;align-items:center;overflow:hidden;border-radius:12px;height:40px;background-color:#0088f7;width:100%;color:#fff;font-size:16px;text-align:center;cursor:pointer;transition:background-color .3s ease;svg{height:40%}&:hover{background-color:#5683c1}}._hidden_1sjan_33{display:none}._button_125my_1{cursor:pointer}._button_15hbg_1{transition-property:transform,color,background,background-color,border-color,text-decoration-color,fill,stroke,opacity;transition-timing-function:ease;transition-duration:.25s;position:relative;z-index:0;box-sizing:border-box;display:inline-flex;height:2.5rem;width:100%;min-width:5rem;transform:translate3d(var(--tw-translate-x),var(--tw-translate-y),0) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-appearance:none;-moz-appearance:none;appearance:none;align-items:center;justify-content:center;overflow:hidden;white-space:nowrap;border-radius:.75rem;border-style:none;--tw-bg-opacity: 1;background-color:rgb(37 99 235 / var(--tw-bg-opacity, 1));padding-left:1rem;padding-right:1rem;font-size:.875rem;line-height:1.25rem;font-weight:400;--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1));-webkit-font-smoothing:auto;-moz-osx-font-smoothing:auto;outline:2px solid transparent;outline-offset:2px}@media (prefers-reduced-motion: reduce){._button_15hbg_1{transition-property:none}}._button_15hbg_1 span{margin-left:.25rem}._disabled_15hbg_17{opacity:.7}@media (hover: hover){._button_15hbg_1:hover{opacity:.7}}._press_15hbg_27:active{transform:scale(.95)}._hidden_15hbg_31{display:none!important}._spinner_15hbg_35{width:24px;height:24px}._cardForm_6gjbg_1{position:relative;display:grid;min-height:292px;gap:.75rem;padding-top:0}._hidden_6gjbg_5{display:none!important}._topOffset_6gjbg_9{margin-top:.5rem}._wrapper_1n35b_1{position:relative}._inputContainer_1n35b_5{background-color:transparent;border-color:#e0e0e0;box-shadow:0 0 0 1px #e0e0e0,0 2px 4px #00000012,0 1px 1.5px #0000000d;transition:box-shadow .2s ease-in-out;box-sizing:border-box;display:flex;height:40px;width:100%;cursor:text;align-items:center;justify-content:space-between;border-radius:.75rem;border-width:1px;border-style:solid;padding-left:.75rem;padding-right:.75rem}._inputContainer_1n35b_5::-moz-placeholder{--tw-placeholder-opacity: 1;color:rgb(156 163 175 / var(--tw-placeholder-opacity, 1))}._inputContainer_1n35b_5:-ms-input-placeholder{--tw-placeholder-opacity: 1;color:rgb(156 163 175 / var(--tw-placeholder-opacity, 1))}._inputContainer_1n35b_5::placeholder{--tw-placeholder-opacity: 1;color:rgb(156 163 175 / var(--tw-placeholder-opacity, 1))}@media (min-width: 640px){._inputContainer_1n35b_5{font-size:.875rem;line-height:1.25rem}}._inputFocus_1n35b_13,._inputContainer_1n35b_5:hover{--tw-border-opacity: 1;border-color:rgb(107 114 128 / var(--tw-border-opacity, 1))}._inputContainer_1n35b_5:focus-within:not(._errorInput_1n35b_18):not(._disabled_1n35b_18){box-shadow:0 0 0 2px color-mix(in srgb,var(--input-focus-shadow-color, #5A67D8) 30%,transparent)}._input_1n35b_5{background-color:transparent;display:block;height:100%;width:100%;border-style:none;font-size:1rem;font-weight:400;outline:2px solid transparent;outline-offset:2px}._endContent_1n35b_27{display:flex}._errorInput_1n35b_18{--tw-border-opacity: 1;border-color:rgb(220 38 38 / var(--tw-border-opacity, 1));--tw-text-opacity: 1;color:rgb(220 38 38 / var(--tw-text-opacity, 1))}._errorInput_1n35b_18:hover{--tw-border-opacity: 1;border-color:rgb(220 38 38 / var(--tw-border-opacity, 1));--tw-ring-opacity: 1;--tw-ring-color: rgb(220 38 38 / var(--tw-ring-opacity, 1))}._errorInput_1n35b_18:focus{--tw-border-opacity: 1;border-color:rgb(220 38 38 / var(--tw-border-opacity, 1));--tw-ring-opacity: 1;--tw-ring-color: rgb(220 38 38 / var(--tw-ring-opacity, 1))}._label_1n35b_35{margin-bottom:2px;display:flex;align-items:flex-end;justify-content:space-between;padding-left:1px;padding-right:.5rem;font-size:.75rem;line-height:1rem;font-weight:400}._labelError_1n35b_39{font-size:.6875rem;--tw-text-opacity: 1;color:rgb(220 38 38 / var(--tw-text-opacity, 1))}._disabled_1n35b_18{border-style:none;--tw-bg-opacity: 1;background-color:rgb(229 231 235 / var(--tw-bg-opacity, 1))}._disabledInput_1n35b_47{opacity:1;-webkit-appearance:none!important;-webkit-text-fill-color:#9ca3af!important;--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity, 1))}._hidden_1n35b_54{display:none!important}._wrapper_yhhlp_1{position:relative}._inputContainer_yhhlp_5{background-color:transparent;border-color:#e0e0e0;box-shadow:0 0 0 1px #e0e0e0,0 2px 4px #00000012,0 1px 1.5px #0000000d;transition:box-shadow .2s ease-in-out;box-sizing:border-box;display:flex;height:40px;width:100%;cursor:text;align-items:center;justify-content:space-between;border-radius:.75rem;border-width:1px;border-style:solid;padding-left:.75rem;padding-right:.75rem}._inputContainer_yhhlp_5::-moz-placeholder{--tw-placeholder-opacity: 1;color:rgb(156 163 175 / var(--tw-placeholder-opacity, 1))}._inputContainer_yhhlp_5:-ms-input-placeholder{--tw-placeholder-opacity: 1;color:rgb(156 163 175 / var(--tw-placeholder-opacity, 1))}._inputContainer_yhhlp_5::placeholder{--tw-placeholder-opacity: 1;color:rgb(156 163 175 / var(--tw-placeholder-opacity, 1))}@media (min-width: 640px){._inputContainer_yhhlp_5{font-size:.875rem;line-height:1.25rem}}._inputFocus_yhhlp_13,._inputContainer_yhhlp_5:hover{--tw-border-opacity: 1;border-color:rgb(107 114 128 / var(--tw-border-opacity, 1))}._inputContainer_yhhlp_5:focus-within:not(._errorInput_yhhlp_18):not(._disabled_yhhlp_18){box-shadow:0 0 0 2px color-mix(in srgb,var(--input-focus-shadow-color, #5A67D8) 30%,transparent)}._input_yhhlp_5{background-color:transparent;display:block;height:100%;width:100%;border-style:none;font-size:1rem;font-weight:400;outline:2px solid transparent;outline-offset:2px}._endContent_yhhlp_27{display:flex}._errorInput_yhhlp_18{--tw-border-opacity: 1;border-color:rgb(220 38 38 / var(--tw-border-opacity, 1));--tw-text-opacity: 1;color:rgb(220 38 38 / var(--tw-text-opacity, 1))}._errorInput_yhhlp_18:hover{--tw-border-opacity: 1;border-color:rgb(220 38 38 / var(--tw-border-opacity, 1));--tw-ring-opacity: 1;--tw-ring-color: rgb(220 38 38 / var(--tw-ring-opacity, 1))}._errorInput_yhhlp_18:focus{--tw-border-opacity: 1;border-color:rgb(220 38 38 / var(--tw-border-opacity, 1));--tw-ring-opacity: 1;--tw-ring-color: rgb(220 38 38 / var(--tw-ring-opacity, 1))}._error_yhhlp_18{margin-top:.25rem;margin-bottom:0;padding-left:.25rem;font-size:.75rem;line-height:1rem;font-weight:400;--tw-text-opacity: 1;color:rgb(220 38 38 / var(--tw-text-opacity, 1))}._label_yhhlp_39{margin-bottom:2px;display:flex;align-items:flex-end;justify-content:space-between;padding-left:1px;padding-right:.5rem;font-size:.75rem;line-height:1rem;font-weight:400}._labelError_yhhlp_43{font-size:.6875rem;--tw-text-opacity: 1;color:rgb(220 38 38 / var(--tw-text-opacity, 1))}._disabled_yhhlp_18{border-style:none;--tw-bg-opacity: 1;background-color:rgb(229 231 235 / var(--tw-bg-opacity, 1))}._disabledInput_yhhlp_51{opacity:1;-webkit-appearance:none!important;-webkit-text-fill-color:#9ca3af!important;--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity, 1))}._hidden_yhhlp_58{display:none!important}._wrapper_1eunw_1{position:relative}._inputContainer_1eunw_5{background-color:transparent;border-color:#e0e0e0;box-shadow:0 0 0 1px #e0e0e0,0 2px 4px #00000012,0 1px 1.5px #0000000d;transition:box-shadow .2s ease-in-out;box-sizing:border-box;display:flex;height:40px;width:100%;cursor:text;align-items:center;justify-content:space-between;border-radius:.75rem;border-width:1px;border-style:solid;padding-left:.75rem;padding-right:.75rem}._inputContainer_1eunw_5::-moz-placeholder{--tw-placeholder-opacity: 1;color:rgb(156 163 175 / var(--tw-placeholder-opacity, 1))}._inputContainer_1eunw_5:-ms-input-placeholder{--tw-placeholder-opacity: 1;color:rgb(156 163 175 / var(--tw-placeholder-opacity, 1))}._inputContainer_1eunw_5::placeholder{--tw-placeholder-opacity: 1;color:rgb(156 163 175 / var(--tw-placeholder-opacity, 1))}@media (min-width: 640px){._inputContainer_1eunw_5{font-size:.875rem;line-height:1.25rem}}._inputFocus_1eunw_13,._inputContainer_1eunw_5:hover{--tw-border-opacity: 1;border-color:rgb(107 114 128 / var(--tw-border-opacity, 1))}._inputContainer_1eunw_5:focus-within:not(._errorInput_1eunw_18):not(._disabled_1eunw_18){box-shadow:0 0 0 2px color-mix(in srgb,var(--input-focus-shadow-color, #5A67D8) 30%,transparent)}._input_1eunw_5{background-color:transparent;display:block;height:100%;width:100%;border-style:none;font-size:1rem;font-weight:400;outline:2px solid transparent;outline-offset:2px}._endContent_1eunw_27{display:flex;align-items:center;justify-content:center}._errorInput_1eunw_18{--tw-border-opacity: 1;border-color:rgb(220 38 38 / var(--tw-border-opacity, 1));--tw-text-opacity: 1;color:rgb(220 38 38 / var(--tw-text-opacity, 1))}._errorInput_1eunw_18:hover{--tw-border-opacity: 1;border-color:rgb(220 38 38 / var(--tw-border-opacity, 1));--tw-ring-opacity: 1;--tw-ring-color: rgb(220 38 38 / var(--tw-ring-opacity, 1))}._errorInput_1eunw_18:focus{--tw-border-opacity: 1;border-color:rgb(220 38 38 / var(--tw-border-opacity, 1));--tw-ring-opacity: 1;--tw-ring-color: rgb(220 38 38 / var(--tw-ring-opacity, 1))}._error_1eunw_18{margin-top:.25rem;margin-bottom:0;padding-left:.25rem;font-size:.75rem;line-height:1rem;font-weight:400;--tw-text-opacity: 1;color:rgb(220 38 38 / var(--tw-text-opacity, 1))}._label_1eunw_39{margin-bottom:2px;display:flex;align-items:flex-end;justify-content:space-between;padding-left:1px;padding-right:.5rem;font-size:.75rem;line-height:1rem;font-weight:400}._labelError_1eunw_43{font-size:.6875rem;--tw-text-opacity: 1;color:rgb(220 38 38 / var(--tw-text-opacity, 1))}._disabled_1eunw_18{border-style:none;--tw-bg-opacity: 1;background-color:rgb(229 231 235 / var(--tw-bg-opacity, 1))}._disabledInput_1eunw_51{opacity:1;-webkit-appearance:none!important;-webkit-text-fill-color:#9ca3af!important;--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity, 1))}._hidden_1eunw_58{display:none!important}._securityContent_1eunw_62{display:grid;grid-column-gap:5px;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(3,minmax(0,auto))}._container_79xkl_1{display:flex;min-height:292px;width:100%;flex-direction:column;align-items:center;justify-content:center}._title_79xkl_5{margin-top:.5rem;font-weight:300}._container_1cz9d_1{margin-top:.5rem;display:flex;width:100%;flex-grow:1;flex-direction:row;align-items:center;justify-content:flex-start;-moz-column-gap:.25rem;column-gap:.25rem;border-radius:.375rem;--tw-bg-opacity: 1;background-color:rgb(254 231 239 / var(--tw-bg-opacity, 1));padding:.75rem 1rem}._container_1cz9d_1:is(._dark_1cz9d_1 *){background-color:#fee7ef80;--tw-text-opacity: 1;color:rgb(239 68 68 / var(--tw-text-opacity, 1))}._container_1cz9d_1 svg{width:16px;height:16px}._title_1cz9d_10{padding:0;padding-left:.25rem;font-size:.875rem;line-height:1.25rem;font-weight:300;--tw-text-opacity: 1;color:rgb(0 0 0 / var(--tw-text-opacity, 1))}._title_1cz9d_10:is(._dark_1cz9d_1 *){--tw-text-opacity: 1;color:rgb(0 0 0 / var(--tw-text-opacity, 1))}
1
+ ._spinner_k40uq_1{height:100%;width:100%}@keyframes _spin_k40uq_1{to{transform:rotate(360deg)}}._spinner_k40uq_1{animation:_spin_k40uq_1 1s linear infinite;fill:#9ca3af;--tw-text-opacity: 1;color:rgb(229 231 235 / var(--tw-text-opacity, 1))}._spinner_k40uq_1:is(._dark_k40uq_1 *){--tw-text-opacity: 1;color:rgb(75 85 99 / var(--tw-text-opacity, 1))}._spinnerContainer_k40uq_5{height:40px;width:40px}._success_k40uq_9{position:absolute;top:50%;left:50%;width:1.5rem;--tw-translate-x: -50%;--tw-translate-y: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));fill:#16a34a}._successContainer_k40uq_13{position:relative;display:grid;height:2.25rem;width:2.25rem;flex:none;place-items:center;border-radius:9999px;--tw-bg-opacity: 1;background-color:rgb(232 250 240 / var(--tw-bg-opacity, 1))}._successContainer_k40uq_13:is(._dark_k40uq_1 *){--tw-bg-opacity: 1;background-color:rgb(209 244 224 / var(--tw-bg-opacity, 1))}._container_k40uq_17{width:30px;height:20px;display:flex;margin:0 1px;align-items:center;justify-content:center}._card_k40uq_26{width:28px;height:19px;display:flex;margin:0 1px;align-items:center;justify-content:center}._warning_k40uq_35{width:16px;height:16px;display:flex;align-items:center;justify-content:center}._svg_k40uq_43{width:100%;height:100%}._srOnly_k40uq_48{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}._backButton_k40uq_52{width:30px;height:30px;display:flex;margin:0 1px;align-items:center;justify-content:center;background-color:#f4f4f5;border-radius:8px}._loader_nwq3e_1{position:absolute;height:100%;top:0;left:0;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);z-index:1000;display:flex;width:100%;align-items:center;justify-content:center;border-radius:10px}._checkout_tjzsu_1{padding:0 2px;overflow:hidden;z-index:0;position:relative;height:auto;min-height:40px;width:100%;max-width:640px}._hidden_tjzsu_8{display:none!important}._formInitial_tjzsu_12{opacity:0;transform:translateY(100px)}._btnsInitial_tjzsu_17{opacity:0;transform:translateY(-100px)}._buttons_1i8cu_1{display:grid;gap:.5rem}._hidden_1i8cu_5{display:none!important}._applePay_f1ztr_1{display:flex;flex-direction:column;gap:8px}@media (hover: hover){._applePay_f1ztr_1:hover{filter:contrast(.575) brightness(1.2)}}._hidden_f1ztr_28{display:none!important}._googlePay_gmreq_1{display:flex;flex-direction:column;gap:8px}._hidden_gmreq_20{display:none!important}._paypal_90mm5_1{display:flex;flex-direction:column;gap:8px}._hidden_90mm5_12{display:none}._button_1bl11_1{transition-property:transform,color,background,background-color,border-color,text-decoration-color,fill,stroke,opacity;transition-timing-function:ease;transition-duration:.25s;position:relative;z-index:0;box-sizing:border-box;display:inline-flex;height:2.5rem;width:100%;min-width:5rem;transform:translate3d(var(--tw-translate-x),var(--tw-translate-y),0) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-appearance:none;-moz-appearance:none;appearance:none;align-items:center;justify-content:center;overflow:hidden;white-space:nowrap;border-radius:.75rem;border-style:none;--tw-bg-opacity: 1;background-color:rgb(13 118 110 / var(--tw-bg-opacity, 1));padding-left:1rem;padding-right:1rem;font-size:1rem;line-height:1.5rem;font-weight:400;--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1));-webkit-font-smoothing:auto;-moz-osx-font-smoothing:auto;outline:2px solid transparent;outline-offset:2px}@media (prefers-reduced-motion: reduce){._button_1bl11_1{transition-property:none}}._button_1bl11_1 span{margin-left:.25rem}@media (hover: hover){._button_1bl11_1:hover{opacity:.7}}._button_1bl11_1:active{transform:scale(.95)}._container_10ziz_2{display:flex;flex-direction:column;gap:.5rem}._venmo_10ziz_8{display:flex;justify-content:center;align-items:center;overflow:hidden;border-radius:12px;height:40px;background-color:#0088f7;width:100%;color:#fff;font-size:16px;text-align:center;cursor:pointer;transition:background-color .3s ease;svg{height:40%}@media (hover: hover){&:hover{background-color:#5683c1}}}._hidden_10ziz_35{display:none}._button_125my_1{cursor:pointer}._button_439a3_1{transition-property:transform,color,background,background-color,border-color,text-decoration-color,fill,stroke,opacity;transition-timing-function:ease;transition-duration:.25s;position:relative;z-index:0;box-sizing:border-box;display:inline-flex;height:2.5rem;width:100%;min-width:5rem;transform:translate3d(var(--tw-translate-x),var(--tw-translate-y),0) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-appearance:none;-moz-appearance:none;appearance:none;align-items:center;justify-content:center;overflow:hidden;white-space:nowrap;border-radius:.75rem;border-style:none;--tw-bg-opacity: 1;background-color:rgb(13 118 110 / var(--tw-bg-opacity, 1));padding-left:1rem;padding-right:1rem;font-size:.875rem;line-height:1.25rem;font-weight:400;--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1));-webkit-font-smoothing:auto;-moz-osx-font-smoothing:auto;outline:2px solid transparent;outline-offset:2px}@media (prefers-reduced-motion: reduce){._button_439a3_1{transition-property:none}}._button_439a3_1 span{margin-left:.25rem}._disabled_439a3_17{opacity:.7}@media (hover: hover){._button_439a3_1:hover{opacity:.7}}._press_439a3_27:active{transform:scale(.95)}._hidden_439a3_31{display:none!important}._spinner_439a3_35{width:24px;height:24px}._cardForm_6gjbg_1{position:relative;display:grid;min-height:292px;gap:.75rem;padding-top:0}._hidden_6gjbg_5{display:none!important}._topOffset_6gjbg_9{margin-top:.5rem}._wrapper_1gvzd_1{position:relative}._inputContainer_1gvzd_5{background-color:transparent;border-color:#e0e0e0;box-shadow:0 0 0 1px #e0e0e0,0 2px 4px #00000012,0 1px 1.5px #0000000d;transition:box-shadow .2s ease-in-out;box-sizing:border-box;display:flex;height:40px;width:100%;cursor:text;align-items:center;justify-content:space-between;border-radius:.75rem;border-width:1px;border-style:solid;padding-left:.75rem;padding-right:.75rem}._inputContainer_1gvzd_5::-moz-placeholder{--tw-placeholder-opacity: 1;color:rgb(156 163 175 / var(--tw-placeholder-opacity, 1))}._inputContainer_1gvzd_5:-ms-input-placeholder{--tw-placeholder-opacity: 1;color:rgb(156 163 175 / var(--tw-placeholder-opacity, 1))}._inputContainer_1gvzd_5::placeholder{--tw-placeholder-opacity: 1;color:rgb(156 163 175 / var(--tw-placeholder-opacity, 1))}@media (min-width: 640px){._inputContainer_1gvzd_5{font-size:.875rem;line-height:1.25rem}}._inputFocus_1gvzd_13{--tw-border-opacity: 1;border-color:rgb(107 114 128 / var(--tw-border-opacity, 1))}@media (hover: hover){._inputContainer_1gvzd_5:hover{--tw-border-opacity: 1;border-color:rgb(107 114 128 / var(--tw-border-opacity, 1))}}._inputContainer_1gvzd_5:focus-within:not(._errorInput_1gvzd_23):not(._disabled_1gvzd_23){box-shadow:0 0 0 2px color-mix(in srgb,var(--input-focus-shadow-color, #5A67D8) 30%,transparent)}._input_1gvzd_5{background-color:transparent;display:block;height:100%;width:100%;border-style:none;font-size:1rem;font-weight:400;outline:2px solid transparent;outline-offset:2px}._endContent_1gvzd_32{display:flex}._errorInput_1gvzd_23{--tw-border-opacity: 1;border-color:rgb(220 38 38 / var(--tw-border-opacity, 1));--tw-text-opacity: 1;color:rgb(220 38 38 / var(--tw-text-opacity, 1))}._errorInput_1gvzd_23:hover{--tw-border-opacity: 1;border-color:rgb(220 38 38 / var(--tw-border-opacity, 1));--tw-ring-opacity: 1;--tw-ring-color: rgb(220 38 38 / var(--tw-ring-opacity, 1))}._errorInput_1gvzd_23:focus{--tw-border-opacity: 1;border-color:rgb(220 38 38 / var(--tw-border-opacity, 1));--tw-ring-opacity: 1;--tw-ring-color: rgb(220 38 38 / var(--tw-ring-opacity, 1))}._label_1gvzd_40{margin-bottom:2px;display:flex;align-items:flex-end;justify-content:space-between;padding-left:1px;padding-right:.5rem;font-size:.75rem;line-height:1rem;font-weight:400}._labelError_1gvzd_44{font-size:.6875rem;--tw-text-opacity: 1;color:rgb(220 38 38 / var(--tw-text-opacity, 1))}._disabled_1gvzd_23{border-style:none;--tw-bg-opacity: 1;background-color:rgb(229 231 235 / var(--tw-bg-opacity, 1))}._disabledInput_1gvzd_52{opacity:1;-webkit-appearance:none!important;-webkit-text-fill-color:#9ca3af!important;--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity, 1))}._hidden_1gvzd_59{display:none!important}._wrapper_1dxfo_1{position:relative}._inputContainer_1dxfo_5{background-color:transparent;border-color:#e0e0e0;box-shadow:0 0 0 1px #e0e0e0,0 2px 4px #00000012,0 1px 1.5px #0000000d;transition:box-shadow .2s ease-in-out;box-sizing:border-box;display:flex;height:40px;width:100%;cursor:text;align-items:center;justify-content:space-between;border-radius:.75rem;border-width:1px;border-style:solid;padding-left:.75rem;padding-right:.75rem}._inputContainer_1dxfo_5::-moz-placeholder{--tw-placeholder-opacity: 1;color:rgb(156 163 175 / var(--tw-placeholder-opacity, 1))}._inputContainer_1dxfo_5:-ms-input-placeholder{--tw-placeholder-opacity: 1;color:rgb(156 163 175 / var(--tw-placeholder-opacity, 1))}._inputContainer_1dxfo_5::placeholder{--tw-placeholder-opacity: 1;color:rgb(156 163 175 / var(--tw-placeholder-opacity, 1))}@media (min-width: 640px){._inputContainer_1dxfo_5{font-size:.875rem;line-height:1.25rem}}._inputFocus_1dxfo_13{--tw-border-opacity: 1;border-color:rgb(107 114 128 / var(--tw-border-opacity, 1))}@media (hover: hover){._inputContainer_1dxfo_5:hover{--tw-border-opacity: 1;border-color:rgb(107 114 128 / var(--tw-border-opacity, 1))}}._inputContainer_1dxfo_5:focus-within:not(._errorInput_1dxfo_23):not(._disabled_1dxfo_23){box-shadow:0 0 0 2px color-mix(in srgb,var(--input-focus-shadow-color, #5A67D8) 30%,transparent)}._input_1dxfo_5{background-color:transparent;display:block;height:100%;width:100%;border-style:none;font-size:1rem;font-weight:400;outline:2px solid transparent;outline-offset:2px}._endContent_1dxfo_32{display:flex}._errorInput_1dxfo_23{--tw-border-opacity: 1;border-color:rgb(220 38 38 / var(--tw-border-opacity, 1));--tw-text-opacity: 1;color:rgb(220 38 38 / var(--tw-text-opacity, 1))}._errorInput_1dxfo_23:hover{--tw-border-opacity: 1;border-color:rgb(220 38 38 / var(--tw-border-opacity, 1));--tw-ring-opacity: 1;--tw-ring-color: rgb(220 38 38 / var(--tw-ring-opacity, 1))}._errorInput_1dxfo_23:focus{--tw-border-opacity: 1;border-color:rgb(220 38 38 / var(--tw-border-opacity, 1));--tw-ring-opacity: 1;--tw-ring-color: rgb(220 38 38 / var(--tw-ring-opacity, 1))}._error_1dxfo_23{margin-top:.25rem;margin-bottom:0;padding-left:.25rem;font-size:.75rem;line-height:1rem;font-weight:400;--tw-text-opacity: 1;color:rgb(220 38 38 / var(--tw-text-opacity, 1))}._label_1dxfo_44{margin-bottom:2px;display:flex;align-items:flex-end;justify-content:space-between;padding-left:1px;padding-right:.5rem;font-size:.75rem;line-height:1rem;font-weight:400}._labelError_1dxfo_48{font-size:.6875rem;--tw-text-opacity: 1;color:rgb(220 38 38 / var(--tw-text-opacity, 1))}._disabled_1dxfo_23{border-style:none;--tw-bg-opacity: 1;background-color:rgb(229 231 235 / var(--tw-bg-opacity, 1))}._disabledInput_1dxfo_56{opacity:1;-webkit-appearance:none!important;-webkit-text-fill-color:#9ca3af!important;--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity, 1))}._hidden_1dxfo_63{display:none!important}._wrapper_27yo3_1{position:relative}._inputContainer_27yo3_5{background-color:transparent;border-color:#e0e0e0;box-shadow:0 0 0 1px #e0e0e0,0 2px 4px #00000012,0 1px 1.5px #0000000d;transition:box-shadow .2s ease-in-out;box-sizing:border-box;display:flex;height:40px;width:100%;cursor:text;align-items:center;justify-content:space-between;border-radius:.75rem;border-width:1px;border-style:solid;padding-left:.75rem;padding-right:.75rem}._inputContainer_27yo3_5::-moz-placeholder{--tw-placeholder-opacity: 1;color:rgb(156 163 175 / var(--tw-placeholder-opacity, 1))}._inputContainer_27yo3_5:-ms-input-placeholder{--tw-placeholder-opacity: 1;color:rgb(156 163 175 / var(--tw-placeholder-opacity, 1))}._inputContainer_27yo3_5::placeholder{--tw-placeholder-opacity: 1;color:rgb(156 163 175 / var(--tw-placeholder-opacity, 1))}@media (min-width: 640px){._inputContainer_27yo3_5{font-size:.875rem;line-height:1.25rem}}._inputFocus_27yo3_13{--tw-border-opacity: 1;border-color:rgb(107 114 128 / var(--tw-border-opacity, 1))}@media (hover: hover){._inputContainer_27yo3_5:hover{--tw-border-opacity: 1;border-color:rgb(107 114 128 / var(--tw-border-opacity, 1))}}._inputContainer_27yo3_5:focus-within:not(._errorInput_27yo3_23):not(._disabled_27yo3_23){box-shadow:0 0 0 2px color-mix(in srgb,var(--input-focus-shadow-color, #5A67D8) 30%,transparent)}._input_27yo3_5{background-color:transparent;display:block;height:100%;width:100%;border-style:none;font-size:1rem;font-weight:400;outline:2px solid transparent;outline-offset:2px}._endContent_27yo3_32{display:flex;align-items:center;justify-content:center}._errorInput_27yo3_23{--tw-border-opacity: 1;border-color:rgb(220 38 38 / var(--tw-border-opacity, 1));--tw-text-opacity: 1;color:rgb(220 38 38 / var(--tw-text-opacity, 1))}._errorInput_27yo3_23:hover{--tw-border-opacity: 1;border-color:rgb(220 38 38 / var(--tw-border-opacity, 1));--tw-ring-opacity: 1;--tw-ring-color: rgb(220 38 38 / var(--tw-ring-opacity, 1))}._errorInput_27yo3_23:focus{--tw-border-opacity: 1;border-color:rgb(220 38 38 / var(--tw-border-opacity, 1));--tw-ring-opacity: 1;--tw-ring-color: rgb(220 38 38 / var(--tw-ring-opacity, 1))}._error_27yo3_23{margin-top:.25rem;margin-bottom:0;padding-left:.25rem;font-size:.75rem;line-height:1rem;font-weight:400;--tw-text-opacity: 1;color:rgb(220 38 38 / var(--tw-text-opacity, 1))}._label_27yo3_44{margin-bottom:2px;display:flex;align-items:flex-end;justify-content:space-between;padding-left:1px;padding-right:.5rem;font-size:.75rem;line-height:1rem;font-weight:400}._labelError_27yo3_48{font-size:.6875rem;--tw-text-opacity: 1;color:rgb(220 38 38 / var(--tw-text-opacity, 1))}._disabled_27yo3_23{border-style:none;--tw-bg-opacity: 1;background-color:rgb(229 231 235 / var(--tw-bg-opacity, 1))}._disabledInput_27yo3_56{opacity:1;-webkit-appearance:none!important;-webkit-text-fill-color:#9ca3af!important;--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity, 1))}._hidden_27yo3_63{display:none!important}._securityContent_27yo3_67{display:grid;grid-column-gap:5px;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(3,minmax(0,auto))}._container_79xkl_1{display:flex;min-height:292px;width:100%;flex-direction:column;align-items:center;justify-content:center}._title_79xkl_5{margin-top:.5rem;font-weight:300}._container_1cz9d_1{margin-top:.5rem;display:flex;width:100%;flex-grow:1;flex-direction:row;align-items:center;justify-content:flex-start;-moz-column-gap:.25rem;column-gap:.25rem;border-radius:.375rem;--tw-bg-opacity: 1;background-color:rgb(254 231 239 / var(--tw-bg-opacity, 1));padding:.75rem 1rem}._container_1cz9d_1:is(._dark_1cz9d_1 *){background-color:#fee7ef80;--tw-text-opacity: 1;color:rgb(239 68 68 / var(--tw-text-opacity, 1))}._container_1cz9d_1 svg{width:16px;height:16px}._title_1cz9d_10{padding:0;padding-left:.25rem;font-size:.875rem;line-height:1.25rem;font-weight:300;--tw-text-opacity: 1;color:rgb(0 0 0 / var(--tw-text-opacity, 1))}._title_1cz9d_10:is(._dark_1cz9d_1 *){--tw-text-opacity: 1;color:rgb(0 0 0 / var(--tw-text-opacity, 1))}
package/dist/index.d.ts CHANGED
@@ -83,6 +83,15 @@ declare interface CheckoutConfig_2 {
83
83
  state: ICheckoutState;
84
84
  }
85
85
 
86
+ declare interface CheckoutError {
87
+ status: 'declined' | 'failed';
88
+ status_reason: {
89
+ advice_code: 'try_again_later' | 'do_not_try_again';
90
+ decline_code: DeclineCode;
91
+ message: string;
92
+ };
93
+ }
94
+
86
95
  declare class CheckoutModule {
87
96
  private readonly config;
88
97
  private component;
@@ -266,15 +275,6 @@ declare interface ICheckoutState {
266
275
  styles: StylesState;
267
276
  }
268
277
 
269
- declare interface IErrorInterface {
270
- status: 'declined' | 'failed';
271
- status_reason: {
272
- advice_code: 'try_again_later' | 'do_not_try_again';
273
- decline_code: DeclineCode;
274
- message: string;
275
- };
276
- }
277
-
278
278
  declare interface IGooglePayButtonStyles {
279
279
  styles?: Partial<Pick<GooglePayOptions, 'type' | 'color' | 'borderRadius' | 'size'>>;
280
280
  }
@@ -412,7 +412,7 @@ export declare interface PaymentResult {
412
412
  type: string;
413
413
  };
414
414
  refunded_amount: number;
415
- status_reason: IErrorInterface;
415
+ status_reason: CheckoutError;
416
416
  subscription?: {
417
417
  id: string;
418
418
  created_at: string;
@@ -490,7 +490,7 @@ export declare interface PayNextConfig {
490
490
  locale?: Locale;
491
491
  onCheckoutAttempt?: (result: AttemptResult) => void;
492
492
  onCheckoutComplete?: (result: PaymentResult) => void;
493
- onCheckoutFail?: (error: IErrorInterface) => void;
493
+ onCheckoutFail?: (error: CheckoutError) => void;
494
494
  }
495
495
 
496
496
  declare class PayPalService {
package/dist/index.es.js CHANGED
@@ -3245,7 +3245,7 @@ const Lc = "_checkout_tjzsu_1", xc = "_hidden_tjzsu_8", Pc = "_formInitial_tjzsu
3245
3245
  }, kc = "_buttons_1i8cu_1", Sc = "_hidden_1i8cu_5", xt = {
3246
3246
  buttons: kc,
3247
3247
  hidden: Sc
3248
- }, Mc = "_applePay_1ce61_1", Dc = "_hidden_1ce61_26", Pt = {
3248
+ }, Mc = "_applePay_f1ztr_1", Dc = "_hidden_f1ztr_28", Pt = {
3249
3249
  applePay: Mc,
3250
3250
  hidden: Dc
3251
3251
  };
@@ -4438,7 +4438,7 @@ class fl {
4438
4438
  return this.element;
4439
4439
  }
4440
4440
  }
4441
- const ml = "_button_13xr0_1", _r = {
4441
+ const ml = "_button_1bl11_1", _r = {
4442
4442
  button: ml
4443
4443
  };
4444
4444
  class vl {
@@ -4460,7 +4460,7 @@ class vl {
4460
4460
  return this.element;
4461
4461
  }
4462
4462
  }
4463
- const gl = (n, t, e) => t.concat(n.filter((r) => t.every((a) => !e(r, a)))), yl = "_container_1sjan_2", bl = "_venmo_1sjan_8", El = "_hidden_1sjan_33", mt = {
4463
+ const gl = (n, t, e) => t.concat(n.filter((r) => t.every((a) => !e(r, a)))), yl = "_container_10ziz_2", bl = "_venmo_10ziz_8", El = "_hidden_10ziz_35", mt = {
4464
4464
  container: yl,
4465
4465
  venmo: bl,
4466
4466
  hidden: El
@@ -4830,7 +4830,7 @@ class Nl {
4830
4830
  return this.element;
4831
4831
  }
4832
4832
  }
4833
- const Ll = "_button_15hbg_1", xl = "_disabled_15hbg_17", Pl = "_press_15hbg_27", Rl = "_hidden_15hbg_31", kl = "_spinner_15hbg_35", we = {
4833
+ const Ll = "_button_439a3_1", xl = "_disabled_439a3_17", Pl = "_press_439a3_27", Rl = "_hidden_439a3_31", kl = "_spinner_439a3_35", we = {
4834
4834
  button: Ll,
4835
4835
  disabled: xl,
4836
4836
  press: Pl,
@@ -4860,7 +4860,7 @@ const Ml = "_cardForm_6gjbg_1", Dl = "_hidden_6gjbg_5", Vl = "_topOffset_6gjbg_9
4860
4860
  cardForm: Ml,
4861
4861
  hidden: Dl,
4862
4862
  topOffset: Vl
4863
- }, Fl = "_wrapper_1n35b_1", Ul = "_inputContainer_1n35b_5", Bl = "_errorInput_1n35b_18", jl = "_disabled_1n35b_18", zl = "_input_1n35b_5", Kl = "_label_1n35b_35", Hl = "_labelError_1n35b_39", Wl = "_disabledInput_1n35b_47", Yl = "_hidden_1n35b_54", se = {
4863
+ }, Fl = "_wrapper_1gvzd_1", Ul = "_inputContainer_1gvzd_5", Bl = "_errorInput_1gvzd_23", jl = "_disabled_1gvzd_23", zl = "_input_1gvzd_5", Kl = "_label_1gvzd_40", Hl = "_labelError_1gvzd_44", Wl = "_disabledInput_1gvzd_52", Yl = "_hidden_1gvzd_59", se = {
4864
4864
  wrapper: Fl,
4865
4865
  inputContainer: Ul,
4866
4866
  errorInput: Bl,
@@ -4960,7 +4960,7 @@ class Gl {
4960
4960
  return this.toggleLabelError(r), this.isDisabled ? (this.inputContainer.classList.add(se.disabled), this.input.classList.add(se.disabledInput)) : (this.inputContainer.classList.remove(se.disabled), this.input.classList.remove(se.disabledInput)), this.element;
4961
4961
  }
4962
4962
  }
4963
- const $l = "_wrapper_yhhlp_1", ql = "_inputContainer_yhhlp_5", Ql = "_errorInput_yhhlp_18", Xl = "_disabled_yhhlp_18", Zl = "_input_yhhlp_5", Jl = "_endContent_yhhlp_27", eu = "_error_yhhlp_18", tu = "_label_yhhlp_39", nu = "_labelError_yhhlp_43", ru = "_disabledInput_yhhlp_51", iu = "_hidden_yhhlp_58", ie = {
4963
+ const $l = "_wrapper_1dxfo_1", ql = "_inputContainer_1dxfo_5", Ql = "_errorInput_1dxfo_23", Xl = "_disabled_1dxfo_23", Zl = "_input_1dxfo_5", Jl = "_endContent_1dxfo_32", eu = "_error_1dxfo_23", tu = "_label_1dxfo_44", nu = "_labelError_1dxfo_48", ru = "_disabledInput_1dxfo_56", iu = "_hidden_1dxfo_63", ie = {
4964
4964
  wrapper: $l,
4965
4965
  inputContainer: ql,
4966
4966
  errorInput: Ql,
@@ -5337,7 +5337,7 @@ ${m}::-ms-input-placeholder{${f}}
5337
5337
  return this.toggleLabelError(e), this.toggleErrorMessage(r), !e && !r ? (this.inputContainer.classList.remove(ie.errorInput), this.endContent.innerHTML = "", this.endContent.append(...this.getCardIcons())) : (this.endContent.innerHTML = "", this.endContent.appendChild(this.unknownCard.render())), this.isDisabled ? (this.inputContainer.classList.add(ie.disabled), this.input.classList.add(ie.disabledInput)) : (this.inputContainer.classList.remove(ie.disabled), this.input.classList.remove(ie.disabledInput)), this.element;
5338
5338
  }
5339
5339
  }
5340
- const pu = "_inputContainer_1eunw_5", hu = "_errorInput_1eunw_18", fu = "_disabled_1eunw_18", mu = "_input_1eunw_5", vu = "_endContent_1eunw_27", gu = "_error_1eunw_18", yu = "_label_1eunw_39", bu = "_labelError_1eunw_43", Eu = "_disabledInput_1eunw_51", _u = "_hidden_1eunw_58", Cu = "_securityContent_1eunw_62", X = {
5340
+ const pu = "_inputContainer_27yo3_5", hu = "_errorInput_27yo3_23", fu = "_disabled_27yo3_23", mu = "_input_27yo3_5", vu = "_endContent_27yo3_32", gu = "_error_27yo3_23", yu = "_label_27yo3_44", bu = "_labelError_27yo3_48", Eu = "_disabledInput_27yo3_56", _u = "_hidden_27yo3_63", Cu = "_securityContent_27yo3_67", X = {
5341
5341
  inputContainer: pu,
5342
5342
  errorInput: hu,
5343
5343
  disabled: fu,
@@ -6092,7 +6092,7 @@ const Uu = {
6092
6092
  }
6093
6093
  },
6094
6094
  pay: {
6095
- button: "الراتب"
6095
+ button: "ادفع الآن"
6096
6096
  },
6097
6097
  compact: {
6098
6098
  button: "البطاقة"
@@ -6140,7 +6140,7 @@ const Uu = {
6140
6140
  }
6141
6141
  },
6142
6142
  pay: {
6143
- button: "Платете"
6143
+ button: "Платете сега"
6144
6144
  },
6145
6145
  compact: {
6146
6146
  button: "Карта"
@@ -6188,7 +6188,7 @@ const Uu = {
6188
6188
  }
6189
6189
  },
6190
6190
  pay: {
6191
- button: "Platit"
6191
+ button: "Zaplatit nyní"
6192
6192
  },
6193
6193
  compact: {
6194
6194
  button: "Karta"
@@ -6236,7 +6236,7 @@ const Uu = {
6236
6236
  }
6237
6237
  },
6238
6238
  pay: {
6239
- button: "Betal"
6239
+ button: "Betal nu"
6240
6240
  },
6241
6241
  compact: {
6242
6242
  button: "Kredit- eller betalingskort"
@@ -6284,7 +6284,7 @@ const Uu = {
6284
6284
  }
6285
6285
  },
6286
6286
  pay: {
6287
- button: "Bezahlen"
6287
+ button: "Jetzt bezahlen"
6288
6288
  },
6289
6289
  compact: {
6290
6290
  button: "Kredit- oder Debitkarte"
@@ -6332,7 +6332,7 @@ const Uu = {
6332
6332
  }
6333
6333
  },
6334
6334
  pay: {
6335
- button: "Πληρωμή"
6335
+ button: "Πληρώστε τώρα"
6336
6336
  },
6337
6337
  compact: {
6338
6338
  button: "Kάρτα"
@@ -6380,7 +6380,7 @@ const Uu = {
6380
6380
  }
6381
6381
  },
6382
6382
  pay: {
6383
- button: "Pay"
6383
+ button: "Pay Now"
6384
6384
  },
6385
6385
  compact: {
6386
6386
  button: "Card"
@@ -6391,19 +6391,6 @@ const Uu = {
6391
6391
  error: "We are unable to authenticate your payment method. Please choose a different payment method and try again.",
6392
6392
  invalidSession: "Invalid session"
6393
6393
  }
6394
- // errors: {
6395
- // doNotHonor: 'Do Not Honor',
6396
- // insufficientFunds: 'Insufficient Funds',
6397
- // limitExceeded: 'Limit Exceeded',
6398
- // expiredCard: 'Expired Card',
6399
- // invalidCreditCardNumber: 'Invalid Credit Card Number',
6400
- // processorDeclinedFraudSuspected: 'Processor Declined – Fraud Suspected',
6401
- // cardholderAuthenticationRequired: 'Cardholder Authentication Required',
6402
- // offlineIssuerDeclined: 'Offline Issuer Declined',
6403
- // cardReportedAsLostOrStolen: 'Card reported as lost or stolen',
6404
- // invalidSecurePaymentData: 'Invalid Secure Payment Data',
6405
- // declined: 'Your card was declined. Please, try a different card.',
6406
- // },
6407
6394
  }, Wu = {
6408
6395
  card: {
6409
6396
  required: "OBLIGATORIO",
@@ -6441,7 +6428,7 @@ const Uu = {
6441
6428
  }
6442
6429
  },
6443
6430
  pay: {
6444
- button: "Pagar"
6431
+ button: "Pagar ahora"
6445
6432
  },
6446
6433
  compact: {
6447
6434
  button: "Tarjeta"
@@ -6489,7 +6476,7 @@ const Uu = {
6489
6476
  }
6490
6477
  },
6491
6478
  pay: {
6492
- button: "Maksa"
6479
+ button: "Maksa kohe"
6493
6480
  },
6494
6481
  compact: {
6495
6482
  button: "Krediit- või deebetkaart"
@@ -6537,7 +6524,7 @@ const Uu = {
6537
6524
  }
6538
6525
  },
6539
6526
  pay: {
6540
- button: "Maksa"
6527
+ button: "Maksa nyt"
6541
6528
  },
6542
6529
  compact: {
6543
6530
  button: "Luotto- tai pankkikortti"
@@ -6585,7 +6572,7 @@ const Uu = {
6585
6572
  }
6586
6573
  },
6587
6574
  pay: {
6588
- button: "Magbayad"
6575
+ button: "Magbayad ngayon"
6589
6576
  },
6590
6577
  compact: {
6591
6578
  button: "Luotto- tai pankkikortti"
@@ -6633,7 +6620,7 @@ const Uu = {
6633
6620
  }
6634
6621
  },
6635
6622
  pay: {
6636
- button: "Payer"
6623
+ button: "Payer maintenant"
6637
6624
  },
6638
6625
  compact: {
6639
6626
  button: "Carte"
@@ -6681,7 +6668,7 @@ const Uu = {
6681
6668
  }
6682
6669
  },
6683
6670
  pay: {
6684
- button: "Plati"
6671
+ button: "Plati sada"
6685
6672
  },
6686
6673
  compact: {
6687
6674
  button: "Kartica"
@@ -6729,7 +6716,7 @@ const Uu = {
6729
6716
  }
6730
6717
  },
6731
6718
  pay: {
6732
- button: "Fizetés"
6719
+ button: "Fizess most"
6733
6720
  },
6734
6721
  compact: {
6735
6722
  button: "Hitel- vagy bankkártya"
@@ -6777,7 +6764,7 @@ const Uu = {
6777
6764
  }
6778
6765
  },
6779
6766
  pay: {
6780
- button: "Bayar"
6767
+ button: "Bayar sekarang"
6781
6768
  },
6782
6769
  compact: {
6783
6770
  button: "Kartu"
@@ -6825,7 +6812,7 @@ const Uu = {
6825
6812
  }
6826
6813
  },
6827
6814
  pay: {
6828
- button: "Paga"
6815
+ button: "Paga ora"
6829
6816
  },
6830
6817
  compact: {
6831
6818
  button: "Carta"
@@ -6873,7 +6860,7 @@ const Uu = {
6873
6860
  }
6874
6861
  },
6875
6862
  pay: {
6876
- button: "支払う"
6863
+ button: "今すぐ支払う"
6877
6864
  },
6878
6865
  compact: {
6879
6866
  button: "カード"
@@ -6921,7 +6908,7 @@ const Uu = {
6921
6908
  }
6922
6909
  },
6923
6910
  pay: {
6924
- button: "결제"
6911
+ button: "지금 결제"
6925
6912
  },
6926
6913
  compact: {
6927
6914
  button: "카드 번호"
@@ -6969,7 +6956,7 @@ const Uu = {
6969
6956
  }
6970
6957
  },
6971
6958
  pay: {
6972
- button: "Mokėti"
6959
+ button: "Mokėti dabar"
6973
6960
  },
6974
6961
  compact: {
6975
6962
  button: "Kortelė"
@@ -7017,7 +7004,7 @@ const Uu = {
7017
7004
  }
7018
7005
  },
7019
7006
  pay: {
7020
- button: "Maksāt"
7007
+ button: "Maksāt tūlīt"
7021
7008
  },
7022
7009
  compact: {
7023
7010
  button: "Karte"
@@ -7065,7 +7052,7 @@ const Uu = {
7065
7052
  }
7066
7053
  },
7067
7054
  pay: {
7068
- button: "Bayar"
7055
+ button: "Bayar sekarang"
7069
7056
  },
7070
7057
  compact: {
7071
7058
  button: "Kad"
@@ -7113,7 +7100,7 @@ const Uu = {
7113
7100
  }
7114
7101
  },
7115
7102
  pay: {
7116
- button: "Ħallas"
7103
+ button: "Ħallas issa"
7117
7104
  },
7118
7105
  compact: {
7119
7106
  button: "Karta"
@@ -7161,7 +7148,7 @@ const Uu = {
7161
7148
  }
7162
7149
  },
7163
7150
  pay: {
7164
- button: "Betal"
7151
+ button: "Betal"
7165
7152
  },
7166
7153
  compact: {
7167
7154
  button: "Kort"
@@ -7209,7 +7196,7 @@ const Uu = {
7209
7196
  }
7210
7197
  },
7211
7198
  pay: {
7212
- button: "Betal"
7199
+ button: "Betal"
7213
7200
  },
7214
7201
  compact: {
7215
7202
  button: "Kort"
@@ -7257,7 +7244,7 @@ const Uu = {
7257
7244
  }
7258
7245
  },
7259
7246
  pay: {
7260
- button: "Betalen"
7247
+ button: "Nu betalen"
7261
7248
  },
7262
7249
  compact: {
7263
7250
  button: "Kaart"
@@ -7305,7 +7292,7 @@ const Uu = {
7305
7292
  }
7306
7293
  },
7307
7294
  pay: {
7308
- button: "Zapłać"
7295
+ button: "Zapłać teraz"
7309
7296
  },
7310
7297
  compact: {
7311
7298
  button: "Karta"
@@ -7353,7 +7340,7 @@ const Uu = {
7353
7340
  }
7354
7341
  },
7355
7342
  pay: {
7356
- button: "Pagar"
7343
+ button: "Pagar agora"
7357
7344
  },
7358
7345
  compact: {
7359
7346
  button: "Cartão"
@@ -7401,7 +7388,7 @@ const Uu = {
7401
7388
  }
7402
7389
  },
7403
7390
  pay: {
7404
- button: "Plătiți"
7391
+ button: "Plătește acum"
7405
7392
  },
7406
7393
  compact: {
7407
7394
  button: "Card"
@@ -7449,7 +7436,7 @@ const Uu = {
7449
7436
  }
7450
7437
  },
7451
7438
  pay: {
7452
- button: "Оплатить"
7439
+ button: "Оплатить сейчас"
7453
7440
  },
7454
7441
  compact: {
7455
7442
  button: "Кредитная карта"
@@ -7497,7 +7484,7 @@ const Uu = {
7497
7484
  }
7498
7485
  },
7499
7486
  pay: {
7500
- button: "Сплатити"
7487
+ button: "Оплатити зараз"
7501
7488
  },
7502
7489
  compact: {
7503
7490
  button: "Картка"
@@ -7545,7 +7532,7 @@ const Uu = {
7545
7532
  }
7546
7533
  },
7547
7534
  pay: {
7548
- button: "Zaplatiť"
7535
+ button: "Zaplatiť teraz"
7549
7536
  },
7550
7537
  compact: {
7551
7538
  button: "Karta"
@@ -7593,7 +7580,7 @@ const Uu = {
7593
7580
  }
7594
7581
  },
7595
7582
  pay: {
7596
- button: "Plačaj"
7583
+ button: "Plačaj zdaj"
7597
7584
  },
7598
7585
  compact: {
7599
7586
  button: "Kartica"
@@ -7641,7 +7628,7 @@ const Uu = {
7641
7628
  }
7642
7629
  },
7643
7630
  pay: {
7644
- button: "Betala"
7631
+ button: "Betala nu"
7645
7632
  },
7646
7633
  compact: {
7647
7634
  button: "Kort"
@@ -7689,7 +7676,7 @@ const Uu = {
7689
7676
  }
7690
7677
  },
7691
7678
  pay: {
7692
- button: "ชำระเงิน"
7679
+ button: "ชำระเงินตอนนี้"
7693
7680
  },
7694
7681
  compact: {
7695
7682
  button: "การ์ด"
@@ -7737,7 +7724,7 @@ const Uu = {
7737
7724
  }
7738
7725
  },
7739
7726
  pay: {
7740
- button: "Öde"
7727
+ button: "Şimdi öde"
7741
7728
  },
7742
7729
  compact: {
7743
7730
  button: "Kart"
@@ -7785,7 +7772,7 @@ const Uu = {
7785
7772
  }
7786
7773
  },
7787
7774
  pay: {
7788
- button: "Thanh toán"
7775
+ button: "Thanh toán ngay"
7789
7776
  },
7790
7777
  compact: {
7791
7778
  button: "Thẻ"
@@ -7833,7 +7820,7 @@ const Uu = {
7833
7820
  }
7834
7821
  },
7835
7822
  pay: {
7836
- button: "支付"
7823
+ button: "立即支付"
7837
7824
  },
7838
7825
  compact: {
7839
7826
  button: "卡片"