@primer-io/primer-js 0.9.0 → 0.11.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/CHANGELOG.md +12 -0
- package/dist/custom-elements.json +968 -886
- package/dist/jsx/index.d.ts +8 -8
- package/dist/primer-loader.d.ts +150 -81
- package/dist/primer-loader.js +10 -10
- package/dist/vscode.html-custom-data.json +6 -7
- package/dist/web-types.json +9 -13
- package/package.json +1 -1
|
@@ -2,35 +2,6 @@
|
|
|
2
2
|
"schemaVersion": "1.0.0",
|
|
3
3
|
"readme": "",
|
|
4
4
|
"modules": [
|
|
5
|
-
{
|
|
6
|
-
"kind": "javascript-module",
|
|
7
|
-
"path": "e2e/utils.ts",
|
|
8
|
-
"declarations": [
|
|
9
|
-
{
|
|
10
|
-
"kind": "variable",
|
|
11
|
-
"name": "test",
|
|
12
|
-
"default": "chromaticTest"
|
|
13
|
-
}
|
|
14
|
-
],
|
|
15
|
-
"exports": [
|
|
16
|
-
{
|
|
17
|
-
"kind": "js",
|
|
18
|
-
"name": "expect",
|
|
19
|
-
"declaration": {
|
|
20
|
-
"name": "expect",
|
|
21
|
-
"package": "@chromatic-com/playwright"
|
|
22
|
-
}
|
|
23
|
-
},
|
|
24
|
-
{
|
|
25
|
-
"kind": "js",
|
|
26
|
-
"name": "test",
|
|
27
|
-
"declaration": {
|
|
28
|
-
"name": "test",
|
|
29
|
-
"module": "e2e/utils.ts"
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
]
|
|
33
|
-
},
|
|
34
5
|
{
|
|
35
6
|
"kind": "javascript-module",
|
|
36
7
|
"path": "dist/primer-loader.js",
|
|
@@ -78,23 +49,23 @@
|
|
|
78
49
|
},
|
|
79
50
|
{
|
|
80
51
|
"kind": "variable",
|
|
81
|
-
"name": "
|
|
52
|
+
"name": "Xa",
|
|
82
53
|
"default": "class{constructor(t){this._methods=t}get(t){return this._methods.get(t)}toArray(){return Array.from(this._methods.values())}size(){return this._methods.size}}"
|
|
83
54
|
},
|
|
84
55
|
{
|
|
85
56
|
"kind": "variable",
|
|
86
|
-
"name": "
|
|
57
|
+
"name": "er",
|
|
87
58
|
"default": "class{constructor(t){this._methods=t}get(t){return this._methods.get(t)}toArray(){return Array.from(this._methods.values())}size(){return this._methods.size}}"
|
|
88
59
|
},
|
|
89
60
|
{
|
|
90
61
|
"kind": "variable",
|
|
91
62
|
"name": "ce",
|
|
92
|
-
"default": "class extends v{constructor(){super(...arguments);this.size=\"large\";this.showCloseButton=!1;this.open=!1}openDialog(){this.open=!0}closeDialog(){let e=document.querySelector(\"primer-dialog\");if(e){e.startExitAnimation();let a=()=>{this.open=!1,this.removeEventListener(\"primer-dialog-close\",a)};this.addEventListener(\"primer-dialog-close\",a)}else this.open=!1}renderContent(){return p`<div class=\"content-container\"><slot></slot>${this.renderSecureHtmlContent()}</div>`}renderSecureHtmlContent(){return this.secureHtmlContent?
|
|
63
|
+
"default": "class extends v{constructor(){super(...arguments);this.size=\"large\";this.showCloseButton=!1;this.open=!1}openDialog(){this.open=!0}closeDialog(){let e=document.querySelector(\"primer-dialog\");if(e){e.startExitAnimation();let a=()=>{this.open=!1,this.removeEventListener(\"primer-dialog-close\",a)};this.addEventListener(\"primer-dialog-close\",a)}else this.open=!1}renderContent(){return p`<div class=\"content-container\"><slot></slot>${this.renderSecureHtmlContent()}</div>`}renderSecureHtmlContent(){return this.secureHtmlContent?Gi(this.secureHtmlContent)?p`${Vo(this.secureHtmlContent.content)}`:(E.warn(\"PortalDialogComponent: Invalid access token provided for htmlContent. Content will not be rendered.\"),g):g}renderDialog(){return this.open?p`<primer-portal><primer-dialog .open=${this.open} size=${this.size} .showCloseButton=${!1} @primer-dialog-close=\"${()=>this.closeDialog()}\" >${this.renderContent()}</primer-dialog></primer-portal>`:g}connectedCallback(){super.connectedCallback(),this.open||this.openDialog()}updated(e){if(super.updated(e),e.has(\"secureHtmlContent\")){let a=this.secureHtmlContent;a&&!Gi(a)&&(E.errorWithDatadog(\"PortalDialogComponent: Invalid access token provided for htmlContent. Content will not be rendered.\"),this.secureHtmlContent=void 0)}e.has(\"open\")&&this.open&&this.onOpen&&this.onOpen(),e.has(\"open\")&&this.open&&this.onContentRendered&&this.updateComplete.then(()=>{requestAnimationFrame(()=>{this.onContentRendered?.()})})}render(){return p`${this.renderDialog()}`}}"
|
|
93
64
|
},
|
|
94
65
|
{
|
|
95
66
|
"kind": "variable",
|
|
96
67
|
"name": "Ee",
|
|
97
|
-
"default": "class extends v{constructor(){super();this.customStyles=\"\";this.clientToken=\"\";this.options={};this.disableLoader=!1;this._jsInitialized=!1;this.previousLoadingState=!0;this.hasAssignedContent=!1;this._loadingTimeoutId=null;this._eventListenerController=null;this.locale=\"en-GB\";this.onSlotChange=e=>{let i=e.target.assignedNodes({flatten:!0});this.hasAssignedContent=i.length>0,this.requestUpdate()};this.sdkContextController=new
|
|
68
|
+
"default": "class extends v{constructor(){super();this.customStyles=\"\";this.clientToken=\"\";this.options={};this.disableLoader=!1;this._jsInitialized=!1;this.previousLoadingState=!0;this.hasAssignedContent=!1;this._loadingTimeoutId=null;this._eventListenerController=null;this.locale=\"en-GB\";this.onSlotChange=e=>{let i=e.target.assignedNodes({flatten:!0});this.hasAssignedContent=i.length>0,this.requestUpdate()};this.sdkContextController=new za(this),this.sdkStateController=new $a(this),this.primerEventsController=new Ft(this),this.styleProcessingController=new ja(this),this.vaultManagerController=new ia(this),this.cardNetworkController=new Ma(this),this.achPaymentEventsController=new Cr(this),this.headlessSdkController=new br(this)}set jsInitialized(e){this.requestUpdate(),this._jsInitialized=e}get jsInitialized(){return this._jsInitialized}get primerJS(){return this.headlessSdkController?.primerJSInstance??void 0}connectedCallback(){super.connectedCallback(),this.sdkContextController.setEventsController(this.primerEventsController),this._eventListenerController=new AbortController,document.addEventListener(\"primer:card-submit\",this.handleExternalCardSubmit.bind(this),{signal:this._eventListenerController.signal}),document.addEventListener(\"primer:vault-submit\",this.handleExternalVaultSubmit.bind(this),{signal:this._eventListenerController.signal}),document.addEventListener(\"primer:show-other-payments-toggle\",this.handleExternalShowOtherPaymentsToggle.bind(this),{signal:this._eventListenerController.signal})}attributeChangedCallback(e,a,i){e===Su.CUSTOM_STYLES?this.styleProcessingController.processCustomStyles(i):super.attributeChangedCallback(e,a,i)}disconnectedCallback(){this._loadingTimeoutId&&(window.clearTimeout(this._loadingTimeoutId),this._loadingTimeoutId=null),this.sdkStateController?.currentState.isLoading&&this.sdkStateController.forceCompleteLoading(),this._eventListenerController&&(this._eventListenerController.abort(),this._eventListenerController=null),super.disconnectedCallback()}willUpdate(e){e.has(\"options\")&&(this.options?.locale&&(Ni(this.options?.locale)?this.locale=Li(this.options?.locale):E.warn(\"\\u{1F30E}\\u2757 Unsupported locale provided:\",this.options?.locale,\"- Falling back to default locale `en-GB`\")),ki(this.locale||\"en-GB\"))}updated(){let e=getComputedStyle(this);this.sdkContextController.setComputedStyles(e),this.checkLoadingStateChange()}handleExternalCardSubmit(e){this._eventListenerController?.signal.aborted||e.target!==this&&this.primerEventsController.dispatchEvent(\"primer:card-submit\",e.detail)}handleExternalVaultSubmit(e){this._eventListenerController?.signal.aborted||e.target!==this&&this.primerEventsController.dispatchEvent(\"primer:vault-submit\",e.detail)}handleExternalShowOtherPaymentsToggle(e){this._eventListenerController?.signal.aborted||e.target!==this&&this.primerEventsController.dispatchEvent(\"primer:show-other-payments-toggle\",e.detail)}checkLoadingStateChange(){let e=this.sdkStateController?.currentState.isLoading||!1;this.previousLoadingState&&!e&&(this.jsInitialized=!0,Q({eventName:\"CHECKOUT_FLOW_STARTED\"})),this.previousLoadingState=e,e&&!this._loadingTimeoutId?this._loadingTimeoutId=window.setTimeout(()=>{this.sdkStateController?.currentState.isLoading&&(E.warn(\"Loading timeout in component, forcing completion\"),this.sdkStateController.forceCompleteLoading(),this.jsInitialized=!0),this._loadingTimeoutId=null},1e4):!e&&this._loadingTimeoutId&&(window.clearTimeout(this._loadingTimeoutId),this._loadingTimeoutId=null)}render(){let e=this.sdkStateController.currentState,a=e.isLoading,i=e.primerJsError,n=!a&&!i;return p` ${L(a,()=>g)} ${L(i,()=>p`<primer-checkout-error></primer-checkout-error>`)} ${L(n,()=>p`<slot name=\"main\" @slotchange=${this.onSlotChange}></slot>${L(this.hasAssignedContent,()=>g,()=>p`<primer-main></primer-main>`)} `,()=>g)} `}addEventListener(e,a,i){super.addEventListener(e,a,i)}removeEventListener(e,a,i){super.removeEventListener(e,a,i)}}"
|
|
98
69
|
},
|
|
99
70
|
{
|
|
100
71
|
"kind": "function",
|
|
@@ -106,16 +77,16 @@
|
|
|
106
77
|
},
|
|
107
78
|
{
|
|
108
79
|
"kind": "function",
|
|
109
|
-
"name": "
|
|
80
|
+
"name": "Eu"
|
|
110
81
|
},
|
|
111
82
|
{
|
|
112
83
|
"kind": "function",
|
|
113
|
-
"name": "
|
|
84
|
+
"name": "Tu"
|
|
114
85
|
},
|
|
115
86
|
{
|
|
116
87
|
"kind": "variable",
|
|
117
88
|
"name": "He",
|
|
118
|
-
"default": "class extends v{constructor(){super(...arguments);this.color=\"var(--primer-color-loader)\";this.size=\"medium\";this.compact=!1}getSize(){if(this.size in
|
|
89
|
+
"default": "class extends v{constructor(){super(...arguments);this.color=\"var(--primer-color-loader)\";this.size=\"medium\";this.compact=!1}getSize(){if(this.size in Fi)return Fi[this.size];let e=parseInt(this.size,10);return isNaN(e)?Fi.medium:e}render(){let e=this.getSize(),a=20,i=`0 0 ${a} ${a}`;return this.style.setProperty(\"--spinner-color\",this.color),this.style.setProperty(\"--spinner-size\",`${e}px`),p`<div class=\"spinner-container ${this.compact?\"compact\":\"\"}\"><svg class=\"spinner\" width=\"${e}\" height=\"${e}\" viewBox=\"${i}\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\" role=\"status\" aria-label=\"Loading\" ><path d=\"M4.27827 10.002C4.27827 6.84166 6.84019 4.27973 10.0005 4.27973C10.7676 4.27973 11.3894 3.6579 11.3894 2.89084C11.3894 2.12378 10.7676 1.50195 10.0005 1.50195C5.30607 1.50195 1.50049 5.30753 1.50049 10.002C1.50049 14.6964 5.30607 18.502 10.0005 18.502C14.6949 18.502 18.5005 14.6964 18.5005 10.002C18.5005 9.23489 17.8787 8.61306 17.1116 8.61306C16.3445 8.61306 15.7227 9.23489 15.7227 10.002C15.7227 13.1622 13.1608 15.7242 10.0005 15.7242C6.84019 15.7242 4.27827 13.1622 4.27827 10.002Z\" fill=\"currentColor\" class=\"path\" /></svg></div>`}}"
|
|
119
90
|
},
|
|
120
91
|
{
|
|
121
92
|
"kind": "variable",
|
|
@@ -185,17 +156,17 @@
|
|
|
185
156
|
{
|
|
186
157
|
"kind": "variable",
|
|
187
158
|
"name": "je",
|
|
188
|
-
"default": "class extends v{constructor(){super();this.paymentManagers=new Map;this.disabled=!1;this.loadManagerTask=new D(this,{args:()=>[this.paymentMethod?.type],task:([e])=>{if(!e)return _;let a=this.paymentManagers.get(e);if(!a)throw new Error(`No manager found for payment method type ${e}`);if(a.type!==\"GOOGLE_PAY\")throw new Error(\"Invalid payment method type for Google Pay component\");return a.manager}}),this.renderButtonTask=new D(this,{args:()=>[this.loadManagerTask.value],task:async([e])=>{if(!e)return _;await this.updateComplete;let a=e.createButton();return await a.render(this.shadowRoot?.getRootNode(),{style:{shadowRoot:!0}}),this.disabled&&await a.setDisabled(this.disabled),this.disabled&&this.shadowRoot&&(await this.updateComplete,
|
|
159
|
+
"default": "class extends v{constructor(){super();this.paymentManagers=new Map;this.disabled=!1;this.loadManagerTask=new D(this,{args:()=>[this.paymentMethod?.type],task:([e])=>{if(!e)return _;let a=this.paymentManagers.get(e);if(!a)throw new Error(`No manager found for payment method type ${e}`);if(a.type!==\"GOOGLE_PAY\")throw new Error(\"Invalid payment method type for Google Pay component\");return a.manager}}),this.renderButtonTask=new D(this,{args:()=>[this.loadManagerTask.value],task:async([e])=>{if(!e)return _;await this.updateComplete;let a=e.createButton();return await a.render(this.shadowRoot?.getRootNode(),{style:{shadowRoot:!0}}),this.disabled&&await a.setDisabled(this.disabled),this.disabled&&this.shadowRoot&&(await this.updateComplete,Mr(this.disabled,this.shadowRoot)),a}})}attributeChangedCallback(e,a,i){if(super.attributeChangedCallback(e,a,i),e===\"disabled\"&&a!==i){let n=i!==null,o=this.renderButtonTask.value;o&&o.setDisabled(n)}}updated(e){e.has(\"disabled\")&&this.shadowRoot&&Mr(this.disabled,this.shadowRoot)}render(){return g}}"
|
|
189
160
|
},
|
|
190
161
|
{
|
|
191
162
|
"kind": "variable",
|
|
192
163
|
"name": "We",
|
|
193
|
-
"default": "class extends v{constructor(){super();this.paymentManagers=new Map;this.disabled=!1;this.buttonContainerRef=Bt();this.loadManagerTask=new D(this,{args:()=>[this.paymentMethod?.type],task:([e])=>{if(!e)return _;let a=this.paymentManagers.get(e);if(!a)throw new Error(`No manager found for payment method type ${e}`);if(a.type!==\"APPLE_PAY\")throw new Error(\"Invalid payment method type for Apple Pay component\");return a.manager}}),this.renderButtonTask=new D(this,{args:()=>[this.loadManagerTask.value],task:async([e])=>{if(!e)return _;await this.updateComplete;let a=this.buttonContainerRef.value;if(!a)throw new Error(\"Button container not found\");let i=e.createButton(),n=
|
|
164
|
+
"default": "class extends v{constructor(){super();this.paymentManagers=new Map;this.disabled=!1;this.buttonContainerRef=Bt();this.loadManagerTask=new D(this,{args:()=>[this.paymentMethod?.type],task:([e])=>{if(!e)return _;let a=this.paymentManagers.get(e);if(!a)throw new Error(`No manager found for payment method type ${e}`);if(a.type!==\"APPLE_PAY\")throw new Error(\"Invalid payment method type for Apple Pay component\");return a.manager}}),this.renderButtonTask=new D(this,{args:()=>[this.loadManagerTask.value],task:async([e])=>{if(!e)return _;await this.updateComplete;let a=this.buttonContainerRef.value;if(!a)throw new Error(\"Button container not found\");let i=e.createButton(),n=Tr(a);return await i.render(a,{style:{buttonHeight:n}}),this.disabled&&await i.setDisabled(this.disabled),this.disabled&&(await this.updateComplete,Wt(this.disabled,this.buttonContainerRef)),i}})}attributeChangedCallback(e,a,i){if(super.attributeChangedCallback(e,a,i),e===\"disabled\"&&a!==i){let n=i!==null,o=this.renderButtonTask.value;o&&o.setDisabled(n)}}updated(e){e.has(\"disabled\")&&Wt(this.disabled,this.buttonContainerRef)}render(){return p`<div class=\"native-button-container\" ${bt(this.buttonContainerRef)} ></div>`}}"
|
|
194
165
|
},
|
|
195
166
|
{
|
|
196
167
|
"kind": "variable",
|
|
197
168
|
"name": "Je",
|
|
198
|
-
"default": "class extends v{constructor(){super();this.paymentManagers=new Map;this.disabled=!1;this.buttonContainerRef=Bt();this.loadManagerTask=new D(this,{args:()=>[this.paymentMethod?.type],task:([e])=>{if(!e)return _;let a=this.paymentManagers.get(e);if(!a)throw new Error(`No manager found for payment method type ${e}`);if(a.type!==\"PAYPAL\")throw new Error(\"Invalid payment method type for PayPal component\");return a.manager}}),this.renderButtonTask=new D(this,{args:()=>[this.loadManagerTask.value],task:async([e])=>{if(!e)return _;await this.updateComplete;let a=this.buttonContainerRef.value;if(!a)throw new Error(\"Button container not found\");let i=e.createButton(),n=
|
|
169
|
+
"default": "class extends v{constructor(){super();this.paymentManagers=new Map;this.disabled=!1;this.buttonContainerRef=Bt();this.loadManagerTask=new D(this,{args:()=>[this.paymentMethod?.type],task:([e])=>{if(!e)return _;let a=this.paymentManagers.get(e);if(!a)throw new Error(`No manager found for payment method type ${e}`);if(a.type!==\"PAYPAL\")throw new Error(\"Invalid payment method type for PayPal component\");return a.manager}}),this.renderButtonTask=new D(this,{args:()=>[this.loadManagerTask.value],task:async([e])=>{if(!e)return _;await this.updateComplete;let a=this.buttonContainerRef.value;if(!a)throw new Error(\"Button container not found\");let i=e.createButton(),n=Tr(this),o=vs(n),s=55;return n>s&&E.warn(`PayPal button height (${n}px) exceeds maximum allowed height of ${s}px. Button will be capped at ${s}px. This is a PayPal SDK limitation.`),await i.render(a,{style:{buttonHeight:o}}),this.disabled&&await i.setDisabled(this.disabled),this.disabled&&(await this.updateComplete,Wt(this.disabled,this.buttonContainerRef)),i}})}attributeChangedCallback(e,a,i){if(super.attributeChangedCallback(e,a,i),e===\"disabled\"&&a!==i){let n=i!==null,o=this.renderButtonTask.value;o&&o.setDisabled(n)}}updated(e){e.has(\"disabled\")&&Wt(this.disabled,this.buttonContainerRef)}render(){return p`<div class=\"native-button-container\" ${bt(this.buttonContainerRef)} ></div>`}}"
|
|
199
170
|
},
|
|
200
171
|
{
|
|
201
172
|
"kind": "variable",
|
|
@@ -215,7 +186,7 @@
|
|
|
215
186
|
{
|
|
216
187
|
"kind": "variable",
|
|
217
188
|
"name": "Te",
|
|
218
|
-
"default": "class extends v{constructor(){super(...arguments);this.formController=new
|
|
189
|
+
"default": "class extends v{constructor(){super(...arguments);this.formController=new Pr(this,e=>this._paymentMethodManagerTask.value.setAndValidate(e));this.paymentManagers=new Map;this.sdkState=void 0;this.clientOptions=void 0;this.screen=\"form\";this.isSubmitting=!1;this._paymentMethodManagerTask=new D(this,{task:([e])=>e!==\"STRIPE_ACH\"?_:this.paymentManagers.get(e)?.manager,args:()=>[this.paymentMethod?.type]})}_handleInput(e,a){let i=e.target;this.formController.setFieldValue(a,i.value)}_handleBlur(e){this.formController.setFieldTouched(e)}_handleError(e){this.dispatchEvent(new CustomEvent(\"primer-ach-error\",{bubbles:!0,composed:!0,detail:{error:e instanceof Error?e:new Error(typeof e==\"string\"?e:\"Unknown error occurred\")}}))}async _handleSubmitButtonClick(e){if(!this.isSubmitting){this.isSubmitting=!0;try{let a=await e.start(this.formController.formData);if(!a||a.valid)return await this._handleCollectBankAccountDetails(e);a&&this.formController.setValidation(a,!0)}catch(a){this._handleError(a)}finally{this.isSubmitting=!1}}}async _handleCollectBankAccountDetails(e){try{await e.collectBankAccountDetails(),this.screen=\"mandate\",this.dispatchEvent(new CustomEvent(\"primer-ach-bank-details-collected\",{bubbles:!0,composed:!0}))}catch(a){this._handleError(a)}}async _handleConfirmMandate(){if(this._paymentMethodManagerTask.value){this.isSubmitting=!0;try{await this._paymentMethodManagerTask.value.confirmMandate(),this.dispatchEvent(new CustomEvent(\"primer-ach-mandate-confirmed\",{bubbles:!0,composed:!0}))}catch(e){this._handleError(e)}finally{this.isSubmitting=!1}}}async _handleDeclineMandate(){if(this._paymentMethodManagerTask.value){this.isSubmitting=!0;try{await this._paymentMethodManagerTask.value.declineMandate(),this.dispatchEvent(new CustomEvent(\"primer-ach-mandate-declined\",{bubbles:!0,composed:!0}))}catch(e){this._handleError(e)}finally{this.isSubmitting=!1}}}renderForm(e){return p`<h2>${b(\"payWithAch\",{id:\"payWithAch\"})}</h2><p>${b(\"stripe_ach_user_details_collection_subtitle_label\",{id:\"stripe_ach_user_details_collection_subtitle_label\"})}</p><form @submit=${a=>a.preventDefault()}><div class=\"form-row\"><primer-input-wrapper .hasError=${this.formController.hasError.firstName} ><primer-input-label slot=\"label\">${b(\"stripe_ach_user_details_collection_first_name_label\",{id:\"stripe_ach_user_details_collection_first_name_label\"})}</primer-input-label><primer-input slot=\"input\" .value=${this.formController.formState.firstName.value} @input=${a=>this._handleInput(a,\"firstName\")} @blur=${()=>this._handleBlur(\"firstName\")} ?disabled=${this.isSubmitting} ></primer-input><primer-input-error slot=\"error\">${this.formController.hasError.firstName?this.formController.formState.firstName.error:g}</primer-input-error></primer-input-wrapper><primer-input-wrapper .hasError=${this.formController.hasError.lastName} ><primer-input-label slot=\"label\">${b(\"stripe_ach_user_details_collection_last_name_label\",{id:\"stripe_ach_user_details_collection_last_name_label\"})}</primer-input-label><primer-input slot=\"input\" .value=${this.formController.formState.lastName.value} @input=${a=>this._handleInput(a,\"lastName\")} @blur=${()=>this._handleBlur(\"lastName\")} ?disabled=${this.isSubmitting} ></primer-input><primer-input-error slot=\"error\">${this.formController.hasError.lastName?this.formController.formState.lastName.error:g}</primer-input-error></primer-input-wrapper></div><primer-input-wrapper .hasError=${this.formController.hasError.emailAddress} ><primer-input-label slot=\"label\">${b(\"stripe_ach_user_details_collection_email_address_label\",{id:\"stripe_ach_user_details_collection_email_address_label\"})}</primer-input-label><primer-input slot=\"input\" type=\"email\" .value=${this.formController.formState.emailAddress.value} @input=${a=>this._handleInput(a,\"emailAddress\")} @blur=${()=>this._handleBlur(\"emailAddress\")} ?disabled=${this.isSubmitting} ></primer-input><primer-input-error slot=\"error\">${this.formController.hasError.emailAddress?this.formController.formState.emailAddress.error:g}</primer-input-error></primer-input-wrapper><p>${b(\"stripe_ach_user_details_collection_data_usage_label\",{id:\"stripe_ach_user_details_collection_data_usage_label\"})}</p><primer-button buttonType=\"submit\" variant=\"primary\" @click=${()=>this._handleSubmitButtonClick(e)} ?disabled=${this.isSubmitting} ?loading=${this.isSubmitting} >${b(\"stripe_ach_user_details_collection_continue_button\",{id:\"stripe_ach_user_details_collection_continue_button\"})}</primer-button></form>`}renderMandate(){return p`<h2>${b(\"payWithAch\",{id:\"payWithAch\"})}</h2><p>${this.clientOptions?.stripe?.mandateData.fullMandateText??b(\"stripe_ach_mandate_template_web\",{id:\"stripe_ach_mandate_template_web\"}).replace(/\\{merchantName\\}/g,this.clientOptions?.stripe?.mandateData.merchantName??\"Merchant\")}</p><div class=\"button-group\"><primer-button variant=\"primary\" @click=${this._handleConfirmMandate.bind(this)} ?disabled=${this.isSubmitting} ?loading=${this.isSubmitting} >${b(\"stripe_ach_mandate_accept_button\",{id:\"stripe_ach_mandate_accept_button\"})}</primer-button><primer-button variant=\"tertiary\" @click=${this._handleDeclineMandate.bind(this)} ?disabled=${this.isSubmitting} >${b(\"stripe_ach_mandate_cancel_payment_button\",{id:\"stripe_ach_mandate_cancel_payment_button\"})}</primer-button></div>`}render(){return this._paymentMethodManagerTask.render({complete:e=>e?this.screen===\"form\"?this.renderForm(e):this.renderMandate():g})}}"
|
|
219
190
|
},
|
|
220
191
|
{
|
|
221
192
|
"kind": "variable",
|
|
@@ -230,17 +201,17 @@
|
|
|
230
201
|
{
|
|
231
202
|
"kind": "variable",
|
|
232
203
|
"name": "oe",
|
|
233
|
-
"default": "class extends v{constructor(){super(...arguments);this.configuration=null;this.headlessUtils=null;this.formData={};this.errors={};this.touchedFields=new Set;this.dirtyFields=new Set;this.focusedField=null;this.submitted=!1;this.countryOptions=[];this._initializationTask=new D(this,{task:async([e,a])=>{if(!e||!a)return _;let i=this.extractFieldConfig(e);return await this.initializeCountryOptions(),i},args:()=>[this.configuration,this.headlessUtils]})}connectedCallback(){super.connectedCallback(),this._initializationTask.value}extractFieldConfig(e){if(e?.checkoutModules){let a=e.checkoutModules.find(i=>i.type===\"BILLING_ADDRESS\");if(a?.options){let i=a.options;return Object.keys(
|
|
204
|
+
"default": "class extends v{constructor(){super(...arguments);this.configuration=null;this.headlessUtils=null;this.formData={};this.errors={};this.touchedFields=new Set;this.dirtyFields=new Set;this.focusedField=null;this.submitted=!1;this.countryOptions=[];this._initializationTask=new D(this,{task:async([e,a])=>{if(!e||!a)return _;let i=this.extractFieldConfig(e);return await this.initializeCountryOptions(),i},args:()=>[this.configuration,this.headlessUtils]})}connectedCallback(){super.connectedCallback(),this._initializationTask.value}extractFieldConfig(e){if(e?.checkoutModules){let a=e.checkoutModules.find(i=>i.type===\"BILLING_ADDRESS\");if(a?.options){let i=a.options;return Object.keys(Wi).reduce((n,o)=>({...n,[o]:i[o]??!1}),{})}}return this.defaultFieldConfig}async initializeCountryOptions(){try{let e=ji(\"en\");this.countryOptions=[...e.map(([n,o])=>({value:n,label:o}))],this.requestUpdate(\"countryOptions\");let a=Ii();if(a===\"en\"||a===\"en-GB\"||a.startsWith(\"en-\"))return;if(await dl(a)){let n=ji(a);this.countryOptions=[...n.map(([o,s])=>({value:o,label:s}))],this.requestUpdate(\"countryOptions\")}}catch(e){E.errorWithDatadog(\"Failed to load country locale\",{error:e})}}get fieldConfig(){return this.extractFieldConfig(this.configuration)}get defaultFieldConfig(){return Object.keys(Wi).reduce((e,a)=>({...e,[a]:!1}),{})}get shouldShowForm(){return this.fieldConfig.postalCode}handleInput(e,a){this.formData={...this.formData,[e]:a},this.dirtyFields.add(e),(this.submitted||this.dirtyFields.has(e)&&this.touchedFields.has(e))&&this.validateField(e),this.dispatchEvent(new CustomEvent(\"primer-billing-address-change\",{detail:this.formData,bubbles:!0,composed:!0}))}handleFocus(e){this.focusedField=e}handleBlur(e){this.focusedField=null,this.touchedFields.add(e),this.validateField(e)}validateField(e){let a=this.formData[e],i=this.fieldConfig[e];if(!i){delete this.errors[e];return}if(i&&(!a||a.trim()===\"\")){let n=`${e}ErrorRequired`;this.errors={...this.errors,[e]:b(\"This field is required\",{id:n})}}else{let n={...this.errors};delete n[e],this.errors=n}}validateForm(){return Object.keys(Wi).forEach(e=>{let a=e;this.fieldConfig[a]&&this.validateField(a)}),Object.keys(this.errors).length===0}async validateForSubmission(){if(!this.shouldShowForm)return!0;this.submitted=!0,Object.keys(this.fieldConfig).forEach(a=>{this.fieldConfig[a]&&this.touchedFields.add(a)});let e=this.validateForm();return this.requestUpdate(),await this.updateComplete,e}async submitToSDK(){if(this.headlessUtils?.setBillingAddress)try{return await this.headlessUtils.setBillingAddress(this.formData),this.dispatchEvent(new CustomEvent(\"primer-billing-address-submit\",{detail:this.formData,bubbles:!0,composed:!0})),!0}catch(e){return E.errorWithDatadog(\"Failed to set billing address\",{error:e}),!1}return!0}shouldShowError(e){let a=!!this.errors[e],i=this.dirtyFields.has(e),n=this.touchedFields.has(e);return a&&(this.submitted||i&&n)}render(){return this._initializationTask.render({pending:()=>g,error:()=>g,complete:()=>this.shouldShowForm?(this.removeAttribute(\"hidden\"),p`<div class=\"billing-address-form\"><div class=\"billing-address-title\">${b(\"Billing address\",{id:\"billingAddressLabel\"})}</div>${L(this.fieldConfig.countryCode,()=>p`<primer-input-wrapper .focusWithin=${this.focusedField===\"countryCode\"} .hasError=${this.shouldShowError(\"countryCode\")} ><primer-input-label slot=\"label\">${b(\"Country code\",{id:\"countryCodeLabel\"})}</primer-input-label><primer-select slot=\"input\" id=\"countryCode\" name=\"countryCode\" .value=${this.formData.countryCode||\"\"} .options=${this.countryOptions} .hasError=${this.shouldShowError(\"countryCode\")} placeholder=${b(\"Select a country\",{id:\"countrySelectPlaceholder\"})} @input=${e=>this.handleInput(\"countryCode\",e.detail)} @focus=${()=>this.handleFocus(\"countryCode\")} @blur=${()=>this.handleBlur(\"countryCode\")} ></primer-select>${L(this.shouldShowError(\"countryCode\"),()=>p`<primer-input-error slot=\"error\">${this.errors.countryCode}</primer-input-error>`)}</primer-input-wrapper>`)} ${L(this.fieldConfig.firstName||this.fieldConfig.lastName,()=>p`<div class=\"billing-address-row\">${L(this.fieldConfig.firstName,()=>p`<primer-input-wrapper .focusWithin=${this.focusedField===\"firstName\"} .hasError=${this.shouldShowError(\"firstName\")} ><primer-input-label slot=\"label\">${b(\"First name\",{id:\"firstNameLabel\"})}</primer-input-label><primer-input slot=\"input\" id=\"firstName\" name=\"firstName\" type=\"text\" .value=${this.formData.firstName||\"\"} placeholder=${b(\"First name\",{id:\"firstNamePlaceholder\"})} @input=${e=>this.handleInput(\"firstName\",e.detail)} @focus=${()=>this.handleFocus(\"firstName\")} @blur=${()=>this.handleBlur(\"firstName\")} ></primer-input>${L(this.shouldShowError(\"firstName\"),()=>p`<primer-input-error slot=\"error\">${this.errors.firstName}</primer-input-error>`)}</primer-input-wrapper>`)} ${L(this.fieldConfig.lastName,()=>p`<primer-input-wrapper .focusWithin=${this.focusedField===\"lastName\"} .hasError=${this.shouldShowError(\"lastName\")} ><primer-input-label slot=\"label\">${b(\"Last name\",{id:\"lastNameLabel\"})}</primer-input-label><primer-input slot=\"input\" id=\"lastName\" name=\"lastName\" type=\"text\" .value=${this.formData.lastName||\"\"} placeholder=${b(\"Last name\",{id:\"lastNamePlaceholder\"})} @input=${e=>this.handleInput(\"lastName\",e.detail)} @focus=${()=>this.handleFocus(\"lastName\")} @blur=${()=>this.handleBlur(\"lastName\")} ></primer-input>${L(this.shouldShowError(\"lastName\"),()=>p`<primer-input-error slot=\"error\">${this.errors.lastName}</primer-input-error>`)}</primer-input-wrapper>`)}</div>`)} ${L(this.fieldConfig.addressLine1,()=>p`<primer-input-wrapper .focusWithin=${this.focusedField===\"addressLine1\"} .hasError=${this.shouldShowError(\"addressLine1\")} ><primer-input-label slot=\"label\">${b(\"Address line 1\",{id:\"addressLine1\"})}</primer-input-label><primer-input slot=\"input\" id=\"addressLine1\" name=\"addressLine1\" type=\"text\" .value=${this.formData.addressLine1||\"\"} placeholder=${b(\"Address line 1\",{id:\"addressLine1Placeholder\"})} @input=${e=>this.handleInput(\"addressLine1\",e.detail)} @focus=${()=>this.handleFocus(\"addressLine1\")} @blur=${()=>this.handleBlur(\"addressLine1\")} ></primer-input>${L(this.shouldShowError(\"addressLine1\"),()=>p`<primer-input-error slot=\"error\">${this.errors.addressLine1}</primer-input-error>`)}</primer-input-wrapper>`)} ${L(this.fieldConfig.addressLine2,()=>p`<primer-input-wrapper .focusWithin=${this.focusedField===\"addressLine2\"} .hasError=${this.shouldShowError(\"addressLine2\")} ><primer-input-label slot=\"label\">${b(\"Address line 2\",{id:\"addressLine2\"})}</primer-input-label><primer-input slot=\"input\" id=\"addressLine2\" name=\"addressLine2\" type=\"text\" .value=${this.formData.addressLine2||\"\"} placeholder=${b(\"Address line 2\",{id:\"addressLine2Placeholder\"})} @input=${e=>this.handleInput(\"addressLine2\",e.detail)} @focus=${()=>this.handleFocus(\"addressLine2\")} @blur=${()=>this.handleBlur(\"addressLine2\")} ></primer-input>${L(this.shouldShowError(\"addressLine2\"),()=>p`<primer-input-error slot=\"error\">${this.errors.addressLine2}</primer-input-error>`)}</primer-input-wrapper>`)} ${L(this.fieldConfig.postalCode||this.fieldConfig.city,()=>p`<div class=\"billing-address-row\">${L(this.fieldConfig.postalCode,()=>p`<primer-input-wrapper .focusWithin=${this.focusedField===\"postalCode\"} .hasError=${this.shouldShowError(\"postalCode\")} ><primer-input-label slot=\"label\">${b(\"Postal code\",{id:\"postalCodeLabel\"})}</primer-input-label><primer-input slot=\"input\" id=\"postalCode\" name=\"postalCode\" type=\"text\" .value=${this.formData.postalCode||\"\"} placeholder=${b(\"90210\",{id:\"postalCodePlaceholder\"})} @input=${e=>this.handleInput(\"postalCode\",e.detail)} @focus=${()=>this.handleFocus(\"postalCode\")} @blur=${()=>this.handleBlur(\"postalCode\")} ></primer-input>${L(this.shouldShowError(\"postalCode\"),()=>p`<primer-input-error slot=\"error\">${this.errors.postalCode}</primer-input-error>`)}</primer-input-wrapper>`)} ${L(this.fieldConfig.city,()=>p`<primer-input-wrapper .focusWithin=${this.focusedField===\"city\"} .hasError=${this.shouldShowError(\"city\")} ><primer-input-label slot=\"label\">${b(\"City\",{id:\"cityLabel\"})}</primer-input-label><primer-input slot=\"input\" id=\"city\" name=\"city\" type=\"text\" .value=${this.formData.city||\"\"} placeholder=${b(\"Cape Town\",{id:\"cityPlaceholder\"})} @input=${e=>this.handleInput(\"city\",e.detail)} @focus=${()=>this.handleFocus(\"city\")} @blur=${()=>this.handleBlur(\"city\")} ></primer-input>${L(this.shouldShowError(\"city\"),()=>p`<primer-input-error slot=\"error\">${this.errors.city}</primer-input-error>`)}</primer-input-wrapper>`)}</div>`)} ${L(this.fieldConfig.state,()=>p`<primer-input-wrapper .focusWithin=${this.focusedField===\"state\"} .hasError=${this.shouldShowError(\"state\")} ><primer-input-label slot=\"label\">${b(\"State / Region / County\",{id:\"stateLabel\"})}</primer-input-label><primer-input slot=\"input\" id=\"state\" name=\"state\" type=\"text\" .value=${this.formData.state||\"\"} placeholder=${b(\"State / Region / County\",{id:\"statePlaceholder\"})} @input=${e=>this.handleInput(\"state\",e.detail)} @focus=${()=>this.handleFocus(\"state\")} @blur=${()=>this.handleBlur(\"state\")} ></primer-input>${L(this.shouldShowError(\"state\"),()=>p`<primer-input-error slot=\"error\">${this.errors.state}</primer-input-error>`)}</primer-input-wrapper>`)}</div>`):(this.setAttribute(\"hidden\",\"\"),g)})}}"
|
|
234
205
|
},
|
|
235
206
|
{
|
|
236
207
|
"kind": "variable",
|
|
237
208
|
"name": "W",
|
|
238
|
-
"default": "class extends v{constructor(){super();this.vaultManagerContext=null;this.vaultItemContext=null;this.headlessUtils=null;this.contextEventsController=null;this.hasSlottedSubmit=!1;this.isEditMode=!1;this.deletePaymentMethodId=null;this.isDeleting=!1;this.errorMessage=\"\";this.animationDuration=300;this._isHandlingContextEvent=!1;this._contextVaultSubmitListener=null;this.deleteAssetConfig=null;this.handleSubmitSlotChange=e=>{let i=e.target.assignedNodes({flatten:!0});this.hasSlottedSubmit=i.length>0};this.handleToggleEditMode=e=>{this.isEditMode=e.detail,this.deletePaymentMethodId=null,this.isEditMode&&this.vaultItemContext&&this.vaultItemContext.setSelectedVaultedPaymentMethod(null)};this.handleDeletePaymentMethod=async e=>{if(this.deletePaymentMethodId=e.detail,this.deletePaymentMethodId&&this.vaultManagerContext&&this.headlessUtils){let a=this.vaultManagerContext.vaultedPaymentMethods.find(i=>i.id===this.deletePaymentMethodId);a&&(this.deleteAssetConfig=await
|
|
209
|
+
"default": "class extends v{constructor(){super();this.vaultManagerContext=null;this.vaultItemContext=null;this.headlessUtils=null;this.contextEventsController=null;this.hasSlottedSubmit=!1;this.isEditMode=!1;this.deletePaymentMethodId=null;this.isDeleting=!1;this.errorMessage=\"\";this.animationDuration=300;this._isHandlingContextEvent=!1;this._contextVaultSubmitListener=null;this.deleteAssetConfig=null;this.handleSubmitSlotChange=e=>{let i=e.target.assignedNodes({flatten:!0});this.hasSlottedSubmit=i.length>0};this.handleToggleEditMode=e=>{this.isEditMode=e.detail,this.deletePaymentMethodId=null,this.isEditMode&&this.vaultItemContext&&this.vaultItemContext.setSelectedVaultedPaymentMethod(null)};this.handleDeletePaymentMethod=async e=>{if(this.deletePaymentMethodId=e.detail,this.deletePaymentMethodId&&this.vaultManagerContext&&this.headlessUtils){let a=this.vaultManagerContext.vaultedPaymentMethods.find(i=>i.id===this.deletePaymentMethodId);a&&(this.deleteAssetConfig=await Ir(a,this.headlessUtils,this.vaultManagerContext))}};this.handleCancelDelete=()=>{this.deletePaymentMethodId=null,this.deleteAssetConfig=null};this.handleConfirmDelete=async()=>{if(!this.vaultManagerContext?.deleteVaultedPaymentMethod||!this.deletePaymentMethodId){this.errorMessage=b(\"something_went_wrong_error\",{id:\"something_went_wrong_error\"});return}try{this.isDeleting=!0,await this.vaultManagerContext.deleteVaultedPaymentMethod(this.deletePaymentMethodId),this.deletePaymentMethodId=null,this.deleteAssetConfig=null}catch(e){this.errorMessage=e instanceof Error?e.message:b(\"something_went_wrong_error\",{id:\"something_went_wrong_error\"})}finally{this.isDeleting=!1}};this.handlePaymentError=e=>{let a=e.detail?.error;this.errorMessage=a instanceof Error?a.message:b(\"payment_processing_error\",{id:\"payment_processing_error\"})};this.handleCloseError=()=>{this.errorMessage=\"\"};this.handleSlotButtonClick=e=>{let i=e.target.closest(\"button, primer-button\");if(!i)return;let n=i;this.isSubmitButton(n)&&(e.preventDefault(),this.submitVaultPayment())};this.handleDirectSubmit=()=>{this.submitVaultPayment()};this.handleContextVaultSubmit=e=>{if(!this._isHandlingContextEvent){this._isHandlingContextEvent=!0;try{e.target!==this&&(e.stopPropagation(),this.submitVaultPayment())}finally{this._isHandlingContextEvent=!1}}};new Jt(this,{defaultOptions:{keyframeOptions:{duration:Number(getComputedStyle(document.documentElement).getPropertyValue(\"--primer-animation-duration\").trim().replace(\"ms\",\"\")),easing:getComputedStyle(document.documentElement).getPropertyValue(\"--primer-animation-easing\").trim()}}})}getAnimationConfig(){return{keyframeOptions:{duration:this.animationDuration,easing:getComputedStyle(document.documentElement).getPropertyValue(\"--primer-animation-easing\").trim(),fill:\"both\"}}}isSubmitButton(e){let a=e.tagName.toLowerCase(),i=a===\"button\",n=a===\"primer-button\";return i&&(e.getAttribute(\"type\")===\"submit\"||e.hasAttribute(\"data-submit\"))||n&&(e.getAttribute(\"type\")===\"submit\"||e.hasAttribute(\"data-submit\"))}async submitVaultPayment(){if(this.vaultManagerContext)try{await this.vaultManagerContext.startVaultedPaymentFlow()}catch(e){this.dispatchEvent(new CustomEvent(\"primer-vault-payment-error\",{detail:{error:e},bubbles:!0,composed:!0}))}}getPaymentMethodName(e){if(!this.vaultManagerContext)return\"\";let a=this.vaultManagerContext.vaultedPaymentMethods.find(i=>i.id===e);if(!a)return\"\";try{return Ji(a).description||\"\"}catch{return\"\"}}setupContextEventListeners(){this.contextEventsController?.host&&this._contextVaultSubmitListener&&this.contextEventsController.host.addEventListener(\"primer:vault-submit\",this._contextVaultSubmitListener)}cleanupContextEventListeners(){this.contextEventsController?.host&&this._contextVaultSubmitListener&&this.contextEventsController.host.removeEventListener(\"primer:vault-submit\",this._contextVaultSubmitListener)}connectedCallback(){super.connectedCallback(),this.addEventListener(\"click\",this.handleSlotButtonClick),this.addEventListener(\"primer:vault-submit\",this.handleDirectSubmit),this._contextVaultSubmitListener=e=>{this.handleContextVaultSubmit(e)},this.setupContextEventListeners()}disconnectedCallback(){this.removeEventListener(\"click\",this.handleSlotButtonClick),this.removeEventListener(\"primer:vault-submit\",this.handleDirectSubmit),this.cleanupContextEventListeners(),super.disconnectedCallback()}renderLoadingOverlay(){return p`<div class=\"loading-overlay\" ${Ct({...this.getAnimationConfig(),properties:[\"opacity\"],in:[{opacity:0},{opacity:1}],out:[{opacity:1},{opacity:0}]})} ><primer-spinner size=\"medium\" color=\"var(--primer-color-loader)\" ></primer-spinner></div>`}renderDeleteConfirmation(){if(!this.deletePaymentMethodId||!this.deleteAssetConfig)return g;let e=this.getPaymentMethodName(this.deletePaymentMethodId);return p`<div class=\"delete-confirmation-container\"><primer-button disabled variant=\"secondary\"><primer-payment-method-content .assetConfig=${this.deleteAssetConfig} ></primer-payment-method-content></primer-button><primer-vault-delete-confirmation .isDeleting=${this.isDeleting} .paymentMethodId=${this.deletePaymentMethodId} .paymentMethodName=${e} @confirm-delete=${this.handleConfirmDelete} @cancel-delete=${this.handleCancelDelete} ${Ct({...this.getAnimationConfig(),properties:[\"opacity\"],in:[{opacity:0},{opacity:1}],out:[{opacity:1},{opacity:0}]})} ></primer-vault-delete-confirmation></div>`}renderPaymentMethodItem(e){return this.deletePaymentMethodId===e.id?g:p`<primer-vault-payment-method-item .paymentMethod=${e} .isEditMode=${this.isEditMode} @delete-payment-method=${this.handleDeletePaymentMethod} ${Ct({...this.getAnimationConfig(),properties:[\"opacity\"],in:[{opacity:0},{opacity:1}],out:[{opacity:1},{opacity:0}]})} ></primer-vault-payment-method-item>`}renderPaymentMethodList(){let e=this.vaultManagerContext?.vaultedPaymentMethods||[],a=!this.isEditMode&&e.length>0&&!this.deletePaymentMethodId;return p`<div class=\"payment-methods-list\">${e.map(i=>this.renderPaymentMethodItem(i))} ${L(a,()=>p`<div class=\"submit-button-container\"><slot name=\"submit-button\" @slotchange=${this.handleSubmitSlotChange} ${Ct({...this.getAnimationConfig(),properties:[\"opacity\"],in:[{opacity:0},{opacity:1}],out:[{opacity:1},{opacity:0}]})} ></slot>${L(!this.hasSlottedSubmit,()=>p`<primer-vault-payment-submit class=\"submit-button\" @primer-vault-payment-error=${this.handlePaymentError} ></primer-vault-payment-submit>`)}</div>`,()=>g)}</div>`}render(){if(!this.vaultManagerContext?.enabled||this.vaultManagerContext?.headless)return g;let e=this.vaultManagerContext.vaultedPaymentMethods.length>0,a=this.vaultManagerContext.isLoading,i=this.vaultManagerContext.isUpdating;return p` ${L(!this.vaultManagerContext?.showEmptyState&&!e,()=>g,()=>p`<slot name=\"vault-empty-state\"><div class=\"vault-manager ${i?\"is-updating\":\"\"}\"><primer-vault-manager-header .isEditMode=${this.isEditMode} .hasPaymentMethods=${e} @toggle-edit-mode=${this.handleToggleEditMode} ></primer-vault-manager-header>${L(this.errorMessage,()=>p`<primer-vault-error-message .errorMessage=${this.errorMessage} @close-error=${this.handleCloseError} ${Ct({...this.getAnimationConfig(),properties:[\"opacity\"],in:[{opacity:0},{opacity:1}],out:[{opacity:1},{opacity:0}]})} ></primer-vault-error-message>`,()=>g)}<div class=\"vault-manager-content\">${L(!a&&!e,()=>p`<div class=\"content-container\"><primer-vault-empty-state ${Ct({...this.getAnimationConfig(),properties:[\"opacity\"],in:[{opacity:0},{opacity:1}],out:[{opacity:1},{opacity:0}]})} ></primer-vault-empty-state></div>`,()=>g)} ${L(!a&&e,()=>p`<div class=\"content-container\">${L(this.deletePaymentMethodId,()=>this.renderDeleteConfirmation(),()=>this.renderPaymentMethodList())}</div>`,()=>g)}</div>${L(i,()=>this.renderLoadingOverlay(),()=>g)}</div></slot>`)} `}}"
|
|
239
210
|
},
|
|
240
211
|
{
|
|
241
212
|
"kind": "variable",
|
|
242
213
|
"name": "Ce",
|
|
243
|
-
"default": "class extends v{constructor(){super(...arguments);this.vaultManagerContext=null;this.vaultItemContext=null;this.headlessUtils=null;this.paymentMethod=null;this.isEditMode=!1;this._getAssetsTask=new D(this,{task:async([e,a,i])=>await
|
|
214
|
+
"default": "class extends v{constructor(){super(...arguments);this.vaultManagerContext=null;this.vaultItemContext=null;this.headlessUtils=null;this.paymentMethod=null;this.isEditMode=!1;this._getAssetsTask=new D(this,{task:async([e,a,i])=>await Ir(e,a,i),args:()=>[this.paymentMethod,this.headlessUtils,this.vaultManagerContext]});this.handleClick=()=>{this.isEditMode||!this.vaultManagerContext||!this.paymentMethod||(this.isSelected()?this.vaultItemContext?.setSelectedVaultedPaymentMethod(null):this.vaultItemContext?.setSelectedVaultedPaymentMethod(this.paymentMethod))};this.handleDeleteClick=e=>{e.stopPropagation(),this.dispatchEvent(new CustomEvent(\"delete-payment-method\",{detail:this.paymentMethod?.id,bubbles:!0,composed:!0}))}}isSelected(){if(!this.vaultManagerContext||!this.paymentMethod)return!1;let e=this.vaultItemContext?.selectedVaultedPaymentMethod;return!!e&&e.id===this.paymentMethod.id}render(){return this._getAssetsTask.render({error:()=>g,complete:e=>{let a=this.isSelected()?\"checked\":\"default\",i=!1,n=e?.description;return p`<div class=\"payment-method-wrapper\"><div class=\"payment-method-container\"><primer-button variant=\"secondary\" class=\"payment-method-button ${e.shouldShowCVV?\"with-cvv\":\"\"}\" selectable ?disabled=${this.isEditMode} selectionState=${a} .flex=${i} @click=${this.handleClick} ><primer-payment-method-content .assetConfig=${e} ></primer-payment-method-content>${L(e.shouldShowCVV&&this.isSelected()&&!this.isEditMode,()=>p`<div class=\"payment-method-row mt-2\"><span class=\"flex-center\"><primer-icon name=\"lock\" size=\"sm\"></primer-icon><span class=\"payment-method-subtitle\"> Input the card CVV for a secure payment</span ></span><span class=\"cell-2\"><primer-vault-cvv-input .paymentMethod=\"${this.paymentMethod}\" ><span slot=\"label\"></span></primer-vault-cvv-input></span></div>`,()=>g)}</primer-button>${this.isEditMode?p`<primer-button variant=\"tertiary\" class=\"delete-button\" @click=${this.handleDeleteClick} aria-label=${`${b(\"delete\",{id:\"delete\"})} ${n}`} ><primer-icon name=\"close\" size=\"sm\"></primer-icon></primer-button>`:g}</div></div>`}})}}"
|
|
244
215
|
},
|
|
245
216
|
{
|
|
246
217
|
"kind": "variable",
|
|
@@ -270,7 +241,7 @@
|
|
|
270
241
|
{
|
|
271
242
|
"kind": "variable",
|
|
272
243
|
"name": "J",
|
|
273
|
-
"default": "class extends v{constructor(){super();this.vaultManagerFormContext=null;this.vaultManagerCvvContext=null;this.computedStyles=null;this.paymentMethod=null;this.cvvError=null;this.cvvInputIsDirty=!1;this.cvvInputIsBlurred=!1;this.cvvInput=null;this.isFocused=!1;this._setupCVVIframe=new D(this,{task:([e,a])=>!e||!a||e.paymentMethodType!==\"PAYMENT_CARD\"||!e.paymentInstrumentData?.network||a.createCvvInput===null?_:{network:e.paymentInstrumentData.network,createCvvInput:a.createCvvInput},args:()=>[this.paymentMethod,this.vaultManagerFormContext]});this.cvvContainerId=`cvv-container-${Math.random().toString(36).substring(2,9)}`,new D(this,{task:async([e])=>{if(!e)return _;await this.updateComplete;let a=this.renderRoot.querySelector(`#${this.cvvContainerId}`);if(!a)return;let i=
|
|
244
|
+
"default": "class extends v{constructor(){super();this.vaultManagerFormContext=null;this.vaultManagerCvvContext=null;this.computedStyles=null;this.paymentMethod=null;this.cvvError=null;this.cvvInputIsDirty=!1;this.cvvInputIsBlurred=!1;this.cvvInput=null;this.isFocused=!1;this._setupCVVIframe=new D(this,{task:([e,a])=>!e||!a||e.paymentMethodType!==\"PAYMENT_CARD\"||!e.paymentInstrumentData?.network||a.createCvvInput===null?_:{network:e.paymentInstrumentData.network,createCvvInput:a.createCvvInput},args:()=>[this.paymentMethod,this.vaultManagerFormContext]});this.cvvContainerId=`cvv-container-${Math.random().toString(36).substring(2,9)}`,new D(this,{task:async([e])=>{if(!e)return _;await this.updateComplete;let a=this.renderRoot.querySelector(`#${this.cvvContainerId}`);if(!a)return;let i=_r(this.computedStyles),n=i?{input:{base:i}}:void 0,o={cardNetwork:e.network,container:a,name:\"cvv\",placeholder:\"123\",style:n,ariaLabel:b(\"CVV\",{id:\"cardCVV\"})};this.cvvInput=await e.createCvvInput?.(o)??null,this.cvvInput&&(this.cvvInput.focus(),this.cvvError=this.cvvInput.metadata.errorCode||null,this.vaultManagerCvvContext?.setCvvInput(this.cvvInput),this.cvvInput.addListener(\"change\",()=>{this.onCvvInputChange()}),this.cvvInput.addListener(\"blur\",()=>{this.onBlur()}),this.cvvInput.addListener(\"focus\",()=>{this.onFocus()}))},args:()=>[this._setupCVVIframe.value]})}disconnectedCallback(){super.disconnectedCallback(),this.cvvInput&&(this.cvvInput.remove(),this.cvvInput=null,this.cvvError=null,this.vaultManagerCvvContext?.setCvvInput(null))}onCvvInputChange(){!this.cvvInput||!this.vaultManagerCvvContext||(this.cvvInputIsDirty=!0,this.cvvError=this.cvvInput.metadata.errorCode||null)}onBlur(){this.cvvInput&&(this.cvvInputIsBlurred=!0,this.cvvError=this.cvvInput.metadata.errorCode||null,this.isFocused=!1)}onFocus(){this.isFocused=!0}render(){return this._setupCVVIframe.render({error:()=>g,complete:()=>p`<div class=\"cvv-input-container\"><primer-input-wrapper .focusWithin=${this.isFocused} .hasError=${!!this.cvvError&&(this.vaultManagerCvvContext?.formIsDirty||this.cvvInputIsDirty&&this.cvvInputIsBlurred)} ><slot name=\"label\" slot=\"label\"><primer-input-label>CVV</primer-input-label></slot><div slot=\"input\" id=\"${this.cvvContainerId}\"></div>${L(this.cvvError&&(this.vaultManagerCvvContext?.formIsDirty||this.cvvInputIsDirty&&this.cvvInputIsBlurred),()=>p`<primer-input-error slot=\"error\">${b(this.cvvError,{id:this.cvvError})}</primer-input-error>`)}</primer-input-wrapper></div>`})}}"
|
|
274
245
|
},
|
|
275
246
|
{
|
|
276
247
|
"kind": "variable",
|
|
@@ -280,7 +251,7 @@
|
|
|
280
251
|
{
|
|
281
252
|
"kind": "variable",
|
|
282
253
|
"name": "te",
|
|
283
|
-
"default": "class extends v{constructor(){super(...arguments);this.hideLabels=!1;this.disabled=!1;this.hasAssignedContent=!1;this.selectedCardNetwork=null;this.formErrorMessage=null;this.paymentMethodSelectionSent=!1;this.paymentManagers=new Map;this.clientOptions=null;this.headlessUtils=null;this.analyticsUtils=null;this.contextEventsController=null;this.cardFormProvider=new $(this,{context:Zt,initialValue:null});this.eventsController=new Ft(this);this._contextCardSubmitListener=null;this._isHandlingContextEvent=!1;this.inputControllers=new Map;this.setupCardFormTask=new D(this,{task:([e])=>{if(!e?.manager)return _;let{manager:a}=e,i=a.createHostedInputs(),{cardNumberInput:n,expiryInput:o,cvvInput:s}=i;return this.cardFormProvider.setValue({cardholderNameInput:i.cardholderNameInput,cardNumberInput:n,expiryInput:o,cvvInput:s,setCardholderName:l=>{a.setCardholderName(l),this.shouldRequireCardholderName&&a.validate?.().then(c=>{let y=c?.validationErrors?.find(A=>A.name===_l.cardholderName),
|
|
254
|
+
"default": "class extends v{constructor(){super(...arguments);this.hideLabels=!1;this.disabled=!1;this.hasAssignedContent=!1;this.selectedCardNetwork=null;this.formErrorMessage=null;this.paymentMethodSelectionSent=!1;this.paymentManagers=new Map;this.clientOptions=null;this.headlessUtils=null;this.analyticsUtils=null;this.contextEventsController=null;this.cardFormProvider=new $(this,{context:Zt,initialValue:null});this.eventsController=new Ft(this);this._contextCardSubmitListener=null;this._isHandlingContextEvent=!1;this.inputControllers=new Map;this.setupCardFormTask=new D(this,{task:([e])=>{if(!e?.manager)return _;let{manager:a}=e,i=a.createHostedInputs(),{cardNumberInput:n,expiryInput:o,cvvInput:s}=i;return this.cardFormProvider.setValue({cardholderNameInput:i.cardholderNameInput,cardNumberInput:n,expiryInput:o,cvvInput:s,setCardholderName:l=>{a.setCardholderName(l),this.shouldRequireCardholderName&&a.validate?.().then(c=>{let y=c?.validationErrors?.find(A=>A.name===_l.cardholderName),m=this.inputControllers.get(\"cardholderName\");m&&m.updateMetaFromValidation({valid:!1,error:y?.message||y?.error||null,errorCode:y?.message||y?.error||null})})},setCardNetwork:l=>{this.selectedCardNetwork=l},validate:()=>a.validate(),submit:l=>a.submit(l),hideLabels:this.hideLabels,disabled:this.disabled,setSubmissionState:l=>{this.inputControllers.forEach(c=>{c.setSubmitted(l)})},propagateValidationErrors:l=>{l&&l.forEach(c=>{let h=c.field||c.name,y=c.message||c.error,m=_l[h];if(m){let A=this.inputControllers.get(m);if(A){let C={valid:!1,error:y,errorCode:y};A.updateMetaFromValidation(C)}}})},registerInputController:(l,c)=>{this.inputControllers.set(l,c)},unregisterInputController:l=>{this.inputControllers.delete(l)},onUserInteraction:()=>{this.sendPaymentMethodSelectionEvent(),this.checkAndSendPaymentDetailsEnteredEvent()}}),!0},args:()=>[this.paymentManagers.get(\"PAYMENT_CARD\")]});this.paymentDetailsEnteredSent=!1;this.handleSlotButtonClick=e=>{let i=e.target.closest(\"button, primer-button\");if(!i)return;let n=i;this.isSubmitButton(n)&&(e.preventDefault(),this.submitCardPayment())};this.handleDirectSubmit=e=>{e.stopPropagation(),this.submitCardPayment()};this.handleContextCardSubmit=e=>{if(!this._isHandlingContextEvent){this._isHandlingContextEvent=!0;try{e.target!==this&&(e.stopPropagation(),this.submitCardPayment())}finally{this._isHandlingContextEvent=!1}}};this.onSlotChange=e=>{let i=e.target.assignedNodes({flatten:!0});this.hasAssignedContent=i.length>0};this.handleFormSubmit=e=>{e.preventDefault(),e.stopPropagation(),this.submitCardPayment()}}updated(e){if(super.updated(e),(e.has(\"hideLabels\")||e.has(\"disabled\"))&&this.cardFormProvider.value&&this.cardFormProvider.setValue({...this.cardFormProvider.value,hideLabels:this.hideLabels,disabled:this.disabled}),e.has(\"contextEventsController\")){let a=e.get(\"contextEventsController\");a?.host&&this._contextCardSubmitListener&&a.host.removeEventListener(\"primer:card-submit\",this._contextCardSubmitListener),this.setupContextEventListeners()}}get shouldShowCardholderName(){let e=this.clientOptions?.card?.cardholderName;return typeof e?.visible==\"boolean\"?e.visible:!0}get shouldRequireCardholderName(){if(!this.shouldShowCardholderName)return!1;let e=this.clientOptions?.card?.cardholderName;return typeof e?.required==\"boolean\"?e.required:!0}sendPaymentMethodSelectionEvent(){this.paymentMethodSelectionSent||(this.paymentMethodSelectionSent=!0,Q({eventName:\"PAYMENT_METHOD_SELECTION\",paymentMethod:\"PAYMENT_CARD\"}))}checkAndSendPaymentDetailsEnteredEvent(){if(this.paymentDetailsEnteredSent)return;let e=this.inputControllers.get(\"cardNumber\"),a=this.inputControllers.get(\"expire\"),i=this.inputControllers.get(\"cvv\"),n=e?.meta?.dirty===!0,o=a?.meta?.dirty===!0,s=i?.meta?.dirty===!0,l=!0;this.shouldRequireCardholderName&&(l=this.inputControllers.get(\"cardholderName\")?.meta?.dirty===!0),n&&o&&s&&l&&(this.sendPaymentDetailsEnteredEvent(),this.paymentDetailsEnteredSent=!0)}sendPaymentDetailsEnteredEvent(){Q({eventName:\"PAYMENT_DETAILS_ENTERED\",paymentMethod:\"PAYMENT_CARD\"})}connectedCallback(){super.connectedCallback(),this.addEventListener(\"click\",this.handleSlotButtonClick),this.addEventListener(\"primer:card-submit\",this.handleDirectSubmit),this._contextCardSubmitListener=e=>{this.handleContextCardSubmit(e)},this.setupContextEventListeners()}disconnectedCallback(){this.removeEventListener(\"click\",this.handleSlotButtonClick),this.removeEventListener(\"primer:card-submit\",this.handleDirectSubmit),this.cleanupContextEventListeners(),super.disconnectedCallback()}setupContextEventListeners(){this.contextEventsController?.host&&this._contextCardSubmitListener&&this.contextEventsController.host.addEventListener(\"primer:card-submit\",this._contextCardSubmitListener)}cleanupContextEventListeners(){this.contextEventsController?.host&&this._contextCardSubmitListener&&this.contextEventsController.host.removeEventListener(\"primer:card-submit\",this._contextCardSubmitListener)}isSubmitButton(e){let a=e.tagName.toLowerCase(),i=a===\"button\",n=a===\"primer-button\";return i&&(e.getAttribute(\"type\")===\"submit\"||e.hasAttribute(\"data-submit\"))||n&&(e.getAttribute(\"type\")===\"submit\"||e.hasAttribute(\"data-submit\"))}async submitCardPayment(){let e=this.cardFormProvider.value;if(!e||this.disabled)return;this.formErrorMessage=null,e.setSubmissionState?.(!0);let a=this.querySelector(\"primer-billing-address\")||this.renderRoot.querySelector(\"primer-billing-address\"),i=!0;a&&(i=await a.validateForSubmission());let n=await e.validate?.();if(n?.valid&&i){if(a&&!await a.submitToSDK()){let c=b(\"tokenizationError\",{id:\"tokenizationError\"});this.formErrorMessage=c,this.eventsController.dispatchFormSubmitErrors([{field:\"billingAddress\",name:\"billingAddress\",error:\"BILLING_ADDRESS_SUBMISSION_FAILED\",message:c}]);return}let o=this.selectedCardNetwork?{cardNetwork:this.selectedCardNetwork}:void 0;await e.submit?.(o);let s={success:!0};this.eventsController.dispatchFormSubmitSuccess(s)}else{let o=n?.validationErrors;e.propagateValidationErrors?.(o||[]),this.cardFormProvider.setValue({...e,errors:o}),this.eventsController.dispatchFormSubmitErrors(o)}}render(){return this.setupCardFormTask.status===yt.ERROR||this.setupCardFormTask.status===yt.INITIAL?g:p`<form @submit=${this.handleFormSubmit}><slot name=\"card-form-content\" @slotchange=${this.onSlotChange}></slot>${this.setupCardFormTask.render({complete:()=>L(this.hasAssignedContent,()=>g,()=>p`<div class=\"card-form\"><primer-input-card-number></primer-input-card-number><div class=\"card-form-row\"><primer-input-card-expiry></primer-input-card-expiry><primer-input-cvv></primer-input-cvv></div>${L(this.shouldShowCardholderName,()=>p`<primer-input-card-holder-name></primer-input-card-holder-name>`,()=>g)}<primer-billing-address></primer-billing-address></div><primer-card-form-submit></primer-card-form-submit><primer-error-message message=\"${this.formErrorMessage||\"\"}\" ?visible=\"${!!this.formErrorMessage}\" ></primer-error-message>`)})}</form>`}}"
|
|
284
255
|
},
|
|
285
256
|
{
|
|
286
257
|
"kind": "variable",
|
|
@@ -339,7 +310,7 @@
|
|
|
339
310
|
},
|
|
340
311
|
{
|
|
341
312
|
"kind": "function",
|
|
342
|
-
"name": "
|
|
313
|
+
"name": "Jw"
|
|
343
314
|
}
|
|
344
315
|
],
|
|
345
316
|
"exports": [
|
|
@@ -515,7 +486,7 @@
|
|
|
515
486
|
"kind": "js",
|
|
516
487
|
"name": "InitializedPayments",
|
|
517
488
|
"declaration": {
|
|
518
|
-
"name": "
|
|
489
|
+
"name": "Xa",
|
|
519
490
|
"module": "dist/primer-loader.js"
|
|
520
491
|
}
|
|
521
492
|
},
|
|
@@ -523,7 +494,7 @@
|
|
|
523
494
|
"kind": "js",
|
|
524
495
|
"name": "InitializedVaultedPayments",
|
|
525
496
|
"declaration": {
|
|
526
|
-
"name": "
|
|
497
|
+
"name": "er",
|
|
527
498
|
"module": "dist/primer-loader.js"
|
|
528
499
|
}
|
|
529
500
|
},
|
|
@@ -755,7 +726,7 @@
|
|
|
755
726
|
"kind": "js",
|
|
756
727
|
"name": "injectDarkTheme",
|
|
757
728
|
"declaration": {
|
|
758
|
-
"name": "
|
|
729
|
+
"name": "Tu",
|
|
759
730
|
"module": "dist/primer-loader.js"
|
|
760
731
|
}
|
|
761
732
|
},
|
|
@@ -763,7 +734,7 @@
|
|
|
763
734
|
"kind": "js",
|
|
764
735
|
"name": "injectLightTheme",
|
|
765
736
|
"declaration": {
|
|
766
|
-
"name": "
|
|
737
|
+
"name": "Eu",
|
|
767
738
|
"module": "dist/primer-loader.js"
|
|
768
739
|
}
|
|
769
740
|
},
|
|
@@ -787,12 +758,41 @@
|
|
|
787
758
|
"kind": "js",
|
|
788
759
|
"name": "loadPrimer",
|
|
789
760
|
"declaration": {
|
|
790
|
-
"name": "
|
|
761
|
+
"name": "Jw",
|
|
791
762
|
"module": "dist/primer-loader.js"
|
|
792
763
|
}
|
|
793
764
|
}
|
|
794
765
|
]
|
|
795
766
|
},
|
|
767
|
+
{
|
|
768
|
+
"kind": "javascript-module",
|
|
769
|
+
"path": "e2e/utils.ts",
|
|
770
|
+
"declarations": [
|
|
771
|
+
{
|
|
772
|
+
"kind": "variable",
|
|
773
|
+
"name": "test",
|
|
774
|
+
"default": "chromaticTest"
|
|
775
|
+
}
|
|
776
|
+
],
|
|
777
|
+
"exports": [
|
|
778
|
+
{
|
|
779
|
+
"kind": "js",
|
|
780
|
+
"name": "expect",
|
|
781
|
+
"declaration": {
|
|
782
|
+
"name": "expect",
|
|
783
|
+
"package": "@chromatic-com/playwright"
|
|
784
|
+
}
|
|
785
|
+
},
|
|
786
|
+
{
|
|
787
|
+
"kind": "js",
|
|
788
|
+
"name": "test",
|
|
789
|
+
"declaration": {
|
|
790
|
+
"name": "test",
|
|
791
|
+
"module": "e2e/utils.ts"
|
|
792
|
+
}
|
|
793
|
+
}
|
|
794
|
+
]
|
|
795
|
+
},
|
|
796
796
|
{
|
|
797
797
|
"kind": "javascript-module",
|
|
798
798
|
"path": "src/consts.ts",
|
|
@@ -894,6 +894,14 @@
|
|
|
894
894
|
"module": "./controllers/primer-js"
|
|
895
895
|
}
|
|
896
896
|
},
|
|
897
|
+
{
|
|
898
|
+
"kind": "js",
|
|
899
|
+
"name": "VaultAPI",
|
|
900
|
+
"declaration": {
|
|
901
|
+
"name": "VaultAPI",
|
|
902
|
+
"module": "./controllers/primer-js"
|
|
903
|
+
}
|
|
904
|
+
},
|
|
897
905
|
{
|
|
898
906
|
"kind": "js",
|
|
899
907
|
"name": "PrepareHandler",
|
|
@@ -926,6 +934,14 @@
|
|
|
926
934
|
"module": "./controllers/primer-js"
|
|
927
935
|
}
|
|
928
936
|
},
|
|
937
|
+
{
|
|
938
|
+
"kind": "js",
|
|
939
|
+
"name": "VaultedMethodsUpdateData",
|
|
940
|
+
"declaration": {
|
|
941
|
+
"name": "VaultedMethodsUpdateData",
|
|
942
|
+
"module": "./controllers/primer-js"
|
|
943
|
+
}
|
|
944
|
+
},
|
|
929
945
|
{
|
|
930
946
|
"kind": "js",
|
|
931
947
|
"name": "Payment",
|
|
@@ -934,6 +950,14 @@
|
|
|
934
950
|
"module": "./types/compatibility-types"
|
|
935
951
|
}
|
|
936
952
|
},
|
|
953
|
+
{
|
|
954
|
+
"kind": "js",
|
|
955
|
+
"name": "CvvInput",
|
|
956
|
+
"declaration": {
|
|
957
|
+
"name": "CvvInput",
|
|
958
|
+
"module": "./types/compatibility-types"
|
|
959
|
+
}
|
|
960
|
+
},
|
|
937
961
|
{
|
|
938
962
|
"kind": "js",
|
|
939
963
|
"name": "PrimerCheckoutComponent",
|
|
@@ -1048,8 +1072,7 @@
|
|
|
1048
1072
|
"type": {
|
|
1049
1073
|
"text": "PrimerCheckoutOptions"
|
|
1050
1074
|
},
|
|
1051
|
-
"default": "{}"
|
|
1052
|
-
"attribute": "options"
|
|
1075
|
+
"default": "{}"
|
|
1053
1076
|
},
|
|
1054
1077
|
{
|
|
1055
1078
|
"kind": "field",
|
|
@@ -1578,14 +1601,6 @@
|
|
|
1578
1601
|
"default": "''",
|
|
1579
1602
|
"fieldName": "clientToken"
|
|
1580
1603
|
},
|
|
1581
|
-
{
|
|
1582
|
-
"name": "options",
|
|
1583
|
-
"type": {
|
|
1584
|
-
"text": "PrimerCheckoutOptions"
|
|
1585
|
-
},
|
|
1586
|
-
"default": "{}",
|
|
1587
|
-
"fieldName": "options"
|
|
1588
|
-
},
|
|
1589
1604
|
{
|
|
1590
1605
|
"name": "loader-disabled",
|
|
1591
1606
|
"type": {
|
|
@@ -1667,65 +1682,115 @@
|
|
|
1667
1682
|
},
|
|
1668
1683
|
{
|
|
1669
1684
|
"kind": "javascript-module",
|
|
1670
|
-
"path": "
|
|
1685
|
+
"path": "dist/chunks/ar.KRXB3WQO.js",
|
|
1671
1686
|
"declarations": [
|
|
1672
1687
|
{
|
|
1673
1688
|
"kind": "variable",
|
|
1674
|
-
"name": "
|
|
1675
|
-
"
|
|
1676
|
-
|
|
1677
|
-
|
|
1678
|
-
|
|
1679
|
-
|
|
1689
|
+
"name": "o",
|
|
1690
|
+
"default": "e"
|
|
1691
|
+
}
|
|
1692
|
+
],
|
|
1693
|
+
"exports": [
|
|
1694
|
+
{
|
|
1695
|
+
"kind": "js",
|
|
1696
|
+
"name": "templates",
|
|
1697
|
+
"declaration": {
|
|
1698
|
+
"name": "o",
|
|
1699
|
+
"module": "dist/chunks/ar.KRXB3WQO.js"
|
|
1700
|
+
}
|
|
1701
|
+
}
|
|
1702
|
+
]
|
|
1703
|
+
},
|
|
1704
|
+
{
|
|
1705
|
+
"kind": "javascript-module",
|
|
1706
|
+
"path": "dist/chunks/bg.6SKJRXIR.js",
|
|
1707
|
+
"declarations": [
|
|
1680
1708
|
{
|
|
1681
1709
|
"kind": "variable",
|
|
1682
|
-
"name": "
|
|
1683
|
-
"
|
|
1684
|
-
|
|
1685
|
-
|
|
1686
|
-
|
|
1687
|
-
|
|
1710
|
+
"name": "o",
|
|
1711
|
+
"default": "e"
|
|
1712
|
+
}
|
|
1713
|
+
],
|
|
1714
|
+
"exports": [
|
|
1715
|
+
{
|
|
1716
|
+
"kind": "js",
|
|
1717
|
+
"name": "templates",
|
|
1718
|
+
"declaration": {
|
|
1719
|
+
"name": "o",
|
|
1720
|
+
"module": "dist/chunks/bg.6SKJRXIR.js"
|
|
1721
|
+
}
|
|
1722
|
+
}
|
|
1723
|
+
]
|
|
1724
|
+
},
|
|
1725
|
+
{
|
|
1726
|
+
"kind": "javascript-module",
|
|
1727
|
+
"path": "dist/chunks/ca.SANDLFEK.js",
|
|
1728
|
+
"declarations": [
|
|
1688
1729
|
{
|
|
1689
1730
|
"kind": "variable",
|
|
1690
|
-
"name": "
|
|
1691
|
-
"
|
|
1692
|
-
|
|
1693
|
-
|
|
1694
|
-
|
|
1695
|
-
|
|
1731
|
+
"name": "i",
|
|
1732
|
+
"default": "e"
|
|
1733
|
+
}
|
|
1734
|
+
],
|
|
1735
|
+
"exports": [
|
|
1736
|
+
{
|
|
1737
|
+
"kind": "js",
|
|
1738
|
+
"name": "templates",
|
|
1739
|
+
"declaration": {
|
|
1740
|
+
"name": "i",
|
|
1741
|
+
"module": "dist/chunks/ca.SANDLFEK.js"
|
|
1742
|
+
}
|
|
1743
|
+
}
|
|
1744
|
+
]
|
|
1745
|
+
},
|
|
1746
|
+
{
|
|
1747
|
+
"kind": "javascript-module",
|
|
1748
|
+
"path": "dist/chunks/chunk.DV3REKZU.js",
|
|
1749
|
+
"declarations": [
|
|
1696
1750
|
{
|
|
1697
1751
|
"kind": "function",
|
|
1698
|
-
"name": "
|
|
1752
|
+
"name": "k",
|
|
1699
1753
|
"parameters": [
|
|
1700
1754
|
{
|
|
1701
|
-
"name": "
|
|
1702
|
-
"type": {
|
|
1703
|
-
"text": "Page"
|
|
1704
|
-
}
|
|
1755
|
+
"name": "c"
|
|
1705
1756
|
}
|
|
1706
1757
|
]
|
|
1707
1758
|
},
|
|
1759
|
+
{
|
|
1760
|
+
"kind": "variable",
|
|
1761
|
+
"name": "b",
|
|
1762
|
+
"default": "c[a]"
|
|
1763
|
+
},
|
|
1708
1764
|
{
|
|
1709
1765
|
"kind": "function",
|
|
1710
|
-
"name": "
|
|
1766
|
+
"name": "l",
|
|
1711
1767
|
"parameters": [
|
|
1712
1768
|
{
|
|
1713
|
-
"name": "
|
|
1714
|
-
|
|
1715
|
-
|
|
1716
|
-
|
|
1769
|
+
"name": "c"
|
|
1770
|
+
},
|
|
1771
|
+
{
|
|
1772
|
+
"name": "a"
|
|
1773
|
+
},
|
|
1774
|
+
{
|
|
1775
|
+
"name": "b"
|
|
1776
|
+
},
|
|
1777
|
+
{
|
|
1778
|
+
"name": "e"
|
|
1717
1779
|
}
|
|
1718
1780
|
]
|
|
1719
1781
|
},
|
|
1720
1782
|
{
|
|
1721
1783
|
"kind": "function",
|
|
1722
|
-
"name": "
|
|
1784
|
+
"name": "m",
|
|
1723
1785
|
"parameters": [
|
|
1724
1786
|
{
|
|
1725
|
-
"name": "
|
|
1726
|
-
|
|
1727
|
-
|
|
1728
|
-
|
|
1787
|
+
"name": "c"
|
|
1788
|
+
},
|
|
1789
|
+
{
|
|
1790
|
+
"name": "a"
|
|
1791
|
+
},
|
|
1792
|
+
{
|
|
1793
|
+
"name": "b"
|
|
1729
1794
|
}
|
|
1730
1795
|
]
|
|
1731
1796
|
}
|
|
@@ -1733,487 +1798,250 @@
|
|
|
1733
1798
|
"exports": [
|
|
1734
1799
|
{
|
|
1735
1800
|
"kind": "js",
|
|
1736
|
-
"name": "
|
|
1737
|
-
"declaration": {
|
|
1738
|
-
"name": "settings",
|
|
1739
|
-
"module": "e2e/mocks/billing-address.ts"
|
|
1740
|
-
}
|
|
1741
|
-
},
|
|
1742
|
-
{
|
|
1743
|
-
"kind": "js",
|
|
1744
|
-
"name": "CONFIGURATION_RESPONSE",
|
|
1745
|
-
"declaration": {
|
|
1746
|
-
"name": "CONFIGURATION_RESPONSE",
|
|
1747
|
-
"module": "e2e/mocks/billing-address.ts"
|
|
1748
|
-
}
|
|
1749
|
-
},
|
|
1750
|
-
{
|
|
1751
|
-
"kind": "js",
|
|
1752
|
-
"name": "CARD_NUMBER",
|
|
1753
|
-
"declaration": {
|
|
1754
|
-
"name": "CARD_NUMBER",
|
|
1755
|
-
"module": "e2e/mocks/billing-address.ts"
|
|
1756
|
-
}
|
|
1757
|
-
},
|
|
1758
|
-
{
|
|
1759
|
-
"kind": "js",
|
|
1760
|
-
"name": "mockBinData",
|
|
1801
|
+
"name": "a",
|
|
1761
1802
|
"declaration": {
|
|
1762
|
-
"name": "
|
|
1763
|
-
"module": "
|
|
1803
|
+
"name": "k",
|
|
1804
|
+
"module": "dist/chunks/chunk.DV3REKZU.js"
|
|
1764
1805
|
}
|
|
1765
1806
|
},
|
|
1766
1807
|
{
|
|
1767
1808
|
"kind": "js",
|
|
1768
|
-
"name": "
|
|
1809
|
+
"name": "b",
|
|
1769
1810
|
"declaration": {
|
|
1770
|
-
"name": "
|
|
1771
|
-
"module": "
|
|
1811
|
+
"name": "l",
|
|
1812
|
+
"module": "dist/chunks/chunk.DV3REKZU.js"
|
|
1772
1813
|
}
|
|
1773
1814
|
},
|
|
1774
1815
|
{
|
|
1775
1816
|
"kind": "js",
|
|
1776
|
-
"name": "
|
|
1817
|
+
"name": "c",
|
|
1777
1818
|
"declaration": {
|
|
1778
|
-
"name": "
|
|
1779
|
-
"module": "
|
|
1819
|
+
"name": "m",
|
|
1820
|
+
"module": "dist/chunks/chunk.DV3REKZU.js"
|
|
1780
1821
|
}
|
|
1781
1822
|
}
|
|
1782
1823
|
]
|
|
1783
1824
|
},
|
|
1784
1825
|
{
|
|
1785
1826
|
"kind": "javascript-module",
|
|
1786
|
-
"path": "
|
|
1827
|
+
"path": "dist/chunks/chunk.QMLIEEKM.js",
|
|
1787
1828
|
"declarations": [
|
|
1788
1829
|
{
|
|
1789
1830
|
"kind": "variable",
|
|
1790
|
-
"name": "
|
|
1791
|
-
"type": {
|
|
1792
|
-
"text": "string"
|
|
1793
|
-
},
|
|
1794
|
-
"default": "'?settings=eyJjbGllbnRTZXNzaW9uQ29uZmlnIjp7ImN1c3RvbWVySWQiOiJFdWxlciBpcyB0aGUgYmVzdCIsIm9yZGVySWQiOiI3NDUyNyIsImFtb3VudCI6NjAwLCJjdXJyZW5jeUNvZGUiOiJFVVIiLCJtZXRhZGF0YSI6eyJzY2VuYXJpbyI6IkdPT0dMRV9QQVkifSwib3JkZXIiOnsiZmVlcyI6W3sidHlwZSI6IlNVUkNIQVJHRSIsImFtb3VudCI6MH1dLCJjb3VudHJ5Q29kZSI6IkRFIiwibGluZUl0ZW1zIjpbeyJpdGVtSWQiOiJwcmltZXItaG9vZGllLWdyYXkiLCJkZXNjcmlwdGlvbiI6IlByaW1lciBIb29kaWUiLCJhbW91bnQiOjYwMCwicXVhbnRpdHkiOjF9XX0sImN1c3RvbWVyIjp7ImJpbGxpbmdBZGRyZXNzIjp7ImZpcnN0TmFtZSI6IkNhcmQiLCJsYXN0TmFtZSI6IkhvbGRlciBOYW1lIiwicG9zdGFsQ29kZSI6Ijk0MDQzIiwiYWRkcmVzc0xpbmUxIjoiMTYwMCBBbXBoaXRoZWF0cmUgUGFya3dheSIsImNvdW50cnlDb2RlIjoiVVMiLCJjaXR5IjoiTW91bnRhaW4gVmlldyIsInN0YXRlIjoiQ0EifX0sInBheW1lbnRNZXRob2QiOnsidmF1bHRPblN1Y2Nlc3MiOmZhbHNlLCJ2YXVsdE9uM0RTIjpmYWxzZSwib3B0aW9ucyI6eyJQQVlQQUwiOnsic3VyY2hhcmdlIjp7ImFtb3VudCI6MH19LCJQQVlNRU5UX0NBUkQiOnsibmV0d29ya3MiOnsiVklTQSI6eyJzdXJjaGFyZ2UiOnsiYW1vdW50IjowfX0sIk1BU1RFUkNBUkQiOnsic3VyY2hhcmdlIjp7ImFtb3VudCI6MH19fX0sIkFEWUVOX0lERUFMIjp7InN1cmNoYXJnZSI6eyJhbW91bnQiOjB9fSwiUEFZX05MX1BBWVBBTCI6eyJzdXJjaGFyZ2UiOnsiYW1vdW50IjowfX0sIkFQUExFX1BBWSI6eyJzdXJjaGFyZ2UiOnsiYW1vdW50IjowfX0sIkFEWUVOX1NPRk9SVCI6eyJzdXJjaGFyZ2UiOnsiYW1vdW50IjowfX0sIkdPT0dMRV9QQVkiOnsic3VyY2hhcmdlIjp7ImFtb3VudCI6MH19fSwib3JkZXJlZEFsbG93ZWRDYXJkTmV0d29ya3MiOlsiVklTQSIsIk1BU1RFUkNBUkQiLCJBTUVYIiwiTUFFU1RSTyIsIlVOSU9OUEFZIiwiQ0FSVEVTX0JBTkNBSVJFUyIsIkRBTktPUlQiLCJESU5FUlNfQ0xVQiIsIkRJU0NPVkVSIiwiRU5ST1VURSIsIkVMTyIsIkhJUEVSIiwiSU5URVJBQyIsIkpDQiIsIk1JUiIsIk9USEVSIl19fSwiY2xpZW50T3B0aW9ucyI6eyJjYXJkIjp7InByZWZlcnJlZEZsb3ciOiJFTUJFRERFRF9JTl9IT01FIn0sImRpcmVjdERlYml0Ijp7ImN1c3RvbWVyQ291bnRyeUNvZGUiOiJGUiIsImNvbXBhbnlOYW1lIjoiUHJpbWVyIEFQSSBMVEQiLCJjb21wYW55QWRkcmVzcyI6IjEyMyBGYWtlIFN0LCBMb25kb24sIEVDMkEgOFhZIn0sInJlZGlyZWN0Ijp7ImZvcmNlUmVkaXJlY3QiOmZhbHNlfSwiZ29vZ2xlUGF5Ijp7ImNhcHR1cmVCaWxsaW5nQWRkcmVzcyI6dHJ1ZX19LCJhcGlDb25maWciOnsiYXBpS2V5IjoiMmI4NTM3YjItNDc4Yy00MzE1LTg4ZmItZjE5NTQ1MDBiNWZhIiwiYXBpVmVyc2lvbiI6IjIuMyIsImVudiI6IkNVU1RPTV9TQU5EQk9YIn0sImhlYWRsZXNzT3B0aW9ucyI6e30sImxpdENvbXBvbmVudHNPcHRpb25zIjp7InNka0NvcmUiOmZhbHNlfX0='"
|
|
1795
|
-
},
|
|
1796
|
-
{
|
|
1797
|
-
"kind": "variable",
|
|
1798
|
-
"name": "CONFIGURATION_RESPONSE",
|
|
1831
|
+
"name": "t",
|
|
1799
1832
|
"type": {
|
|
1800
1833
|
"text": "object"
|
|
1801
1834
|
},
|
|
1802
|
-
"default": "{ coreUrl: 'https://api.sandbox.primer.io', pciUrl: 'https://sdk.api.sandbox.primer.io', binDataUrl: 'https://bin-data.api.sandbox.core.primer.io', assetsUrl: 'https://assets.sandbox.core.primer.io', checkoutModules: [ { type: 'TAX_CALCULATION', requestUrl: '/sales-tax/calculate', }, { type: 'CARD_INFORMATION', }, ], clientSession: { clientSessionId: '0d5f31b6-5848-49ce-9625-3254d5dd8a78', order: { orderId: '74527', currencyCode: 'EUR', countryCode: 'DE', totalOrderAmount: 600, merchantAmount: 600, lineItems: [ { itemId: 'primer-hoodie-gray', description: 'Primer Hoodie', amount: 600, quantity: 1, }, ], fees: [ { type: 'SURCHARGE', amount: 0, }, ], }, customer: { customerId: 'Euler is the best', billingAddress: { firstName: 'Card', lastName: 'Holder Name', postalCode: '94043', addressLine1: '1600 Amphitheatre Parkway', countryCode: 'US', city: 'Mountain View', state: 'CA', }, }, paymentMethod: { vaultOnSuccess: false, options: [ { type: 'PAYPAL', surcharge: 0, }, { type: 'PAYMENT_CARD', networks: [ { type: 'VISA', surcharge: 0, }, { type: 'MASTERCARD', surcharge: 0, }, ], }, { type: 'ADYEN_IDEAL', surcharge: 0, }, { type: 'PAY_NL_PAYPAL', surcharge: 0, }, { type: 'APPLE_PAY', surcharge: 0, }, { type: 'ADYEN_SOFORT', surcharge: 0, }, { type: 'GOOGLE_PAY', surcharge: 0, }, ], orderedAllowedCardNetworks: [ 'VISA', 'MASTERCARD', 'AMEX', 'MAESTRO', 'UNIONPAY', 'CARTES_BANCAIRES', 'DANKORT', 'DINERS_CLUB', 'DISCOVER', 'ENROUTE', 'ELO', 'HIPER', 'INTERAC', 'JCB', 'MIR', 'OTHER', ], vaultOnAgreement: false, }, }, primerAccountId: '84100a01-523f-4347-ac44-e8a3e7083d9a', env: 'SANDBOX', paymentMethods: [ { id: 'e787b281-e4f9-4494-96e8-188917540654', type: 'ADYEN_IDEAL', options: { merchantId: 'PrimerJbTestECOM', merchantAccountId: '4ad980f3-ccc7-5e8e-9a9c-81cd6f5214d4', }, processorConfigId: '9319ad4e-cd51-4517-9d46-bc7be244752a', implementationType: 'WEB_REDIRECT', name: 'iDeal', displayMetadata: { button: { iconUrl: { colored: 'https://assets.sandbox.core.primer.io/IDEAL/ideal-logo@3x.png', dark: 'https://assets.sandbox.core.primer.io/IDEAL/ideal-logo@3x.png', light: 'https://assets.sandbox.core.primer.io/IDEAL/ideal-logo@3x.png', }, backgroundColor: { colored: '#CC0066', dark: '#000000', light: '#FFFFFF', }, cornerRadius: 4, borderWidth: { colored: 0, dark: 1, light: 1, }, borderColor: { dark: '#FFFFFF', light: '#212121', }, }, popup: { width: 1050, height: 1300, }, }, forceRedirect: false, implementation: {}, }, { id: 'e1b5e078-081c-4075-a3cc-5ebc779d36f2', type: 'KLARNA', options: { merchantId: 'Primer', merchantAccountId: 'b6902742-384a-5dfa-b1ff-7dcd02880dc3', clientId: 'Primer', }, processorConfigId: 'b70c2b11-e37f-41fe-9797-d3900f343a36', implementationType: 'NATIVE_SDK', name: 'Klarna', displayMetadata: { button: { iconUrl: { colored: 'https://assets.sandbox.core.primer.io/KLARNA/klarna-logo@3x.png', dark: 'https://assets.sandbox.core.primer.io/KLARNA/klarna-logo-dark@3x.png', light: 'https://assets.sandbox.core.primer.io/KLARNA/klarna-logo-light@3x.png', }, backgroundColor: { colored: '#FFB3C7', dark: '#000000', light: '#FFFFFF', }, cornerRadius: 4, borderWidth: { colored: 0, dark: 1, light: 1, }, borderColor: { colored: '#FFB3C7', dark: '#FFFFFF', light: '#212121', }, }, }, forceRedirect: false, implementation: {}, }, { id: '4e9497d8-1503-4541-8ead-d88151ffa257', type: 'XFERS_PAYNOW', options: { merchantId: 'testi', merchantAccountId: '6fb12703-1795-55ac-875e-2e8476cb8390', }, processorConfigId: '545e5533-b575-4c61-aebe-dec49a836f1b', implementationType: 'NATIVE_SDK', name: 'Xfers', displayMetadata: { button: { iconUrl: { colored: 'https://assets.sandbox.core.primer.io/XFERS/xfers-logo@3x.png', dark: 'https://assets.sandbox.core.primer.io/XFERS/xfers-logo-dark@3x.png', light: 'https://assets.sandbox.core.primer.io/XFERS/xfers-logo-light@3x.png', }, backgroundColor: { colored: '#941C80', dark: '#000000', light: '#FFFFFF', }, cornerRadius: 4, borderWidth: { colored: 0, dark: 1, light: 1, }, borderColor: { colored: '#028BF4', dark: '#FFFFFF', light: '#212121', }, }, }, forceRedirect: false, implementation: {}, }, { id: '9e407fb0-a2f8-4636-a5bc-f404ac757c68', type: 'PAYPAL', options: { merchantId: 'sb-iyjg882920702@business.example.com', merchantAccountId: 'e584f5c7-3c7f-5b58-b187-8e641b0cdce4', clientId: 'AXsZfsyf2jtpTpLQARwSeBurtfT6WiRjHQt1PodMf94gPH0iLwglSdSJ7ZAQT3tCHNZQL--VlrVfwscv', intent: 'authorize', }, processorConfigId: '573b0c98-d588-4223-973f-513a5b5a6177', implementationType: 'NATIVE_SDK', name: 'PayPal', displayMetadata: { button: { iconUrl: { colored: 'https://assets.sandbox.core.primer.io/PAYPAL/paypal-logo@3x.png', }, backgroundColor: { colored: '#0070BA', }, cornerRadius: 4, }, }, forceRedirect: false, implementation: {}, }, { id: 'c657ae04-c230-4be4-9615-9b822743e5e4', type: 'APPLE_PAY', options: { merchantId: '84100a01523f4347ac44e8a3e7083d9a', merchantName: 'DX QA Account', merchantDomains: [], }, implementationType: 'NATIVE_SDK', name: 'Apple Pay', displayMetadata: { button: { iconUrl: { dark: 'https://assets.sandbox.core.primer.io/APPLE_PAY/apple-pay-logo-dark@3x.png', light: 'https://assets.sandbox.core.primer.io/APPLE_PAY/apple-pay-logo-light@3x.png', }, backgroundColor: { dark: '#000000', light: '#FFFFFF', }, cornerRadius: 4, borderWidth: { colored: 0, dark: 1, light: 1, }, borderColor: { dark: '#FFFFFF', light: '#212121', }, }, }, implementation: {}, }, { id: '527ee4ff-2c66-4234-829f-d20480f3aa09', type: 'GOOGLE_PAY', options: { merchantId: '06134396481468734566', merchantName: 'Primer', type: 'GOOGLE_PAY', }, implementationType: 'NATIVE_SDK', name: 'Google Pay', displayMetadata: { button: { iconUrl: { colored: 'https://assets.sandbox.core.primer.io/GOOGLE_PAY/google-pay-logo-dark@3x.png', dark: 'https://assets.sandbox.core.primer.io/GOOGLE_PAY/google-pay-logo-dark@3x.png', light: 'https://assets.sandbox.core.primer.io/GOOGLE_PAY/google-pay-logo-light@3x.png', }, backgroundColor: { colored: '#000000', dark: '#000000', light: '#FFFFFF', }, cornerRadius: 4, borderWidth: { colored: 1, dark: 1, light: 1, }, borderColor: { colored: '#8E8E93', dark: '#FFFFFF', light: '#212121', }, }, }, forceRedirect: false, implementation: {}, }, { type: 'PAYMENT_CARD', options: { threeDSecureProvider: '3DSECUREIO', threeDSecureEnabled: true, }, implementationType: 'NATIVE_SDK', name: 'Card', displayMetadata: { button: { iconUrl: { dark: 'https://assets.sandbox.core.primer.io/PAYMENT_CARD/payment-card-logo-dark@3x.png', light: 'https://assets.sandbox.core.primer.io/PAYMENT_CARD/payment-card-logo-light@3x.png', }, backgroundColor: { dark: '#000000', light: '#FFFFFF', }, cornerRadius: 4, borderWidth: { colored: 0, dark: 1, light: 1, }, borderColor: { dark: '#FFFFFF', light: '#212121', }, text: 'Pay by card', textColor: { dark: '#FFFFFF', light: '#000000', }, }, }, forceRedirect: false, implementation: {}, }, ], styleDefaults: {}, }"
|
|
1835
|
+
"default": "{accountHolder:\"Account Holder\",accountHolderEmail:\"me@domain.com\",accountHolderEmailErrorInvalid:\"Provided email is not valid\",accountHolderEmailErrorRequired:\"Account holder email is required\",accountHolderName:\"Account holder name\",accountHolderNameErrorRequired:\"Account holder name is required\",accountHolderNameLabel:\"Account holder name\",accountHolderNamePlaceholder:\"Account holder name\",addCard:\"Add Card\",additionalCardFees:\"Additional card fees may apply\",address:\"Address\",addressLine1:\"Address line 1\",addressLine1ErrorRequired:\"Address line 1 is required\",addressLine1Placeholder:\"Address line 1\",addressLine2:\"Address line 2\",addressLine2ErrorRequired:\"Address line 2 is required\",addressLine2Placeholder:\"Address line 2\",amount:\"Amount\",applePayFailedToTokenize:\"Failed to tokenize\",applePayMissingFirstNameOrLastName:\"Missing first name or last name\",bankHolderNameErrorRequired:\"Account holder name is required\",bankListErrorRequired:\"Bank is required\",bankListLabel:\"List of banks\",bankNameErrorRequired:\"Bank name is required\",bankNameLabel:\"Select your bank from the list\",bankNetworkErrorButton:\"Load again\",bankNetworkErrorTitle:\"Failed to load banks. Check your connection and try again.\",bankSearchInputPlaceholder:\"Search bank\",bankSelectTitle:\"Select your bank\",billingAddressLabel:\"Billing address\",cancel:\"Cancel\",cardCVV:\"CVV\",cardDescription:\"Card description (optional)\",cardDescriptionPlaceholder:\"My favourite card\",cardEndingWith:\"Card ending with\",cardExpired:\"Card has expired\",cardExpiry:\"Expiry (MM/YY)\",cardExpiryPlaceholder:\"MM/YY\",cardholderName:\"Name on card\",cardholderNameErrorRequired:\"Name on card is required\",cardholderNameLabel:\"Name on card\",cardholderNamePlaceholder:\"Full name\",cardIncomplete:\"Card number is incomplete\",cardInvalid:\"Card number is invalid\",cardNameContainsNumbers:\"Name cannot contain numbers\",cardNameLength:\"Name must have between 2 and 45 characters\",cardNameRequired:\"Name on card is required\",cardNumber:\"Card number\",cardRequired:\"Card number is required\",checkSuccessTitle:\"Your payment was successful!\",checkoutWith:\"Checkout with\",chooseAnotherPaymentMethod:\"Choose another payment method\",city:\"City\",cityErrorRequired:\"City is required\",cityLabel:\"City\",cityPlaceholder:\"Cape Town\",completeYourPayment:\"Complete your payment\",completeYourPaymentInTheApp:\"Complete your payment in %s\",confirm:\"Confirm\",confirmCardDeletion:\"Confirm - Delete Card\",confirmPayPalDeletion:\"Confirm - Delete PayPal\",confirmVaultedPaymentMethodDeletion:\"Yes, delete it\",countryCodeErrorRequired:\"Country is required\",countryCodeLabel:\"Country code\",countryCodePlaceholder:\"Country code\",countrySelectPlaceholder:\"Select a country\",creditOrDebitCard:\"Credit or debit card\",creditTransfer:\"Credit Transfer\",cvvIncomplete:\"CVV number is incomplete\",cvvInvalid3:\"CVV must be 3 digits\",cvvInvalid4:\"CVV must be 4 digits\",cvvRequired:\"CVV number is required\",delete:\"Delete\",digits:\"digits\",directDebit:\"Direct debit\",directDebitMandateTitle:\"SEPA Core Direct Debit Mandate\",directDebitSmallPrint:\"By signing this mandate form, you authorise (A) {companyName} to send instructions to your bank to debit your account and (B) your bank to debit your account in accordance with the instruction from {companyName}\",directDebitSuccessDescription:\"{companyName} will appear on your bank statement when payments are taken against the Direct Debit\",directDebitSuccessReference:\"Reference\",directDebitSuccessTitle:\"Direct Debit set up successfully\",dueAt:\"Due at\",dummyApmDescription:\"This is a mocked flow for sandbox. Choose the result you want to test from the list below:\",duplicatePaymentMethodError:\"This payment method is already saved.\",editPaymentMethods:\"Edit saved payment methods\",email:\"Email\",entity:\"Entity\",expiresAt:\"Expires at\",expiryIncomplete:\"Expiry date is incomplete\",expiryInvalid:\"Expiry date is invalid\",expiryMonthInvalid:\"Expiry date month is invalid\",expiryRequired:\"Expiry date is required\",expiryYearInvalid:\"Expiry date year is invalid\",fee_label_fallback:\"Fee\",firstNameErrorRequired:\"First name is required\",firstNameLabel:\"First name\",firstNamePlaceholder:\"First name\",forgetPaymentMethods:\"Forget payment methods\",forgetPayPal:\"Forget PayPal account\",forgetSavedCard:\"Forget saved card ending in {last4Digits}\",fullName:\"First and last name\",getCodeFromBankingApp:\"Get the code from your banking app\",giftCard:\"Gift card\",iban:\"IBAN\",ibanErrorInvalid:\"IBAN is invalid\",ibanErrorRequired:\"IBAN is required\",ibanPlaceholder:\"e.g. GB60 BARC 2000 0055 7799 11\",invalid:\"Invalid\",item_label_fallback:\"Item\",lastNameErrorRequired:\"Last name is required\",lastNameLabel:\"Last name\",lastNamePlaceholder:\"Last name\",loading:\"Loading...\",managePaymentMethods:\"Manage your payment methods\",multibancoFirstStep:\"Payment details for a Multibanco Reference will be created.\",multibancoPayWith:\"Pay with Multibanco\",multibancoPleaseMakePayment:\"Please make the payment at a Multibanco ATM, or through your home banking app.\",multibancoSecondStep:\"Go to a Multibanco ATM or login to your home banking app, then select \\u201CPay for Services\\u201D.\",multibancoThirdStep:\"Enter the Entity, Reference and Amount.\",navigateToPaymentMethods:\"Show other ways to pay\",newPaymentMethod:\"Add a new payment method\",noAdditionalFees:\"No additional fees\",otherWaysToPay:\"Other ways to pay\",pay_with_ach:\"Pay with ACH\",pay_with:\"Pay with\",pay:\"Pay\",payByCard:\"Pay by card\",payByImmediateTransfer:\"Pay by Immediate transfer\",payBySmartTransfer:\"Pay by Bank transfer\",payInInstallments:\"Pay in installments\",paymentMethodPopupLoadingScreenText:\"Hold on! {paymentMethodName} is loading.\",paymentMethodPopupOverlayBringBackThePaymentPage:\"Bring back the payment page\",paymentMethodPopupOverlayClose:\"Close\",paymentMethodPopupOverlayDescription:\"Having trouble viewing the {paymentMethodName} payment page? We'll help you find it!\",paymentMethodPopupOverlayNonFocusDescription:\"Open the {paymentMethodName} payment page to review your payment.\",paymentMethodTypeKlarna:\"Pay later\",paymentMethodTypeKlarnaAccount:\"Pay over time\",paymentMethodTypeKlarnaPaynow:\"Pay now\",payViaBankTransfer:\"Pay via bank transfer\",payWithAch:\"Pay with ACH\",payWithCard:\"Or pay with card\",payWithCrypto:\"Pay with crypto\",pleaseTransferFunds:\"Please Transfer funds to the provided DBS bank account using your Singapore based bank account via FAST (preferred), MEPS or GIRO.\",postalCode:\"Postal code\",postalCodeErrorRequired:\"Postal code is required\",postalCodeLabel:\"Postal code\",postalCodePlaceholder:\"90210\",previouslyUsed:\"Previously used:\",qrCode:\"QR Code\",reference:\"Reference\",required:\"Required\",retry_button:\"Retry\",savedPaymentMethodsEmpty:\"Enter your card details below to add a new payment method\",savePaymentMethod:\"Save payment method\",scanToPay:\"Scan to pay or take a screenshot\",sepaCreditTransfer:\"SEPA Credit Transfer\",sepaDirectDebit:\"SEPA Direct Debit\",session_complete_payment_cancellation_title:\"Payment cancelled\",session_complete_payment_failure_title:\"Payment failed\",session_complete_payment_success_title:\"Payment authorized\",setUpDirectDebit:\"Set up Direct Debit\",shipping_address_unsupported_error:\"We do not ship to this address\",shipping:\"Shipping\",showPaymentDetails:\"Show payment details\",sixDigitCodeErrorNumeric:\"Six digit code should only contain numbers\",sixDigitCodeErrorRequired:\"Six digit code is required\",sixDigitCodeErrorTooShort:\"Code is too short\",sixDigitCodeLabel:\"Six digit code\",sixDigitCodePlaceholder:\"123456\",something_went_wrong_error:\"Something went wrong. Please try again.\",stateErrorRequired:\"State, Region or County is required\",stateLabel:\"State / Region / County\",statePlaceholder:\"State / Region / County\",street:\"Street\",streetPlaceholder:\"My street\",stripe_ach_mandate_accept_button:\"Accept\",stripe_ach_mandate_cancel_payment_button:\"Cancel payment\",stripe_ach_mandate_not_accepted_description:\"Mandate was not accepted\",stripe_ach_mandate_template_web:`By clicking Accept, you authorize {merchantName} to debit the selected bank account for any amount owed for charges arising from your use of {merchantName}\\u2019s services and/or purchase of products from {merchantName}, pursuant to {merchantName}\\u2019s website and terms, until this authorization is revoked. You may amend or cancel this authorization at any time by providing notice to {merchantName} with 30 (thirty) days notice. If you use {merchantName}\\u2019s services or purchase additional products periodically pursuant to {merchantName}\\u2019s terms, you authorize {merchantName} to debit your bank account periodically. Payments that fall outside the regular debits authorized above will only be debited after your authorization is obtained.`,stripe_ach_payment_request_cancelled:\"Please try again or select another bank\",stripe_ach_payment_request_completed_successfully:\"You have now authorized your bank account to be debited. You will be notified via email once the payment has been collected successfully.\",stripe_ach_user_details_collection_continue_button:\"Continue\",stripe_ach_user_details_collection_data_usage_label:\"We'll only use this to keep you updated about your payment\",stripe_ach_user_details_collection_email_address_label:\"Email address\",stripe_ach_user_details_collection_first_name_label:\"First name\",stripe_ach_user_details_collection_invalid_email_address:\"The email address you entered doesn't look like a real email address. Please make sure it includes an '@' and a domain (like '@example.com').\",stripe_ach_user_details_collection_invalid_first_name:\"Please enter a valid first name. Avoid using numbers or special characters.\",stripe_ach_user_details_collection_invalid_last_name:\"Please enter a valid last name. Avoid using numbers or special characters.\",stripe_ach_user_details_collection_last_name_label:\"Last name\",stripe_ach_user_details_collection_subtitle_label:\"Your personal details\",suburb:\"Suburb\",suburbPlaceholder:\"My suburb\",telephoneNumberErrorRequired:\"Phone number is required\",telephoneNumberErrorTooShort:\"Phone number is too short\",telephoneNumberLabel:\"Phone number\",telephoneNumberPlaceholder:\"123xxxxxx\",timeOnDate:\"{time} on {date}\",tokenizationError:\"Your payment could not be processed. Please try another payment method.\",unsupportedCardType:\"Unsupported card type\",uploadScreenshot:\"Upload the screenshot in your banking app\",yourBankDetails:\"Your bank details\"}"
|
|
1803
1836
|
}
|
|
1804
1837
|
],
|
|
1805
1838
|
"exports": [
|
|
1806
1839
|
{
|
|
1807
1840
|
"kind": "js",
|
|
1808
|
-
"name": "
|
|
1809
|
-
"declaration": {
|
|
1810
|
-
"name": "settings",
|
|
1811
|
-
"module": "e2e/mocks/card-3ds.ts"
|
|
1812
|
-
}
|
|
1813
|
-
},
|
|
1814
|
-
{
|
|
1815
|
-
"kind": "js",
|
|
1816
|
-
"name": "CONFIGURATION_RESPONSE",
|
|
1841
|
+
"name": "a",
|
|
1817
1842
|
"declaration": {
|
|
1818
|
-
"name": "
|
|
1819
|
-
"module": "
|
|
1843
|
+
"name": "t",
|
|
1844
|
+
"module": "dist/chunks/chunk.QMLIEEKM.js"
|
|
1820
1845
|
}
|
|
1821
1846
|
}
|
|
1822
1847
|
]
|
|
1823
1848
|
},
|
|
1824
1849
|
{
|
|
1825
1850
|
"kind": "javascript-module",
|
|
1826
|
-
"path": "
|
|
1851
|
+
"path": "dist/chunks/cs.FC4I5M3C.js",
|
|
1827
1852
|
"declarations": [
|
|
1828
1853
|
{
|
|
1829
1854
|
"kind": "variable",
|
|
1830
|
-
"name": "
|
|
1831
|
-
"
|
|
1832
|
-
"text": "string"
|
|
1833
|
-
},
|
|
1834
|
-
"default": "'?settings=eyJjbGllbnRTZXNzaW9uQ29uZmlnIjp7ImN1c3RvbWVySWQiOiJhaXJ3YWxsZXgtY3VzdG9tZXItaWQtZGVtbyIsIm9yZGVySWQiOiIzNDc3NSIsImFtb3VudCI6MTAwMCwiY3VycmVuY3lDb2RlIjoiRVVSIiwibWV0YWRhdGEiOnsid29ya2Zsb3ciOiJhaXJ3YWxsZXgifSwib3JkZXIiOnsiY291bnRyeUNvZGUiOiJHQiIsImxpbmVJdGVtcyI6W3siaXRlbUlkIjoicHJpbWVyLWhvb2RpZS1ncmF5IiwiZGVzY3JpcHRpb24iOiJQcmltZXIgSG9vZGllIiwiYW1vdW50IjoxMDAwLCJxdWFudGl0eSI6MX1dfSwiY3VzdG9tZXIiOnt9LCJwYXltZW50TWV0aG9kIjp7InZhdWx0T25TdWNjZXNzIjpmYWxzZSwidmF1bHRPbjNEUyI6ZmFsc2UsIm9wdGlvbnMiOnsiUEFZUEFMIjp7InN1cmNoYXJnZSI6eyJhbW91bnQiOjB9fSwiUEFZTUVOVF9DQVJEIjp7Im5ldHdvcmtzIjp7IlZJU0EiOnsic3VyY2hhcmdlIjp7ImFtb3VudCI6MH19LCJNQVNURVJDQVJEIjp7InN1cmNoYXJnZSI6eyJhbW91bnQiOjB9fX19LCJBRFlFTl9JREVBTCI6eyJzdXJjaGFyZ2UiOnsiYW1vdW50IjowfX0sIlBBWV9OTF9QQVlQQUwiOnsic3VyY2hhcmdlIjp7ImFtb3VudCI6MH19LCJBUFBMRV9QQVkiOnsic3VyY2hhcmdlIjp7ImFtb3VudCI6MH19LCJBRFlFTl9TT0ZPUlQiOnsic3VyY2hhcmdlIjp7ImFtb3VudCI6MH19LCJHT09HTEVfUEFZIjp7InN1cmNoYXJnZSI6eyJhbW91bnQiOjB9fX0sIm9yZGVyZWRBbGxvd2VkQ2FyZE5ldHdvcmtzIjpbIlZJU0EiLCJNQVNURVJDQVJEIiwiQU1FWCIsIk1BRVNUUk8iLCJVTklPTlBBWSIsIkNBUlRFU19CQU5DQUlSRVMiLCJEQU5LT1JUIiwiRElORVJTX0NMVUIiLCJESVNDT1ZFUiIsIkVOUk9VVEUiLCJFTE8iLCJISVBFUiIsIklOVEVSQUMiLCJKQ0IiLCJNSVIiLCJPVEhFUiJdfX0sImNsaWVudE9wdGlvbnMiOnsiY29udGFpbmVyIjoiI2NvbnRhaW5lciIsImNhcmQiOnsicHJlZmVycmVkRmxvdyI6IkVNQkVEREVEX0lOX0hPTUUifSwiZGlyZWN0RGViaXQiOnsiY3VzdG9tZXJDb3VudHJ5Q29kZSI6IkZSIiwiY29tcGFueU5hbWUiOiJQcmltZXIgQVBJIExURCIsImNvbXBhbnlBZGRyZXNzIjoiMTIzIEZha2UgU3QsIExvbmRvbiwgRUMyQSA4WFkifSwicmVkaXJlY3QiOnsiZm9yY2VSZWRpcmVjdCI6ZmFsc2V9LCJnb29nbGVQYXkiOnsiY2FwdHVyZUJpbGxpbmdBZGRyZXNzIjp0cnVlfX0sImFwaUNvbmZpZyI6eyJhcGlLZXkiOiJjY2VlMmJlOC1kZjA4LTRjNzktODU2ZC00MDA4NTM0OWU5ZGEiLCJhcGlWZXJzaW9uIjoiMi4yIiwiZW52IjoiQ1VTVE9NX1NUQUdJTkcifSwiaGVhZGxlc3NPcHRpb25zIjp7fSwibGl0Q29tcG9uZW50c09wdGlvbnMiOnsic2RrQ29yZSI6ZmFsc2V9fQ=='"
|
|
1835
|
-
},
|
|
1836
|
-
{
|
|
1837
|
-
"kind": "variable",
|
|
1838
|
-
"name": "CONFIGURATION_RESPONSE",
|
|
1839
|
-
"type": {
|
|
1840
|
-
"text": "object"
|
|
1841
|
-
},
|
|
1842
|
-
"default": "{ coreUrl: 'https://api.staging.primer.io', pciUrl: 'https://sdk.api.staging.primer.io', binDataUrl: 'https://bin-data.api.staging.core.primer.io', assetsUrl: 'https://assets.staging.core.primer.io', checkoutModules: [ { type: 'CARD_INFORMATION', options: { cardHolderName: true, cardholderName: true, }, }, { type: 'TAX_CALCULATION', requestUrl: '/sales-tax/calculate', }, ], clientSession: { clientSessionId: '7430ecc6-a520-4353-bf03-030bb09ba4b7', order: { orderId: '34775', currencyCode: 'EUR', countryCode: 'GB', totalOrderAmount: 1000, merchantAmount: 1000, lineItems: [ { itemId: 'primer-hoodie-gray', description: 'Primer Hoodie', amount: 1000, quantity: 1, }, ], }, customer: { customerId: 'airwallex-customer-id-demo', }, paymentMethod: { vaultOnSuccess: false, options: [ { type: 'PAYPAL', surcharge: 0, }, { type: 'PAYMENT_CARD', networks: [ { type: 'VISA', surcharge: 0, }, { type: 'MASTERCARD', surcharge: 0, }, ], }, { type: 'ADYEN_IDEAL', surcharge: 0, }, { type: 'PAY_NL_PAYPAL', surcharge: 0, }, { type: 'APPLE_PAY', surcharge: 0, }, { type: 'ADYEN_SOFORT', surcharge: 0, }, { type: 'GOOGLE_PAY', surcharge: 0, }, ], orderedAllowedCardNetworks: [ 'VISA', 'MASTERCARD', 'AMEX', 'MAESTRO', 'UNIONPAY', 'CARTES_BANCAIRES', 'DANKORT', 'DINERS_CLUB', 'DISCOVER', 'ENROUTE', 'ELO', 'HIPER', 'INTERAC', 'JCB', 'MIR', 'OTHER', ], vaultOnAgreement: false, }, }, primerAccountId: 'd634b2c6-17d8-4347-bac0-df642c2d6469', env: 'STAGING', paymentMethods: [ { id: 'd2862cfb-05a8-4304-9d80-6652450d19d7', type: 'AFTERPAY', options: { merchantId: 'wont-work', merchantAccountId: '04070052-bcd7-5d2f-92d0-70d1c9b30ce0', }, processorConfigId: '2805ab6e-6b0b-40e2-9d65-1e5c800a530e', implementationType: 'WEB_REDIRECT', name: 'Afterpay', displayMetadata: { button: { iconUrl: { colored: 'https://assets.staging.core.primer.io/AFTERPAY/afterpay-cash-app-logo-dark@3x.png', dark: 'https://assets.staging.core.primer.io/AFTERPAY/afterpay-cash-app-logo-dark@3x.png', light: 'https://assets.staging.core.primer.io/AFTERPAY/afterpay-cash-app-logo-dark@3x.png', }, backgroundColor: { colored: '#000000', dark: '#000000', light: '#000000', }, cornerRadius: 4, borderWidth: { colored: 1, dark: 1, light: 1, }, borderColor: { colored: '#000000', dark: '#FFFFFF', light: '#000000', }, textColor: { dark: '#FFFFFF', light: '#FFFFFF', }, iconPositionRelativeToText: 'END', }, }, forceRedirect: false, implementation: {}, }, { id: 'f4105e92-bf54-4652-a7ac-63a2adf3a96d', type: 'ALMA', options: { merchantId: '9b7d77ef-4862-4900-902c-8ff623476826', merchantAccountId: 'e11ef8e1-10a8-542d-924d-ae0546a03d35', }, processorConfigId: '9b7d77ef-4862-4900-902c-8ff623476826', implementationType: 'WEB_REDIRECT', name: 'Alma', displayMetadata: { button: { iconUrl: { colored: 'https://assets.staging.core.primer.io/ALMA/alma-logo-dark@3x.png', dark: 'https://assets.staging.core.primer.io/ALMA/alma-logo-dark@3x.png', light: 'https://assets.staging.core.primer.io/ALMA/alma-logo@3x.png', }, backgroundColor: { colored: '#FA5022', dark: '#000000', light: '#FFFFFF', }, cornerRadius: 4, borderWidth: { colored: 1, dark: 1, light: 1, }, borderColor: { colored: '#FA5022', dark: '#FFFFFF', light: '#000000', }, }, }, forceRedirect: false, implementation: {}, }, { id: '588df103-82e2-4888-bf49-63f0182e516e', type: 'BRAINTREE_VENMO', options: { merchantId: 'primer', merchantAccountId: '4dd30736-e360-5562-994a-b9de0dc2c2da', }, processorConfigId: '99b3dd12-2d18-48b4-a700-acd8f7943bcb', implementationType: 'WEB_REDIRECT', name: 'Venmo', displayMetadata: { button: { iconUrl: { colored: 'https://assets.staging.core.primer.io/VENMO/venmo-logo@3x.png', dark: 'https://assets.staging.core.primer.io/VENMO/venmo-logo-dark@3x.png', light: 'https://assets.staging.core.primer.io/VENMO/venmo-logo-light@3x.png', }, backgroundColor: { colored: '#008CFF', dark: '#000000', light: '#FFFFFF', }, cornerRadius: 4, borderWidth: { colored: 0, dark: 1, light: 1, }, borderColor: { dark: '#FFFFFF', light: '#000000', }, }, }, forceRedirect: false, implementation: {}, }, { id: '4cc272a3-69eb-46b6-9938-cd672d7a7cbd', type: 'ADYEN_MULTIBANCO', options: { merchantId: 'PrimerJbTestECOM', merchantAccountId: '2e2d6a59-730f-52da-8fa6-a3766f4fa1f0', }, processorConfigId: '254dd1d0-211a-4039-850f-a378dc3c3f5a', implementationType: 'NATIVE_SDK', name: 'Multibanco', displayMetadata: { button: { iconUrl: { colored: 'https://assets.staging.core.primer.io/MULTIBANCO/multibanco-logo@3x.png', dark: 'https://assets.staging.core.primer.io/MULTIBANCO/multibanco-logo@3x.png', light: 'https://assets.staging.core.primer.io/MULTIBANCO/multibanco-logo-light@3x.png', }, backgroundColor: { colored: '#000000', dark: '#000000', light: '#FFFFFF', }, cornerRadius: 4, borderWidth: { colored: 0, dark: 1, light: 1, }, borderColor: { dark: '#FFFFFF', light: '#000000', }, }, }, forceRedirect: false, implementation: { headless: { supportedManagerCategories: ['RAW_DATA'], }, events: [ { eventType: 'ON_START', uiAction: { actionType: 'NAVIGATE', screenId: 'start_screen', }, }, { eventType: 'ON_REQUIRED_ACTION_RECEIVED', uiAction: { actionType: 'NAVIGATE', screenId: 'voucher_screen', }, }, { eventType: 'ON_ERROR', uiAction: { actionType: 'NAVIGATE', screenId: 'error_screen', }, }, ], screens: [ { screenId: 'start_screen', isBackButtonEnabled: true, isShareButtonEnabled: false, orientation: 'VERTICAL', components: [ { style: { margin: { top: 'S', }, textStyle: 'TITLE', }, }, {}, ], }, { screenId: 'voucher_screen', isBackButtonEnabled: true, isShareButtonEnabled: true, orientation: 'VERTICAL', components: [ { style: { margin: { top: 'S', }, textStyle: 'TITLE', }, }, { orientation: 'HORIZONTAL', components: [ { style: { margin: { top: 'S', }, alignmentInParent: 'RIGHT', textStyle: 'TITLE', }, }, { style: { margin: { top: 'S', }, alignmentInParent: 'LEFT', textStyle: 'TITLE', }, }, ], alignment: 'FILL', distribution: 'FILL', }, { orientation: 'HORIZONTAL', components: [ { style: { margin: { top: 'S', }, alignmentInParent: 'RIGHT', textStyle: 'TITLE', }, }, { style: { margin: { top: 'S', }, alignmentInParent: 'LEFT', textStyle: 'TITLE', }, }, {}, ], alignment: 'FILL', distribution: 'FILL', }, ], }, { screenId: 'error_screen', isBackButtonEnabled: false, isShareButtonEnabled: false, orientation: 'VERTICAL', components: [{}], }, ], }, }, { id: '642bb622-b133-4445-904e-0e844967d4bb', type: 'FINTECTURE_IMMEDIATE_TRANSFER', options: { merchantId: '15808a62-2ac5-458b-b1b6-0ca0bce2d690', merchantAccountId: '55bbc227-ddf7-57f9-a0e8-4ebde5505ce5', }, processorConfigId: '15808a62-2ac5-458b-b1b6-0ca0bce2d690', implementationType: 'WEB_REDIRECT', name: 'Fintecture Immediate Transfer', displayMetadata: { button: { iconUrl: { dark: 'https://assets.staging.core.primer.io/FINTECTURE/inverted@3x.png', light: 'https://assets.staging.core.primer.io/FINTECTURE/default@3x.png', }, backgroundColor: { dark: '#000000', light: '#FFFFFF', }, cornerRadius: 4, borderWidth: { dark: 1, light: 1, }, borderColor: { dark: '#FFFFFF', light: '#212121', }, text: 'Pay by Immediate transfer', textColor: { dark: '#FFFFFF', light: '#000000', }, iconPositionRelativeToText: 'START', }, }, forceRedirect: true, implementation: {}, }, { id: '8f057fb9-2737-44f4-aca8-7021ca5689bc', type: 'APPLE_PAY', options: { merchantId: 'd634b2c617d84347bac0df642c2d6469', merchantName: 'Connections', merchantDomains: [], }, implementationType: 'NATIVE_SDK', name: 'Apple Pay', displayMetadata: { button: { iconUrl: { dark: 'https://assets.staging.core.primer.io/APPLE_PAY/apple-pay-logo-dark@3x.png', light: 'https://assets.staging.core.primer.io/APPLE_PAY/apple-pay-logo-light@3x.png', }, backgroundColor: { dark: '#000000', light: '#FFFFFF', }, cornerRadius: 4, borderWidth: { colored: 0, dark: 1, light: 1, }, borderColor: { dark: '#FFFFFF', light: '#212121', }, }, }, implementation: {}, }, { id: '418673aa-954f-4f3e-89e9-d447574a1e14', type: 'SIPS_CPAY', options: { merchantId: '789b21f7-bd18-42f7-8ce8-a0d7320ec3ad', merchantAccountId: '946e95a0-63d0-5afd-9389-c4aea5a9b1fa', }, processorConfigId: '789b21f7-bd18-42f7-8ce8-a0d7320ec3ad', implementationType: 'WEB_REDIRECT', name: 'Cpay', displayMetadata: { button: { iconUrl: { colored: 'https://assets.staging.core.primer.io/CPAY/cpay-logo@3x.png', dark: 'https://assets.staging.core.primer.io/CPAY/cpay-logo-dark@3x.png', light: 'https://assets.staging.core.primer.io/CPAY/cpay-logo-light@3x.png', }, backgroundColor: { colored: '#FFFFFF', dark: '#000000', light: '#FFFFFF', }, cornerRadius: 4, borderWidth: { colored: 0, dark: 1, light: 1, }, borderColor: { dark: '#FFFFFF', light: '#000000', }, }, popup: { width: 830, height: 1000, }, }, forceRedirect: false, implementation: {}, }, { id: 'ba29b47f-bd66-46d6-a3e3-aa27c3b1d110', type: 'ADYEN_ALIPAY', options: { merchantId: 'PrimerJbTestECOM', merchantAccountId: '2e2d6a59-730f-52da-8fa6-a3766f4fa1f0', }, processorConfigId: '254dd1d0-211a-4039-850f-a378dc3c3f5a', implementationType: 'WEB_REDIRECT', name: 'Alipay', displayMetadata: { button: { iconUrl: { colored: 'https://assets.staging.core.primer.io/ALIPAY/alipay-logo@3x.png', dark: 'https://assets.staging.core.primer.io/ALIPAY/alipay-logo-dark@3x.png', light: 'https://assets.staging.core.primer.io/ALIPAY/alipay-logo-light@3x.png', }, backgroundColor: { colored: '#31B1F0', dark: '#000000', light: '#FFFFFF', }, cornerRadius: 4, borderWidth: { colored: 0, dark: 1, light: 1, }, borderColor: { dark: '#FFFFFF', light: '#000000', }, }, }, forceRedirect: false, implementation: {}, }, { id: 'd5b11ef6-c0da-4b85-9095-cc260ddeb009', type: 'ADYEN_VIPPS', options: { merchantId: 'PrimerJbTestECOM', merchantAccountId: '2e2d6a59-730f-52da-8fa6-a3766f4fa1f0', }, processorConfigId: '254dd1d0-211a-4039-850f-a378dc3c3f5a', implementationType: 'WEB_REDIRECT', name: 'Vipps', displayMetadata: { button: { iconUrl: { colored: 'https://assets.staging.core.primer.io/VIPPS/vipps-logo@3x.png', dark: 'https://assets.staging.core.primer.io/VIPPS/vipps-logo-dark@3x.png', light: 'https://assets.staging.core.primer.io/VIPPS/vipps-logo-light@3x.png', }, backgroundColor: { colored: '#FF5B24', dark: '#000000', light: '#FFFFFF', }, cornerRadius: 4, borderWidth: { colored: 0, dark: 1, light: 1, }, borderColor: { dark: '#FFFFFF', light: '#212121', }, }, }, forceRedirect: false, implementation: {}, }, { id: 'd180c74e-3616-4ada-b9ae-b9ad1c554efe', type: 'TRIPLE_A', options: { merchantId: '13eb240b-3da3-43a4-b8a8-1648d6c8cf99', merchantAccountId: 'ebac4f47-a9be-5523-94a9-6b381619ce07', }, processorConfigId: '13eb240b-3da3-43a4-b8a8-1648d6c8cf99', implementationType: 'WEB_REDIRECT', name: 'Triple-A', displayMetadata: { button: { iconUrl: { dark: 'https://assets.staging.core.primer.io/TRIPLE_A/triplea-logo@3x.png', light: 'https://assets.staging.core.primer.io/TRIPLE_A/triplea-logo-light@3x.png', }, backgroundColor: { dark: '#000000', light: '#FFFFFF', }, cornerRadius: 4, borderWidth: { dark: 1, light: 1, }, borderColor: { dark: '#FFFFFF', light: '#212121', }, text: 'Pay with Crypto', textColor: { dark: '#FFFFFF', light: '#000000', }, iconPositionRelativeToText: 'END', }, popup: { width: 830, height: 1000, }, }, forceRedirect: false, implementation: {}, }, { id: 'fe2aa1da-6cad-41dc-885f-ea5483f49441', type: 'PAYPAL', options: { merchantId: 'sb-gmcgm25177732@business.example.com', merchantAccountId: 'bc5908a7-3b62-5696-804b-274eaa68fc3e', clientId: 'AcTGoAPNhwfbSPbiVYSlrUGwTBGijs6GvFGci2R3QI1jlu5ewofPFq0yZDm-Rka07c1FtY4DVnsRerPK', intent: 'authorize', }, processorConfigId: '0a5952b4-cbdf-49b6-a982-022bc0bd0f7f', implementationType: 'NATIVE_SDK', name: 'PayPal', displayMetadata: { button: { iconUrl: { colored: 'https://assets.staging.core.primer.io/PAYPAL/paypal-logo@3x.png', }, backgroundColor: { colored: '#0070BA', }, cornerRadius: 4, }, }, forceRedirect: false, implementation: {}, }, { id: '5f36bcaa-6479-4f4a-87ab-b526348c520f', type: 'GOOGLE_PAY', options: { merchantId: '06134396481468734566', merchantName: 'Primer', type: 'GOOGLE_PAY', }, implementationType: 'NATIVE_SDK', name: 'Google Pay', displayMetadata: { button: { iconUrl: { colored: 'https://assets.staging.core.primer.io/GOOGLE_PAY/google-pay-logo-dark@3x.png', dark: 'https://assets.staging.core.primer.io/GOOGLE_PAY/google-pay-logo-dark@3x.png', light: 'https://assets.staging.core.primer.io/GOOGLE_PAY/google-pay-logo-light@3x.png', }, backgroundColor: { colored: '#000000', dark: '#000000', light: '#FFFFFF', }, cornerRadius: 4, borderWidth: { colored: 1, dark: 1, light: 1, }, borderColor: { colored: '#8E8E93', dark: '#FFFFFF', light: '#212121', }, }, }, forceRedirect: false, implementation: {}, }, { id: '4bf74ad3-1d02-43f8-9d4e-f9825e5b48c5', type: 'PAYMENT_CARD', options: { merchantId: 'test', merchantAccountId: '46c7a690-924b-5b5e-a651-6a962f926b07', }, processorConfigId: 'e4dd8fc6-293f-4208-9160-fbfbfd6b0a4c', implementationType: 'NATIVE_SDK', name: 'Card', displayMetadata: { button: { iconUrl: { dark: 'https://assets.staging.core.primer.io/PAYMENT_CARD/payment-card-logo-dark@3x.png', light: 'https://assets.staging.core.primer.io/PAYMENT_CARD/payment-card-logo-light@3x.png', }, backgroundColor: { dark: '#000000', light: '#FFFFFF', }, cornerRadius: 4, borderWidth: { colored: 0, dark: 1, light: 1, }, borderColor: { dark: '#FFFFFF', light: '#212121', }, text: 'Pay by card', textColor: { dark: '#FFFFFF', light: '#000000', }, }, }, forceRedirect: false, implementation: {}, }, { type: 'PAYMENT_CARD', options: { threeDSecureProvider: '3DSECUREIO', threeDSecureEnabled: true, }, implementationType: 'NATIVE_SDK', name: 'Card', displayMetadata: { button: { iconUrl: { dark: 'https://assets.staging.core.primer.io/PAYMENT_CARD/payment-card-logo-dark@3x.png', light: 'https://assets.staging.core.primer.io/PAYMENT_CARD/payment-card-logo-light@3x.png', }, backgroundColor: { dark: '#000000', light: '#FFFFFF', }, cornerRadius: 4, borderWidth: { colored: 0, dark: 1, light: 1, }, borderColor: { dark: '#FFFFFF', light: '#212121', }, text: 'Pay by card', textColor: { dark: '#FFFFFF', light: '#000000', }, }, }, forceRedirect: false, implementation: {}, }, { id: '4bf74ad3-1d02-43f8-9d4e-f9825e5b48c5', type: 'PAYMENT_CARD', options: { merchantId: 'test', merchantAccountId: '46c7a690-924b-5b5e-a651-6a962f926b07', }, processorConfigId: 'e4dd8fc6-293f-4208-9160-fbfbfd6b0a4c', implementationType: 'NATIVE_SDK', name: 'Card', displayMetadata: { button: { iconUrl: { dark: 'https://assets.staging.core.primer.io/PAYMENT_CARD/payment-card-logo-dark@3x.png', light: 'https://assets.staging.core.primer.io/PAYMENT_CARD/payment-card-logo-light@3x.png', }, backgroundColor: { dark: '#000000', light: '#FFFFFF', }, cornerRadius: 4, borderWidth: { colored: 0, dark: 1, light: 1, }, borderColor: { dark: '#FFFFFF', light: '#212121', }, text: 'Pay by card', textColor: { dark: '#FFFFFF', light: '#000000', }, }, }, forceRedirect: false, implementation: {}, }, { type: 'PAYMENT_CARD', options: { threeDSecureProvider: '3DSECUREIO', threeDSecureEnabled: true, }, implementationType: 'NATIVE_SDK', name: 'Card', displayMetadata: { button: { iconUrl: { dark: 'https://assets.staging.core.primer.io/PAYMENT_CARD/payment-card-logo-dark@3x.png', light: 'https://assets.staging.core.primer.io/PAYMENT_CARD/payment-card-logo-light@3x.png', }, backgroundColor: { dark: '#000000', light: '#FFFFFF', }, cornerRadius: 4, borderWidth: { colored: 0, dark: 1, light: 1, }, borderColor: { dark: '#FFFFFF', light: '#212121', }, text: 'Pay by card', textColor: { dark: '#FFFFFF', light: '#000000', }, }, }, forceRedirect: false, implementation: {}, }, ], styleDefaults: {}, }"
|
|
1843
|
-
},
|
|
1844
|
-
{
|
|
1845
|
-
"kind": "variable",
|
|
1846
|
-
"name": "SUCCESSFUL_CARD_NUMBER",
|
|
1847
|
-
"type": {
|
|
1848
|
-
"text": "string"
|
|
1849
|
-
},
|
|
1850
|
-
"default": "'4035 5010 0000 0008'"
|
|
1851
|
-
},
|
|
1852
|
-
{
|
|
1853
|
-
"kind": "variable",
|
|
1854
|
-
"name": "FAILURE_CARD_NUMBER",
|
|
1855
|
-
"type": {
|
|
1856
|
-
"text": "string"
|
|
1857
|
-
},
|
|
1858
|
-
"default": "'4242 4242 4242 4242'"
|
|
1859
|
-
},
|
|
1860
|
-
{
|
|
1861
|
-
"kind": "function",
|
|
1862
|
-
"name": "mockPaymentInstruments",
|
|
1863
|
-
"parameters": [
|
|
1864
|
-
{
|
|
1865
|
-
"name": "page",
|
|
1866
|
-
"type": {
|
|
1867
|
-
"text": "Page"
|
|
1868
|
-
}
|
|
1869
|
-
}
|
|
1870
|
-
]
|
|
1871
|
-
},
|
|
1872
|
-
{
|
|
1873
|
-
"kind": "function",
|
|
1874
|
-
"name": "mockPayments",
|
|
1875
|
-
"parameters": [
|
|
1876
|
-
{
|
|
1877
|
-
"name": "page",
|
|
1878
|
-
"type": {
|
|
1879
|
-
"text": "Page"
|
|
1880
|
-
}
|
|
1881
|
-
}
|
|
1882
|
-
]
|
|
1883
|
-
},
|
|
1884
|
-
{
|
|
1885
|
-
"kind": "function",
|
|
1886
|
-
"name": "mockPaymentInstrumentsFailure",
|
|
1887
|
-
"parameters": [
|
|
1888
|
-
{
|
|
1889
|
-
"name": "page",
|
|
1890
|
-
"type": {
|
|
1891
|
-
"text": "Page"
|
|
1892
|
-
}
|
|
1893
|
-
}
|
|
1894
|
-
]
|
|
1895
|
-
},
|
|
1896
|
-
{
|
|
1897
|
-
"kind": "function",
|
|
1898
|
-
"name": "mockPaymentsFailure",
|
|
1899
|
-
"parameters": [
|
|
1900
|
-
{
|
|
1901
|
-
"name": "page",
|
|
1902
|
-
"type": {
|
|
1903
|
-
"text": "Page"
|
|
1904
|
-
}
|
|
1905
|
-
}
|
|
1906
|
-
]
|
|
1855
|
+
"name": "n",
|
|
1856
|
+
"default": "e"
|
|
1907
1857
|
}
|
|
1908
1858
|
],
|
|
1909
1859
|
"exports": [
|
|
1910
1860
|
{
|
|
1911
1861
|
"kind": "js",
|
|
1912
|
-
"name": "
|
|
1913
|
-
"declaration": {
|
|
1914
|
-
"name": "settings",
|
|
1915
|
-
"module": "e2e/mocks/card-basic.ts"
|
|
1916
|
-
}
|
|
1917
|
-
},
|
|
1918
|
-
{
|
|
1919
|
-
"kind": "js",
|
|
1920
|
-
"name": "CONFIGURATION_RESPONSE",
|
|
1862
|
+
"name": "templates",
|
|
1921
1863
|
"declaration": {
|
|
1922
|
-
"name": "
|
|
1923
|
-
"module": "
|
|
1864
|
+
"name": "n",
|
|
1865
|
+
"module": "dist/chunks/cs.FC4I5M3C.js"
|
|
1924
1866
|
}
|
|
1925
|
-
}
|
|
1867
|
+
}
|
|
1868
|
+
]
|
|
1869
|
+
},
|
|
1870
|
+
{
|
|
1871
|
+
"kind": "javascript-module",
|
|
1872
|
+
"path": "dist/chunks/da.YI32NZ7B.js",
|
|
1873
|
+
"declarations": [
|
|
1926
1874
|
{
|
|
1927
|
-
"kind": "
|
|
1928
|
-
"name": "
|
|
1929
|
-
"
|
|
1930
|
-
|
|
1931
|
-
|
|
1932
|
-
|
|
1933
|
-
},
|
|
1875
|
+
"kind": "variable",
|
|
1876
|
+
"name": "a",
|
|
1877
|
+
"default": "e"
|
|
1878
|
+
}
|
|
1879
|
+
],
|
|
1880
|
+
"exports": [
|
|
1934
1881
|
{
|
|
1935
1882
|
"kind": "js",
|
|
1936
|
-
"name": "
|
|
1883
|
+
"name": "templates",
|
|
1937
1884
|
"declaration": {
|
|
1938
|
-
"name": "
|
|
1939
|
-
"module": "
|
|
1885
|
+
"name": "a",
|
|
1886
|
+
"module": "dist/chunks/da.YI32NZ7B.js"
|
|
1940
1887
|
}
|
|
1941
|
-
}
|
|
1888
|
+
}
|
|
1889
|
+
]
|
|
1890
|
+
},
|
|
1891
|
+
{
|
|
1892
|
+
"kind": "javascript-module",
|
|
1893
|
+
"path": "dist/chunks/de.7M7UFQB7.js",
|
|
1894
|
+
"declarations": [
|
|
1942
1895
|
{
|
|
1943
|
-
"kind": "
|
|
1944
|
-
"name": "
|
|
1945
|
-
"
|
|
1946
|
-
|
|
1947
|
-
|
|
1948
|
-
|
|
1949
|
-
},
|
|
1896
|
+
"kind": "variable",
|
|
1897
|
+
"name": "t",
|
|
1898
|
+
"default": "e"
|
|
1899
|
+
}
|
|
1900
|
+
],
|
|
1901
|
+
"exports": [
|
|
1950
1902
|
{
|
|
1951
1903
|
"kind": "js",
|
|
1952
|
-
"name": "
|
|
1904
|
+
"name": "templates",
|
|
1953
1905
|
"declaration": {
|
|
1954
|
-
"name": "
|
|
1955
|
-
"module": "
|
|
1906
|
+
"name": "t",
|
|
1907
|
+
"module": "dist/chunks/de.7M7UFQB7.js"
|
|
1956
1908
|
}
|
|
1957
|
-
}
|
|
1909
|
+
}
|
|
1910
|
+
]
|
|
1911
|
+
},
|
|
1912
|
+
{
|
|
1913
|
+
"kind": "javascript-module",
|
|
1914
|
+
"path": "dist/chunks/el.XSGTYDZR.js",
|
|
1915
|
+
"declarations": [
|
|
1958
1916
|
{
|
|
1959
|
-
"kind": "
|
|
1960
|
-
"name": "
|
|
1961
|
-
"
|
|
1962
|
-
|
|
1963
|
-
|
|
1964
|
-
|
|
1965
|
-
},
|
|
1917
|
+
"kind": "variable",
|
|
1918
|
+
"name": "o",
|
|
1919
|
+
"default": "e"
|
|
1920
|
+
}
|
|
1921
|
+
],
|
|
1922
|
+
"exports": [
|
|
1966
1923
|
{
|
|
1967
1924
|
"kind": "js",
|
|
1968
|
-
"name": "
|
|
1925
|
+
"name": "templates",
|
|
1969
1926
|
"declaration": {
|
|
1970
|
-
"name": "
|
|
1971
|
-
"module": "
|
|
1927
|
+
"name": "o",
|
|
1928
|
+
"module": "dist/chunks/el.XSGTYDZR.js"
|
|
1972
1929
|
}
|
|
1973
1930
|
}
|
|
1974
1931
|
]
|
|
1975
1932
|
},
|
|
1976
1933
|
{
|
|
1977
1934
|
"kind": "javascript-module",
|
|
1978
|
-
"path": "
|
|
1935
|
+
"path": "dist/chunks/en-GB.VO4GDE3X.js",
|
|
1979
1936
|
"declarations": [
|
|
1980
1937
|
{
|
|
1981
1938
|
"kind": "variable",
|
|
1982
|
-
"name": "
|
|
1983
|
-
"
|
|
1984
|
-
"text": "string"
|
|
1985
|
-
},
|
|
1986
|
-
"default": "'?settings=eyJjbGllbnRTZXNzaW9uQ29uZmlnIjp7ImN1c3RvbWVySWQiOiJFdWxlciBpcyB0aGUgYmVzdCIsIm9yZGVySWQiOiI0NTg1OCIsImFtb3VudCI6NjAwLCJjdXJyZW5jeUNvZGUiOiJFVVIiLCJtZXRhZGF0YSI6eyJzY2VuYXJpbyI6IkdPT0dMRV9QQVkifSwib3JkZXIiOnsiY291bnRyeUNvZGUiOiJERSIsImxpbmVJdGVtcyI6W3siaXRlbUlkIjoicHJpbWVyLWhvb2RpZS1ncmF5IiwiZGVzY3JpcHRpb24iOiJQcmltZXIgSG9vZGllIiwiYW1vdW50Ijo2MDAsInF1YW50aXR5IjoxfV19LCJjdXN0b21lciI6e30sInBheW1lbnRNZXRob2QiOnsidmF1bHRPblN1Y2Nlc3MiOmZhbHNlLCJ2YXVsdE9uM0RTIjpmYWxzZSwib3B0aW9ucyI6eyJQQVlQQUwiOnsic3VyY2hhcmdlIjp7ImFtb3VudCI6MH19LCJQQVlNRU5UX0NBUkQiOnsibmV0d29ya3MiOnsiVklTQSI6eyJzdXJjaGFyZ2UiOnsiYW1vdW50IjowfX0sIk1BU1RFUkNBUkQiOnsic3VyY2hhcmdlIjp7ImFtb3VudCI6MH19fX0sIkFEWUVOX0lERUFMIjp7InN1cmNoYXJnZSI6eyJhbW91bnQiOjB9fSwiUEFZX05MX1BBWVBBTCI6eyJzdXJjaGFyZ2UiOnsiYW1vdW50IjowfX0sIkFQUExFX1BBWSI6eyJzdXJjaGFyZ2UiOnsiYW1vdW50IjowfX0sIkFEWUVOX1NPRk9SVCI6eyJzdXJjaGFyZ2UiOnsiYW1vdW50IjowfX0sIkdPT0dMRV9QQVkiOnsic3VyY2hhcmdlIjp7ImFtb3VudCI6MH19fSwib3JkZXJlZEFsbG93ZWRDYXJkTmV0d29ya3MiOlsiVklTQSIsIk1BU1RFUkNBUkQiLCJBTUVYIiwiTUFFU1RSTyIsIlVOSU9OUEFZIiwiQ0FSVEVTX0JBTkNBSVJFUyIsIkRBTktPUlQiLCJESU5FUlNfQ0xVQiIsIkRJU0NPVkVSIiwiRU5ST1VURSIsIkVMTyIsIkhJUEVSIiwiSU5URVJBQyIsIkpDQiIsIk1JUiIsIk9USEVSIl19fSwiY2xpZW50T3B0aW9ucyI6eyJjYXJkIjp7InByZWZlcnJlZEZsb3ciOiJFTUJFRERFRF9JTl9IT01FIn0sImRpcmVjdERlYml0Ijp7ImN1c3RvbWVyQ291bnRyeUNvZGUiOiJGUiIsImNvbXBhbnlOYW1lIjoiUHJpbWVyIEFQSSBMVEQiLCJjb21wYW55QWRkcmVzcyI6IjEyMyBGYWtlIFN0LCBMb25kb24sIEVDMkEgOFhZIn0sInJlZGlyZWN0Ijp7ImZvcmNlUmVkaXJlY3QiOmZhbHNlfSwiZ29vZ2xlUGF5Ijp7ImNhcHR1cmVCaWxsaW5nQWRkcmVzcyI6dHJ1ZX19LCJhcGlDb25maWciOnsiYXBpS2V5IjoiMmI4NTM3YjItNDc4Yy00MzE1LTg4ZmItZjE5NTQ1MDBiNWZhIiwiYXBpVmVyc2lvbiI6IjIuMyIsImVudiI6IkNVU1RPTV9TQU5EQk9YIn0sImhlYWRsZXNzT3B0aW9ucyI6e30sImxpdENvbXBvbmVudHNPcHRpb25zIjp7InNka0NvcmUiOmZhbHNlfX0='"
|
|
1987
|
-
},
|
|
1988
|
-
{
|
|
1989
|
-
"kind": "variable",
|
|
1990
|
-
"name": "CONFIGURATION_RESPONSE",
|
|
1991
|
-
"type": {
|
|
1992
|
-
"text": "object"
|
|
1993
|
-
},
|
|
1994
|
-
"default": "{ coreUrl: 'https://api.sandbox.primer.io', pciUrl: 'https://sdk.api.sandbox.primer.io', binDataUrl: 'https://bin-data.api.sandbox.core.primer.io', assetsUrl: 'https://assets.sandbox.core.primer.io', checkoutModules: [ { type: 'TAX_CALCULATION', requestUrl: '/sales-tax/calculate', }, { type: 'CARD_INFORMATION', }, ], clientSession: { clientSessionId: 'ff9ecd24-537f-4928-a8e4-5534d2375200', order: { orderId: '45858', currencyCode: 'EUR', countryCode: 'DE', totalOrderAmount: 600, merchantAmount: 600, lineItems: [ { itemId: 'primer-hoodie-gray', description: 'Primer Hoodie', amount: 600, quantity: 1, }, ], }, customer: { customerId: 'Euler is the best', }, paymentMethod: { vaultOnSuccess: false, options: [ { type: 'PAYPAL', surcharge: 0, }, { type: 'PAYMENT_CARD', networks: [ { type: 'VISA', surcharge: 0, }, { type: 'MASTERCARD', surcharge: 0, }, ], }, { type: 'ADYEN_IDEAL', surcharge: 0, }, { type: 'PAY_NL_PAYPAL', surcharge: 0, }, { type: 'APPLE_PAY', surcharge: 0, }, { type: 'ADYEN_SOFORT', surcharge: 0, }, { type: 'GOOGLE_PAY', surcharge: 0, }, ], orderedAllowedCardNetworks: [ 'VISA', 'MASTERCARD', 'AMEX', 'MAESTRO', 'UNIONPAY', 'CARTES_BANCAIRES', 'DANKORT', 'DINERS_CLUB', 'DISCOVER', 'ENROUTE', 'ELO', 'HIPER', 'INTERAC', 'JCB', 'MIR', 'OTHER', ], vaultOnAgreement: false, }, }, primerAccountId: '84100a01-523f-4347-ac44-e8a3e7083d9a', env: 'SANDBOX', paymentMethods: [ { id: 'e787b281-e4f9-4494-96e8-188917540654', type: 'ADYEN_IDEAL', options: { merchantId: 'PrimerJbTestECOM', merchantAccountId: '4ad980f3-ccc7-5e8e-9a9c-81cd6f5214d4', }, processorConfigId: '9319ad4e-cd51-4517-9d46-bc7be244752a', implementationType: 'WEB_REDIRECT', name: 'iDeal', displayMetadata: { button: { iconUrl: { colored: 'https://assets.sandbox.core.primer.io/IDEAL/ideal-logo@3x.png', dark: 'https://assets.sandbox.core.primer.io/IDEAL/ideal-logo@3x.png', light: 'https://assets.sandbox.core.primer.io/IDEAL/ideal-logo@3x.png', }, backgroundColor: { colored: '#CC0066', dark: '#000000', light: '#FFFFFF', }, cornerRadius: 4, borderWidth: { colored: 0, dark: 1, light: 1, }, borderColor: { dark: '#FFFFFF', light: '#212121', }, }, popup: { width: 1050, height: 1300, }, }, forceRedirect: false, implementation: {}, }, { id: 'e1b5e078-081c-4075-a3cc-5ebc779d36f2', type: 'KLARNA', options: { merchantId: 'Primer', merchantAccountId: 'b6902742-384a-5dfa-b1ff-7dcd02880dc3', clientId: 'Primer', }, processorConfigId: 'b70c2b11-e37f-41fe-9797-d3900f343a36', implementationType: 'NATIVE_SDK', name: 'Klarna', displayMetadata: { button: { iconUrl: { colored: 'https://assets.sandbox.core.primer.io/KLARNA/klarna-logo@3x.png', dark: 'https://assets.sandbox.core.primer.io/KLARNA/klarna-logo-dark@3x.png', light: 'https://assets.sandbox.core.primer.io/KLARNA/klarna-logo-light@3x.png', }, backgroundColor: { colored: '#FFB3C7', dark: '#000000', light: '#FFFFFF', }, cornerRadius: 4, borderWidth: { colored: 0, dark: 1, light: 1, }, borderColor: { colored: '#FFB3C7', dark: '#FFFFFF', light: '#212121', }, }, }, forceRedirect: false, implementation: {}, }, { id: '4e9497d8-1503-4541-8ead-d88151ffa257', type: 'XFERS_PAYNOW', options: { merchantId: 'testi', merchantAccountId: '6fb12703-1795-55ac-875e-2e8476cb8390', }, processorConfigId: '545e5533-b575-4c61-aebe-dec49a836f1b', implementationType: 'NATIVE_SDK', name: 'Xfers', displayMetadata: { button: { iconUrl: { colored: 'https://assets.sandbox.core.primer.io/XFERS/xfers-logo@3x.png', dark: 'https://assets.sandbox.core.primer.io/XFERS/xfers-logo-dark@3x.png', light: 'https://assets.sandbox.core.primer.io/XFERS/xfers-logo-light@3x.png', }, backgroundColor: { colored: '#941C80', dark: '#000000', light: '#FFFFFF', }, cornerRadius: 4, borderWidth: { colored: 0, dark: 1, light: 1, }, borderColor: { colored: '#028BF4', dark: '#FFFFFF', light: '#212121', }, }, }, forceRedirect: false, implementation: {}, }, { id: '9e407fb0-a2f8-4636-a5bc-f404ac757c68', type: 'PAYPAL', options: { merchantId: 'sb-iyjg882920702@business.example.com', merchantAccountId: 'e584f5c7-3c7f-5b58-b187-8e641b0cdce4', clientId: 'AXsZfsyf2jtpTpLQARwSeBurtfT6WiRjHQt1PodMf94gPH0iLwglSdSJ7ZAQT3tCHNZQL--VlrVfwscv', intent: 'authorize', }, processorConfigId: '573b0c98-d588-4223-973f-513a5b5a6177', implementationType: 'NATIVE_SDK', name: 'PayPal', displayMetadata: { button: { iconUrl: { colored: 'https://assets.sandbox.core.primer.io/PAYPAL/paypal-logo@3x.png', }, backgroundColor: { colored: '#0070BA', }, cornerRadius: 4, }, }, forceRedirect: false, implementation: {}, }, { id: 'c657ae04-c230-4be4-9615-9b822743e5e4', type: 'APPLE_PAY', options: { merchantId: '84100a01523f4347ac44e8a3e7083d9a', merchantName: 'DX QA Account', merchantDomains: [], }, implementationType: 'NATIVE_SDK', name: 'Apple Pay', displayMetadata: { button: { iconUrl: { dark: 'https://assets.sandbox.core.primer.io/APPLE_PAY/apple-pay-logo-dark@3x.png', light: 'https://assets.sandbox.core.primer.io/APPLE_PAY/apple-pay-logo-light@3x.png', }, backgroundColor: { dark: '#000000', light: '#FFFFFF', }, cornerRadius: 4, borderWidth: { colored: 0, dark: 1, light: 1, }, borderColor: { dark: '#FFFFFF', light: '#212121', }, }, }, implementation: {}, }, { id: '527ee4ff-2c66-4234-829f-d20480f3aa09', type: 'GOOGLE_PAY', options: { merchantId: '06134396481468734566', merchantName: 'Primer', type: 'GOOGLE_PAY', }, implementationType: 'NATIVE_SDK', name: 'Google Pay', displayMetadata: { button: { iconUrl: { colored: 'https://assets.sandbox.core.primer.io/GOOGLE_PAY/google-pay-logo-dark@3x.png', dark: 'https://assets.sandbox.core.primer.io/GOOGLE_PAY/google-pay-logo-dark@3x.png', light: 'https://assets.sandbox.core.primer.io/GOOGLE_PAY/google-pay-logo-light@3x.png', }, backgroundColor: { colored: '#000000', dark: '#000000', light: '#FFFFFF', }, cornerRadius: 4, borderWidth: { colored: 1, dark: 1, light: 1, }, borderColor: { colored: '#8E8E93', dark: '#FFFFFF', light: '#212121', }, }, }, forceRedirect: false, implementation: {}, }, { type: 'PAYMENT_CARD', options: { threeDSecureProvider: '3DSECUREIO', threeDSecureEnabled: true, }, implementationType: 'NATIVE_SDK', name: 'Card', displayMetadata: { button: { iconUrl: { dark: 'https://assets.sandbox.core.primer.io/PAYMENT_CARD/payment-card-logo-dark@3x.png', light: 'https://assets.sandbox.core.primer.io/PAYMENT_CARD/payment-card-logo-light@3x.png', }, backgroundColor: { dark: '#000000', light: '#FFFFFF', }, cornerRadius: 4, borderWidth: { colored: 0, dark: 1, light: 1, }, borderColor: { dark: '#FFFFFF', light: '#212121', }, text: 'Pay by card', textColor: { dark: '#FFFFFF', light: '#000000', }, }, }, forceRedirect: false, implementation: {}, }, ], styleDefaults: {}, }"
|
|
1939
|
+
"name": "o",
|
|
1940
|
+
"default": "t"
|
|
1995
1941
|
}
|
|
1996
1942
|
],
|
|
1997
1943
|
"exports": [
|
|
1998
1944
|
{
|
|
1999
1945
|
"kind": "js",
|
|
2000
|
-
"name": "
|
|
2001
|
-
"declaration": {
|
|
2002
|
-
"name": "settings",
|
|
2003
|
-
"module": "e2e/mocks/klarna.ts"
|
|
2004
|
-
}
|
|
2005
|
-
},
|
|
2006
|
-
{
|
|
2007
|
-
"kind": "js",
|
|
2008
|
-
"name": "CONFIGURATION_RESPONSE",
|
|
1946
|
+
"name": "templates",
|
|
2009
1947
|
"declaration": {
|
|
2010
|
-
"name": "
|
|
2011
|
-
"module": "
|
|
1948
|
+
"name": "o",
|
|
1949
|
+
"module": "dist/chunks/en-GB.VO4GDE3X.js"
|
|
2012
1950
|
}
|
|
2013
1951
|
}
|
|
2014
1952
|
]
|
|
2015
1953
|
},
|
|
2016
1954
|
{
|
|
2017
1955
|
"kind": "javascript-module",
|
|
2018
|
-
"path": "
|
|
1956
|
+
"path": "dist/chunks/en.MNFLVOE3.js",
|
|
2019
1957
|
"declarations": [
|
|
2020
1958
|
{
|
|
2021
|
-
"kind": "
|
|
2022
|
-
"name": "
|
|
2023
|
-
"
|
|
2024
|
-
{
|
|
2025
|
-
"name": "page",
|
|
2026
|
-
"type": {
|
|
2027
|
-
"text": "Page"
|
|
2028
|
-
}
|
|
2029
|
-
},
|
|
2030
|
-
{
|
|
2031
|
-
"name": "config",
|
|
2032
|
-
"type": {
|
|
2033
|
-
"text": "unknown"
|
|
2034
|
-
}
|
|
2035
|
-
}
|
|
2036
|
-
]
|
|
2037
|
-
},
|
|
2038
|
-
{
|
|
2039
|
-
"kind": "function",
|
|
2040
|
-
"name": "mockConfigurationCallSTG",
|
|
2041
|
-
"parameters": [
|
|
2042
|
-
{
|
|
2043
|
-
"name": "page",
|
|
2044
|
-
"type": {
|
|
2045
|
-
"text": "Page"
|
|
2046
|
-
}
|
|
2047
|
-
},
|
|
2048
|
-
{
|
|
2049
|
-
"name": "config",
|
|
2050
|
-
"type": {
|
|
2051
|
-
"text": "unknown"
|
|
2052
|
-
}
|
|
2053
|
-
}
|
|
2054
|
-
]
|
|
1959
|
+
"kind": "variable",
|
|
1960
|
+
"name": "o",
|
|
1961
|
+
"default": "t"
|
|
2055
1962
|
}
|
|
2056
1963
|
],
|
|
2057
1964
|
"exports": [
|
|
2058
1965
|
{
|
|
2059
1966
|
"kind": "js",
|
|
2060
|
-
"name": "
|
|
2061
|
-
"declaration": {
|
|
2062
|
-
"name": "mockConfigurationCallSBX",
|
|
2063
|
-
"module": "e2e/mocks/shared.ts"
|
|
2064
|
-
}
|
|
2065
|
-
},
|
|
2066
|
-
{
|
|
2067
|
-
"kind": "js",
|
|
2068
|
-
"name": "mockConfigurationCallSTG",
|
|
1967
|
+
"name": "templates",
|
|
2069
1968
|
"declaration": {
|
|
2070
|
-
"name": "
|
|
2071
|
-
"module": "
|
|
1969
|
+
"name": "o",
|
|
1970
|
+
"module": "dist/chunks/en.MNFLVOE3.js"
|
|
2072
1971
|
}
|
|
2073
1972
|
}
|
|
2074
1973
|
]
|
|
2075
1974
|
},
|
|
2076
1975
|
{
|
|
2077
1976
|
"kind": "javascript-module",
|
|
2078
|
-
"path": "
|
|
1977
|
+
"path": "dist/chunks/es-AR.TBWVUZEF.js",
|
|
2079
1978
|
"declarations": [
|
|
2080
1979
|
{
|
|
2081
1980
|
"kind": "variable",
|
|
2082
|
-
"name": "
|
|
2083
|
-
"
|
|
2084
|
-
"text": "string"
|
|
2085
|
-
},
|
|
2086
|
-
"default": "'?settings=eyJjbGllbnRTZXNzaW9uQ29uZmlnIjp7ImN1c3RvbWVySWQiOiJFdWxlciBpcyB0aGUgYmVzdCIsIm9yZGVySWQiOiIwODkzNTcwMTgyNTM2NyIsImFtb3VudCI6NjAwLCJjdXJyZW5jeUNvZGUiOiJFVVIiLCJtZXRhZGF0YSI6eyJzY2VuYXJpbyI6IkdPT0dMRV9QQVkifSwib3JkZXIiOnsiZmVlcyI6W3sidHlwZSI6IlNVUkNIQVJHRSIsImFtb3VudCI6MH1dLCJjb3VudHJ5Q29kZSI6IkRFIiwibGluZUl0ZW1zIjpbeyJpdGVtSWQiOiJwcmltZXItaG9vZGllLWdyYXkiLCJkZXNjcmlwdGlvbiI6IlByaW1lciBIb29kaWUiLCJhbW91bnQiOjYwMCwicXVhbnRpdHkiOjF9XX0sImN1c3RvbWVyIjp7ImJpbGxpbmdBZGRyZXNzIjp7ImZpcnN0TmFtZSI6IkNhcmQiLCJsYXN0TmFtZSI6IkhvbGRlciBOYW1lIiwicG9zdGFsQ29kZSI6Ijk0MDQzIiwiYWRkcmVzc0xpbmUxIjoiMTYwMCBBbXBoaXRoZWF0cmUgUGFya3dheSIsImNvdW50cnlDb2RlIjoiVVMiLCJjaXR5IjoiTW91bnRhaW4gVmlldyIsInN0YXRlIjoiQ0EifX0sInBheW1lbnRNZXRob2QiOnsidmF1bHRPblN1Y2Nlc3MiOmZhbHNlLCJ2YXVsdE9uM0RTIjpmYWxzZSwidmF1bHRPbkFncmVlbWVudCI6ZmFsc2UsIm9wdGlvbnMiOnsiUEFZUEFMIjp7InN1cmNoYXJnZSI6eyJhbW91bnQiOjB9fSwiUEFZTUVOVF9DQVJEIjp7Im5ldHdvcmtzIjp7IlZJU0EiOnsic3VyY2hhcmdlIjp7ImFtb3VudCI6MH19LCJNQVNURVJDQVJEIjp7InN1cmNoYXJnZSI6eyJhbW91bnQiOjB9fX19LCJBRFlFTl9JREVBTCI6eyJzdXJjaGFyZ2UiOnsiYW1vdW50IjowfX0sIlBBWV9OTF9QQVlQQUwiOnsic3VyY2hhcmdlIjp7ImFtb3VudCI6MH19LCJBUFBMRV9QQVkiOnsic3VyY2hhcmdlIjp7ImFtb3VudCI6MH19LCJBRFlFTl9TT0ZPUlQiOnsic3VyY2hhcmdlIjp7ImFtb3VudCI6MH19LCJHT09HTEVfUEFZIjp7InN1cmNoYXJnZSI6eyJhbW91bnQiOjB9fX0sIm9yZGVyZWRBbGxvd2VkQ2FyZE5ldHdvcmtzIjpbIlZJU0EiLCJNQVNURVJDQVJEIiwiQU1FWCIsIk1BRVNUUk8iLCJVTklPTlBBWSIsIkNBUlRFU19CQU5DQUlSRVMiLCJEQU5LT1JUIiwiRElORVJTX0NMVUIiLCJESVNDT1ZFUiIsIkVOUk9VVEUiLCJFTE8iLCJISVBFUiIsIklOVEVSQUMiLCJKQ0IiLCJNSVIiLCJPVEhFUiJdfX0sImNsaWVudE9wdGlvbnMiOnsiY2FyZCI6eyJwcmVmZXJyZWRGbG93IjoiRU1CRURERURfSU5fSE9NRSJ9LCJkaXJlY3REZWJpdCI6eyJjdXN0b21lckNvdW50cnlDb2RlIjoiRlIiLCJjb21wYW55TmFtZSI6IlByaW1lciBBUEkgTFREIiwiY29tcGFueUFkZHJlc3MiOiIxMjMgRmFrZSBTdCwgTG9uZG9uLCBFQzJBIDhYWSJ9LCJyZWRpcmVjdCI6eyJmb3JjZVJlZGlyZWN0IjpmYWxzZX0sImdvb2dsZVBheSI6eyJjYXB0dXJlQmlsbGluZ0FkZHJlc3MiOnRydWV9LCJwYXlwYWwiOnsicGF5bWVudEZsb3ciOiJQUkVGRVJfVkFVTFQifX0sImFwaUNvbmZpZyI6eyJhcGlLZXkiOiJmMzA4ODVmMC04MjljLTRmMGEtYjIyMi1iN2Y1OWQzNzZlYWYiLCJhcGlWZXJzaW9uIjoiMi40IiwiZW52IjoiQ1VTVE9NX1NBTkRCT1gifSwiaGVhZGxlc3NPcHRpb25zIjp7fSwibGl0Q29tcG9uZW50c09wdGlvbnMiOnsicGF5cGFsIjp7InBheW1lbnRGbG93IjoiUFJFRkVSX1ZBVUxUIn0sInZhdWx0Ijp7ImVuYWJsZWQiOnRydWV9LCJzZGtDb3JlIjpmYWxzZX19'"
|
|
2087
|
-
},
|
|
2088
|
-
{
|
|
2089
|
-
"kind": "variable",
|
|
2090
|
-
"name": "CONFIGURATION_RESPONSE",
|
|
2091
|
-
"type": {
|
|
2092
|
-
"text": "object"
|
|
2093
|
-
},
|
|
2094
|
-
"default": "{ coreUrl: 'https://api.sandbox.primer.io', pciUrl: 'https://sdk.api.sandbox.primer.io', binDataUrl: 'https://bin-data.api.sandbox.core.primer.io', assetsUrl: 'https://assets.sandbox.core.primer.io', checkoutModules: [], clientSession: { clientSessionId: '3b40a6e3-8fa9-4f2d-90b5-2691e644ff81', order: { orderId: '089357018253670', currencyCode: 'EUR', countryCode: 'DE', totalOrderAmount: 600, merchantAmount: 600, lineItems: [ { itemId: 'primer-hoodie-gray', description: 'Primer Hoodie', amount: 600, quantity: 1, }, ], fees: [ { type: 'SURCHARGE', amount: 0, }, ], }, customer: { customerId: 'Euler is the best', billingAddress: { firstName: 'Card', lastName: 'Holder Name', postalCode: '94043', addressLine1: '1600 Amphitheatre Parkway', countryCode: 'US', city: 'Mountain View', state: 'CA', }, }, paymentMethod: { vaultOnSuccess: false, options: [ { type: 'PAYPAL', surcharge: 0, }, { type: 'PAYMENT_CARD', networks: [ { type: 'VISA', surcharge: 0, }, { type: 'MASTERCARD', surcharge: 0, }, ], }, { type: 'ADYEN_IDEAL', surcharge: 0, }, { type: 'PAY_NL_PAYPAL', surcharge: 0, }, { type: 'APPLE_PAY', surcharge: 0, }, { type: 'ADYEN_SOFORT', surcharge: 0, }, { type: 'GOOGLE_PAY', surcharge: 0, }, ], orderedAllowedCardNetworks: [ 'VISA', 'MASTERCARD', 'AMEX', 'MAESTRO', 'UNIONPAY', 'CARTES_BANCAIRES', 'DANKORT', 'DINERS_CLUB', 'DISCOVER', 'ENROUTE', 'ELO', 'HIPER', 'INTERAC', 'JCB', 'MIR', 'OTHER', ], vaultOnAgreement: false, }, }, primerAccountId: '166fd38f-d8a6-4f39-805f-62a6bbd64bee', env: 'SANDBOX', paymentMethods: [ { id: 'd3ced3db-ca91-44bb-889d-d1a687c2db17', type: 'RAPYD_GRABPAY', options: { merchantId: 'ffef08c0-5294-47d7-a103-dd5706f17b6c', merchantAccountId: 'e59b7dae-0cff-5fa9-8548-9fed83c1d5ec', }, processorConfigId: 'ffef08c0-5294-47d7-a103-dd5706f17b6c', implementationType: 'WEB_REDIRECT', name: 'GrabPay', displayMetadata: { button: { iconUrl: { colored: 'https://assets.sandbox.core.primer.io/GRABPAY/grabpay-logo@3x.png', dark: 'https://assets.sandbox.core.primer.io/GRABPAY/grabpay-logo@3x.png', light: 'https://assets.sandbox.core.primer.io/GRABPAY/grabpay-logo-light@3x.png', }, backgroundColor: { colored: '#01B14E', dark: '#000000', light: '#FFFFFF', }, cornerRadius: 4, borderWidth: { colored: 0, dark: 1, light: 1, }, borderColor: { dark: '#FFFFFF', light: '#212121', }, }, }, forceRedirect: false, implementation: {}, }, { id: 'f37f1a42-1270-476e-a8d8-3698215596c2', type: 'RAPYD_GCASH', options: { merchantId: 'ffef08c0-5294-47d7-a103-dd5706f17b6c', merchantAccountId: 'e59b7dae-0cff-5fa9-8548-9fed83c1d5ec', }, processorConfigId: 'ffef08c0-5294-47d7-a103-dd5706f17b6c', implementationType: 'WEB_REDIRECT', name: 'GCash', displayMetadata: { button: { iconUrl: { colored: 'https://assets.sandbox.core.primer.io/GCASH/gcash-logo@3x.png', dark: 'https://assets.sandbox.core.primer.io/GCASH/gcash-logo@3x.png', light: 'https://assets.sandbox.core.primer.io/GCASH/gcash-logo-light@3x.png', }, backgroundColor: { colored: '#297BFA', dark: '#000000', light: '#FFFFFF', }, cornerRadius: 4, borderWidth: { colored: 0, dark: 1, light: 1, }, borderColor: { dark: '#FFFFFF', light: '#212121', }, }, }, forceRedirect: false, implementation: {}, }, { id: '1bde0ef5-9ae7-41f8-b627-4ecaaddc76a5', type: 'RAPYD_PROMPTPAY', options: { merchantId: 'ffef08c0-5294-47d7-a103-dd5706f17b6c', merchantAccountId: 'e59b7dae-0cff-5fa9-8548-9fed83c1d5ec', }, processorConfigId: 'ffef08c0-5294-47d7-a103-dd5706f17b6c', implementationType: 'NATIVE_SDK', name: 'PromptPay', displayMetadata: { button: { iconUrl: { colored: 'https://assets.sandbox.core.primer.io/PROMPTPAY/promptpay-logo@3x.png', dark: 'https://assets.sandbox.core.primer.io/PROMPTPAY/promptpay-logo@3x.png', light: 'https://assets.sandbox.core.primer.io/PROMPTPAY/promptpay-logo-light@3x.png', }, backgroundColor: { colored: '#023C68', dark: '#000000', light: '#FFFFFF', }, cornerRadius: 4, borderWidth: { colored: 0, dark: 1, light: 1, }, borderColor: { dark: '#FFFFFF', light: '#212121', }, }, }, forceRedirect: false, implementation: {}, }, { id: '2b0b7149-a4c2-4bf4-adb3-a56ec6e2f09f', type: 'ADYEN_IDEAL', options: { merchantId: 'Primerio254_SECOND_TEST', merchantAccountId: 'ddeca4e9-6cee-55f0-ae0d-ddb8d1100977', }, processorConfigId: 'af152714-66c6-48b9-a67e-314f5eb3ab15', implementationType: 'WEB_REDIRECT', name: 'iDeal', displayMetadata: { button: { iconUrl: { colored: 'https://assets.sandbox.core.primer.io/IDEAL/ideal-logo@3x.png', dark: 'https://assets.sandbox.core.primer.io/IDEAL/ideal-logo@3x.png', light: 'https://assets.sandbox.core.primer.io/IDEAL/ideal-logo@3x.png', }, backgroundColor: { colored: '#CC0066', dark: '#000000', light: '#FFFFFF', }, cornerRadius: 4, borderWidth: { colored: 0, dark: 1, light: 1, }, borderColor: { dark: '#FFFFFF', light: '#212121', }, }, popup: { width: 1050, height: 1300, }, }, forceRedirect: false, implementation: {}, }, { id: '6e7a8a26-7737-45dc-b4e5-721f0b180f2f', type: 'GOOGLE_PAY', options: { merchantId: 'test', merchantName: 'test', type: 'GOOGLE_PAY', }, implementationType: 'NATIVE_SDK', name: 'Google Pay', displayMetadata: { button: { iconUrl: { colored: 'https://assets.sandbox.core.primer.io/GOOGLE_PAY/google-pay-logo-dark@3x.png', dark: 'https://assets.sandbox.core.primer.io/GOOGLE_PAY/google-pay-logo-dark@3x.png', light: 'https://assets.sandbox.core.primer.io/GOOGLE_PAY/google-pay-logo-light@3x.png', }, backgroundColor: { colored: '#000000', dark: '#000000', light: '#FFFFFF', }, cornerRadius: 4, borderWidth: { colored: 1, dark: 1, light: 1, }, borderColor: { colored: '#8E8E93', dark: '#FFFFFF', light: '#212121', }, }, }, forceRedirect: false, implementation: {}, }, { id: '2f32f120-d2a9-49d2-96d0-6b21546dec34', type: 'KLARNA', options: { merchantId: 'EG100723', merchantAccountId: '5cdd4a63-9762-5364-8ab8-30aa082a03b5', clientId: 'EG100723', }, processorConfigId: 'c65b140d-3faf-43af-ae3b-8d278b7d7221', implementationType: 'NATIVE_SDK', name: 'Klarna', displayMetadata: { button: { iconUrl: { colored: 'https://assets.sandbox.core.primer.io/KLARNA/klarna-logo@3x.png', dark: 'https://assets.sandbox.core.primer.io/KLARNA/klarna-logo-dark@3x.png', light: 'https://assets.sandbox.core.primer.io/KLARNA/klarna-logo-light@3x.png', }, backgroundColor: { colored: '#FFB3C7', dark: '#000000', light: '#FFFFFF', }, cornerRadius: 4, borderWidth: { colored: 0, dark: 1, light: 1, }, borderColor: { colored: '#FFB3C7', dark: '#FFFFFF', light: '#212121', }, }, }, forceRedirect: false, implementation: {}, }, { id: '9e550cea-749e-46d2-b01d-6867b34eec9a', type: 'PAYPAL', options: { merchantId: 'sb-gmcgm25177732@business.example.com', merchantAccountId: 'fc6c22da-065a-5a44-8c39-a4a1fcaf5723', clientId: 'AcTGoAPNhwfbSPbiVYSlrUGwTBGijs6GvFGci2R3QI1jlu5ewofPFq0yZDm-Rka07c1FtY4DVnsRerPK', intent: 'authorize', }, processorConfigId: '6b506d09-48b0-495c-ba32-49c6d2016cb0', implementationType: 'NATIVE_SDK', name: 'PayPal', displayMetadata: { button: { iconUrl: { colored: 'https://assets.sandbox.core.primer.io/PAYPAL/paypal-logo@3x.png', }, backgroundColor: { colored: '#0070BA', }, cornerRadius: 4, }, }, forceRedirect: false, implementation: {}, }, { type: 'PAYMENT_CARD', options: { threeDSecureProvider: '3DSECUREIO', threeDSecureEnabled: true, }, implementationType: 'NATIVE_SDK', name: 'Card', displayMetadata: { button: { iconUrl: { dark: 'https://assets.sandbox.core.primer.io/PAYMENT_CARD/payment-card-logo-dark@3x.png', light: 'https://assets.sandbox.core.primer.io/PAYMENT_CARD/payment-card-logo-light@3x.png', }, backgroundColor: { dark: '#000000', light: '#FFFFFF', }, cornerRadius: 4, borderWidth: { colored: 0, dark: 1, light: 1, }, borderColor: { dark: '#FFFFFF', light: '#212121', }, text: 'Pay by card', textColor: { dark: '#FFFFFF', light: '#000000', }, }, }, forceRedirect: false, implementation: {}, }, ], styleDefaults: {}, }"
|
|
2095
|
-
},
|
|
2096
|
-
{
|
|
2097
|
-
"kind": "function",
|
|
2098
|
-
"name": "mockExchangeCall",
|
|
2099
|
-
"parameters": [
|
|
2100
|
-
{
|
|
2101
|
-
"name": "page",
|
|
2102
|
-
"type": {
|
|
2103
|
-
"text": "Page"
|
|
2104
|
-
}
|
|
2105
|
-
}
|
|
2106
|
-
]
|
|
2107
|
-
},
|
|
2108
|
-
{
|
|
2109
|
-
"kind": "function",
|
|
2110
|
-
"name": "mockPaymentsCall",
|
|
2111
|
-
"parameters": [
|
|
2112
|
-
{
|
|
2113
|
-
"name": "page",
|
|
2114
|
-
"type": {
|
|
2115
|
-
"text": "Page"
|
|
2116
|
-
}
|
|
2117
|
-
}
|
|
2118
|
-
]
|
|
1981
|
+
"name": "i",
|
|
1982
|
+
"default": "e"
|
|
2119
1983
|
}
|
|
2120
1984
|
],
|
|
2121
1985
|
"exports": [
|
|
2122
1986
|
{
|
|
2123
1987
|
"kind": "js",
|
|
2124
|
-
"name": "
|
|
2125
|
-
"declaration": {
|
|
2126
|
-
"name": "settings",
|
|
2127
|
-
"module": "e2e/mocks/vaulted-paypal.ts"
|
|
2128
|
-
}
|
|
2129
|
-
},
|
|
2130
|
-
{
|
|
2131
|
-
"kind": "js",
|
|
2132
|
-
"name": "CONFIGURATION_RESPONSE",
|
|
1988
|
+
"name": "templates",
|
|
2133
1989
|
"declaration": {
|
|
2134
|
-
"name": "
|
|
2135
|
-
"module": "
|
|
1990
|
+
"name": "i",
|
|
1991
|
+
"module": "dist/chunks/es-AR.TBWVUZEF.js"
|
|
2136
1992
|
}
|
|
2137
|
-
}
|
|
1993
|
+
}
|
|
1994
|
+
]
|
|
1995
|
+
},
|
|
1996
|
+
{
|
|
1997
|
+
"kind": "javascript-module",
|
|
1998
|
+
"path": "dist/chunks/es-MX.6EMWUABR.js",
|
|
1999
|
+
"declarations": [
|
|
2138
2000
|
{
|
|
2139
|
-
"kind": "
|
|
2140
|
-
"name": "
|
|
2141
|
-
"
|
|
2142
|
-
|
|
2143
|
-
|
|
2144
|
-
|
|
2145
|
-
},
|
|
2001
|
+
"kind": "variable",
|
|
2002
|
+
"name": "i",
|
|
2003
|
+
"default": "e"
|
|
2004
|
+
}
|
|
2005
|
+
],
|
|
2006
|
+
"exports": [
|
|
2146
2007
|
{
|
|
2147
2008
|
"kind": "js",
|
|
2148
|
-
"name": "
|
|
2009
|
+
"name": "templates",
|
|
2149
2010
|
"declaration": {
|
|
2150
|
-
"name": "
|
|
2151
|
-
"module": "
|
|
2011
|
+
"name": "i",
|
|
2012
|
+
"module": "dist/chunks/es-MX.6EMWUABR.js"
|
|
2152
2013
|
}
|
|
2153
2014
|
}
|
|
2154
2015
|
]
|
|
2155
2016
|
},
|
|
2156
2017
|
{
|
|
2157
2018
|
"kind": "javascript-module",
|
|
2158
|
-
"path": "
|
|
2159
|
-
"declarations": [],
|
|
2160
|
-
"exports": []
|
|
2161
|
-
},
|
|
2162
|
-
{
|
|
2163
|
-
"kind": "javascript-module",
|
|
2164
|
-
"path": "e2e/tests/card-basic.spec.ts",
|
|
2165
|
-
"declarations": [],
|
|
2166
|
-
"exports": []
|
|
2167
|
-
},
|
|
2168
|
-
{
|
|
2169
|
-
"kind": "javascript-module",
|
|
2170
|
-
"path": "e2e/tests/card-form-billing-address.spec.ts",
|
|
2171
|
-
"declarations": [],
|
|
2172
|
-
"exports": []
|
|
2173
|
-
},
|
|
2174
|
-
{
|
|
2175
|
-
"kind": "javascript-module",
|
|
2176
|
-
"path": "e2e/tests/disabled-payments.spec.ts",
|
|
2019
|
+
"path": "dist/chunks/es.XZLDFHYI.js",
|
|
2177
2020
|
"declarations": [
|
|
2178
2021
|
{
|
|
2179
2022
|
"kind": "variable",
|
|
2180
|
-
"name": "
|
|
2181
|
-
"
|
|
2182
|
-
"text": "string"
|
|
2183
|
-
},
|
|
2184
|
-
"default": "'?settings=eyJjbGllbnRTZXNzaW9uQ29uZmlnIjp7ImN1c3RvbWVySWQiOiJhaXJ3YWxsZXgtY3VzdG9tZXItaWQtZGVtbyIsIm9yZGVySWQiOiIzNDc3NSIsImFtb3VudCI6MTAwMCwiY3VycmVuY3lDb2RlIjoiRVVSIiwibWV0YWRhdGEiOnsid29ya2Zsb3ciOiJhaXJ3YWxsZXgifSwib3JkZXIiOnsiY291bnRyeUNvZGUiOiJHQiIsImxpbmVJdGVtcyI6W3siaXRlbUlkIjoicHJpbWVyLWhvb2RpZS1ncmF5IiwiZGVzY3JpcHRpb24iOiJQcmltZXIgSG9vZGllIiwiYW1vdW50IjoxMDAwLCJxdWFudGl0eSI6MX1dfSwiY3VzdG9tZXIiOnt9LCJwYXltZW50TWV0aG9kIjp7InZhdWx0T25TdWNjZXNzIjpmYWxzZSwidmF1bHRPbjNEUyI6ZmFsc2UsIm9wdGlvbnMiOnsiUEFZUEFMIjp7InN1cmNoYXJnZSI6eyJhbW91bnQiOjB9fSwiUEFZTUVOVF9DQVJEIjp7Im5ldHdvcmtzIjp7IlZJU0EiOnsic3VyY2hhcmdlIjp7ImFtb3VudCI6MH19LCJNQVNURVJDQVJEIjp7InN1cmNoYXJnZSI6eyJhbW91bnQiOjB9fX19LCJBRFlFTl9JREVBTCI6eyJzdXJjaGFyZ2UiOnsiYW1vdW50IjowfX0sIlBBWV9OTF9QQVlQQUwiOnsic3VyY2hhcmdlIjp7ImFtb3VudCI6MH19LCJBUFBMRV9QQVkiOnsic3VyY2hhcmdlIjp7ImFtb3VudCI6MH19LCJBRFlFTl9TT0ZPUlQiOnsic3VyY2hhcmdlIjp7ImFtb3VudCI6MH19LCJHT09HTEVfUEFZIjp7InN1cmNoYXJnZSI6eyJhbW91bnQiOjB9fX0sIm9yZGVyZWRBbGxvd2VkQ2FyZE5ldHdvcmtzIjpbIlZJU0EiLCJNQVNURVJDQVJEIiwiQU1FWCIsIk1BRVNUUk8iLCJVTklPTlBBWSIsIkNBUlRFU19CQU5DQUlSRVMiLCJEQU5LT1JUIiwiRElORVJTX0NMVUIiLCJESVNDT1ZFUiIsIkVOUk9VVEUiLCJFTE8iLCJISVBFUiIsIklOVEVSQUMiLCJKQ0IiLCJNSVIiLCJPVEhFUiJdfX0sImNsaWVudE9wdGlvbnMiOnsiY29udGFpbmVyIjoiI2NvbnRhaW5lciIsImNhcmQiOnsicHJlZmVycmVkRmxvdyI6IkVNQkVEREVEX0lOX0hPTUUifSwiZGlyZWN0RGViaXQiOnsiY3VzdG9tZXJDb3VudHJ5Q29kZSI6IkZSIiwiY29tcGFueU5hbWUiOiJQcmltZXIgQVBJIExURCIsImNvbXBhbnlBZGRyZXNzIjoiMTIzIEZha2UgU3QsIExvbmRvbiwgRUMyQSA4WFkifSwicmVkaXJlY3QiOnsiZm9yY2VSZWRpcmVjdCI6ZmFsc2V9LCJnb29nbGVQYXkiOnsiY2FwdHVyZUJpbGxpbmdBZGRyZXNzIjp0cnVlfX0sImFwaUNvbmZpZyI6eyJhcGlLZXkiOiJjY2VlMmJlOC1kZjA4LTRjNzktODU2ZC00MDA4NTM0OWU5ZGEiLCJhcGlWZXJzaW9uIjoiMi4yIiwiZW52IjoiQ1VTVE9NX1NUQUdJTkcifSwiaGVhZGxlc3NPcHRpb25zIjp7fSwibGl0Q29tcG9uZW50c09wdGlvbnMiOnsiZGlzYWJsZWRQYXltZW50cyI6ZmFsc2UsInNka0NvcmUiOmZhbHNlfX0='"
|
|
2023
|
+
"name": "i",
|
|
2024
|
+
"default": "e"
|
|
2185
2025
|
}
|
|
2186
2026
|
],
|
|
2187
2027
|
"exports": [
|
|
2188
2028
|
{
|
|
2189
2029
|
"kind": "js",
|
|
2190
|
-
"name": "
|
|
2030
|
+
"name": "templates",
|
|
2191
2031
|
"declaration": {
|
|
2192
|
-
"name": "
|
|
2193
|
-
"module": "
|
|
2032
|
+
"name": "i",
|
|
2033
|
+
"module": "dist/chunks/es.XZLDFHYI.js"
|
|
2194
2034
|
}
|
|
2195
2035
|
}
|
|
2196
2036
|
]
|
|
2197
2037
|
},
|
|
2198
2038
|
{
|
|
2199
2039
|
"kind": "javascript-module",
|
|
2200
|
-
"path": "
|
|
2201
|
-
"declarations": [],
|
|
2202
|
-
"exports": []
|
|
2203
|
-
},
|
|
2204
|
-
{
|
|
2205
|
-
"kind": "javascript-module",
|
|
2206
|
-
"path": "e2e/tests/vaulted-paypal.spec.ts",
|
|
2207
|
-
"declarations": [],
|
|
2208
|
-
"exports": []
|
|
2209
|
-
},
|
|
2210
|
-
{
|
|
2211
|
-
"kind": "javascript-module",
|
|
2212
|
-
"path": "dist/chunks/ar.KRXB3WQO.js",
|
|
2040
|
+
"path": "dist/chunks/et-EE.JBSFMKZ2.js",
|
|
2213
2041
|
"declarations": [
|
|
2214
2042
|
{
|
|
2215
2043
|
"kind": "variable",
|
|
2216
|
-
"name": "
|
|
2044
|
+
"name": "r",
|
|
2217
2045
|
"default": "e"
|
|
2218
2046
|
}
|
|
2219
2047
|
],
|
|
@@ -2222,20 +2050,20 @@
|
|
|
2222
2050
|
"kind": "js",
|
|
2223
2051
|
"name": "templates",
|
|
2224
2052
|
"declaration": {
|
|
2225
|
-
"name": "
|
|
2226
|
-
"module": "dist/chunks/
|
|
2053
|
+
"name": "r",
|
|
2054
|
+
"module": "dist/chunks/et-EE.JBSFMKZ2.js"
|
|
2227
2055
|
}
|
|
2228
2056
|
}
|
|
2229
2057
|
]
|
|
2230
2058
|
},
|
|
2231
2059
|
{
|
|
2232
2060
|
"kind": "javascript-module",
|
|
2233
|
-
"path": "dist/chunks/
|
|
2061
|
+
"path": "dist/chunks/fi-FI.I75VK2ID.js",
|
|
2234
2062
|
"declarations": [
|
|
2235
2063
|
{
|
|
2236
2064
|
"kind": "variable",
|
|
2237
|
-
"name": "
|
|
2238
|
-
"default": "
|
|
2065
|
+
"name": "n",
|
|
2066
|
+
"default": "a"
|
|
2239
2067
|
}
|
|
2240
2068
|
],
|
|
2241
2069
|
"exports": [
|
|
@@ -2243,15 +2071,15 @@
|
|
|
2243
2071
|
"kind": "js",
|
|
2244
2072
|
"name": "templates",
|
|
2245
2073
|
"declaration": {
|
|
2246
|
-
"name": "
|
|
2247
|
-
"module": "dist/chunks/
|
|
2074
|
+
"name": "n",
|
|
2075
|
+
"module": "dist/chunks/fi-FI.I75VK2ID.js"
|
|
2248
2076
|
}
|
|
2249
2077
|
}
|
|
2250
2078
|
]
|
|
2251
2079
|
},
|
|
2252
2080
|
{
|
|
2253
2081
|
"kind": "javascript-module",
|
|
2254
|
-
"path": "dist/chunks/
|
|
2082
|
+
"path": "dist/chunks/fr.JBNP6RXT.js",
|
|
2255
2083
|
"declarations": [
|
|
2256
2084
|
{
|
|
2257
2085
|
"kind": "variable",
|
|
@@ -2265,121 +2093,60 @@
|
|
|
2265
2093
|
"name": "templates",
|
|
2266
2094
|
"declaration": {
|
|
2267
2095
|
"name": "i",
|
|
2268
|
-
"module": "dist/chunks/
|
|
2096
|
+
"module": "dist/chunks/fr.JBNP6RXT.js"
|
|
2269
2097
|
}
|
|
2270
2098
|
}
|
|
2271
2099
|
]
|
|
2272
2100
|
},
|
|
2273
2101
|
{
|
|
2274
2102
|
"kind": "javascript-module",
|
|
2275
|
-
"path": "dist/chunks/
|
|
2103
|
+
"path": "dist/chunks/he.PW253QAL.js",
|
|
2276
2104
|
"declarations": [
|
|
2277
|
-
{
|
|
2278
|
-
"kind": "function",
|
|
2279
|
-
"name": "k",
|
|
2280
|
-
"parameters": [
|
|
2281
|
-
{
|
|
2282
|
-
"name": "c"
|
|
2283
|
-
}
|
|
2284
|
-
]
|
|
2285
|
-
},
|
|
2286
2105
|
{
|
|
2287
2106
|
"kind": "variable",
|
|
2288
|
-
"name": "
|
|
2289
|
-
"default": "
|
|
2290
|
-
},
|
|
2291
|
-
{
|
|
2292
|
-
"kind": "function",
|
|
2293
|
-
"name": "l",
|
|
2294
|
-
"parameters": [
|
|
2295
|
-
{
|
|
2296
|
-
"name": "c"
|
|
2297
|
-
},
|
|
2298
|
-
{
|
|
2299
|
-
"name": "a"
|
|
2300
|
-
},
|
|
2301
|
-
{
|
|
2302
|
-
"name": "b"
|
|
2303
|
-
},
|
|
2304
|
-
{
|
|
2305
|
-
"name": "e"
|
|
2306
|
-
}
|
|
2307
|
-
]
|
|
2308
|
-
},
|
|
2309
|
-
{
|
|
2310
|
-
"kind": "function",
|
|
2311
|
-
"name": "m",
|
|
2312
|
-
"parameters": [
|
|
2313
|
-
{
|
|
2314
|
-
"name": "c"
|
|
2315
|
-
},
|
|
2316
|
-
{
|
|
2317
|
-
"name": "a"
|
|
2318
|
-
},
|
|
2319
|
-
{
|
|
2320
|
-
"name": "b"
|
|
2321
|
-
}
|
|
2322
|
-
]
|
|
2107
|
+
"name": "o",
|
|
2108
|
+
"default": "e"
|
|
2323
2109
|
}
|
|
2324
2110
|
],
|
|
2325
2111
|
"exports": [
|
|
2326
2112
|
{
|
|
2327
2113
|
"kind": "js",
|
|
2328
|
-
"name": "
|
|
2329
|
-
"declaration": {
|
|
2330
|
-
"name": "
|
|
2331
|
-
"module": "dist/chunks/
|
|
2332
|
-
}
|
|
2333
|
-
},
|
|
2334
|
-
{
|
|
2335
|
-
"kind": "js",
|
|
2336
|
-
"name": "b",
|
|
2337
|
-
"declaration": {
|
|
2338
|
-
"name": "l",
|
|
2339
|
-
"module": "dist/chunks/chunk.DV3REKZU.js"
|
|
2340
|
-
}
|
|
2341
|
-
},
|
|
2342
|
-
{
|
|
2343
|
-
"kind": "js",
|
|
2344
|
-
"name": "c",
|
|
2345
|
-
"declaration": {
|
|
2346
|
-
"name": "m",
|
|
2347
|
-
"module": "dist/chunks/chunk.DV3REKZU.js"
|
|
2114
|
+
"name": "templates",
|
|
2115
|
+
"declaration": {
|
|
2116
|
+
"name": "o",
|
|
2117
|
+
"module": "dist/chunks/he.PW253QAL.js"
|
|
2348
2118
|
}
|
|
2349
2119
|
}
|
|
2350
2120
|
]
|
|
2351
2121
|
},
|
|
2352
2122
|
{
|
|
2353
2123
|
"kind": "javascript-module",
|
|
2354
|
-
"path": "dist/chunks/
|
|
2124
|
+
"path": "dist/chunks/hr.LM4RITYJ.js",
|
|
2355
2125
|
"declarations": [
|
|
2356
2126
|
{
|
|
2357
2127
|
"kind": "variable",
|
|
2358
2128
|
"name": "t",
|
|
2359
|
-
"
|
|
2360
|
-
"text": "object"
|
|
2361
|
-
},
|
|
2362
|
-
"default": "{accountHolder:\"Account Holder\",accountHolderEmail:\"me@domain.com\",accountHolderEmailErrorInvalid:\"Provided email is not valid\",accountHolderEmailErrorRequired:\"Account holder email is required\",accountHolderName:\"Account holder name\",accountHolderNameErrorRequired:\"Account holder name is required\",accountHolderNameLabel:\"Account holder name\",accountHolderNamePlaceholder:\"Account holder name\",addCard:\"Add Card\",additionalCardFees:\"Additional card fees may apply\",address:\"Address\",addressLine1:\"Address line 1\",addressLine1ErrorRequired:\"Address line 1 is required\",addressLine1Placeholder:\"Address line 1\",addressLine2:\"Address line 2\",addressLine2ErrorRequired:\"Address line 2 is required\",addressLine2Placeholder:\"Address line 2\",amount:\"Amount\",applePayFailedToTokenize:\"Failed to tokenize\",applePayMissingFirstNameOrLastName:\"Missing first name or last name\",bankHolderNameErrorRequired:\"Account holder name is required\",bankListErrorRequired:\"Bank is required\",bankListLabel:\"List of banks\",bankNameErrorRequired:\"Bank name is required\",bankNameLabel:\"Select your bank from the list\",bankNetworkErrorButton:\"Load again\",bankNetworkErrorTitle:\"Failed to load banks. Check your connection and try again.\",bankSearchInputPlaceholder:\"Search bank\",bankSelectTitle:\"Select your bank\",billingAddressLabel:\"Billing address\",cancel:\"Cancel\",cardCVV:\"CVV\",cardDescription:\"Card description (optional)\",cardDescriptionPlaceholder:\"My favourite card\",cardEndingWith:\"Card ending with\",cardExpired:\"Card has expired\",cardExpiry:\"Expiry (MM/YY)\",cardExpiryPlaceholder:\"MM/YY\",cardholderName:\"Name on card\",cardholderNameErrorRequired:\"Name on card is required\",cardholderNameLabel:\"Name on card\",cardholderNamePlaceholder:\"Full name\",cardIncomplete:\"Card number is incomplete\",cardInvalid:\"Card number is invalid\",cardNameContainsNumbers:\"Name cannot contain numbers\",cardNameLength:\"Name must have between 2 and 45 characters\",cardNameRequired:\"Name on card is required\",cardNumber:\"Card number\",cardRequired:\"Card number is required\",checkSuccessTitle:\"Your payment was successful!\",checkoutWith:\"Checkout with\",chooseAnotherPaymentMethod:\"Choose another payment method\",city:\"City\",cityErrorRequired:\"City is required\",cityLabel:\"City\",cityPlaceholder:\"Cape Town\",completeYourPayment:\"Complete your payment\",completeYourPaymentInTheApp:\"Complete your payment in %s\",confirm:\"Confirm\",confirmCardDeletion:\"Confirm - Delete Card\",confirmPayPalDeletion:\"Confirm - Delete PayPal\",confirmVaultedPaymentMethodDeletion:\"Yes, delete it\",countryCodeErrorRequired:\"Country is required\",countryCodeLabel:\"Country code\",countryCodePlaceholder:\"Country code\",countrySelectPlaceholder:\"Select a country\",creditOrDebitCard:\"Credit or debit card\",creditTransfer:\"Credit Transfer\",cvvIncomplete:\"CVV number is incomplete\",cvvInvalid3:\"CVV must be 3 digits\",cvvInvalid4:\"CVV must be 4 digits\",cvvRequired:\"CVV number is required\",delete:\"Delete\",digits:\"digits\",directDebit:\"Direct debit\",directDebitMandateTitle:\"SEPA Core Direct Debit Mandate\",directDebitSmallPrint:\"By signing this mandate form, you authorise (A) {companyName} to send instructions to your bank to debit your account and (B) your bank to debit your account in accordance with the instruction from {companyName}\",directDebitSuccessDescription:\"{companyName} will appear on your bank statement when payments are taken against the Direct Debit\",directDebitSuccessReference:\"Reference\",directDebitSuccessTitle:\"Direct Debit set up successfully\",dueAt:\"Due at\",dummyApmDescription:\"This is a mocked flow for sandbox. Choose the result you want to test from the list below:\",duplicatePaymentMethodError:\"This payment method is already saved.\",editPaymentMethods:\"Edit saved payment methods\",email:\"Email\",entity:\"Entity\",expiresAt:\"Expires at\",expiryIncomplete:\"Expiry date is incomplete\",expiryInvalid:\"Expiry date is invalid\",expiryMonthInvalid:\"Expiry date month is invalid\",expiryRequired:\"Expiry date is required\",expiryYearInvalid:\"Expiry date year is invalid\",fee_label_fallback:\"Fee\",firstNameErrorRequired:\"First name is required\",firstNameLabel:\"First name\",firstNamePlaceholder:\"First name\",forgetPaymentMethods:\"Forget payment methods\",forgetPayPal:\"Forget PayPal account\",forgetSavedCard:\"Forget saved card ending in {last4Digits}\",fullName:\"First and last name\",getCodeFromBankingApp:\"Get the code from your banking app\",giftCard:\"Gift card\",iban:\"IBAN\",ibanErrorInvalid:\"IBAN is invalid\",ibanErrorRequired:\"IBAN is required\",ibanPlaceholder:\"e.g. GB60 BARC 2000 0055 7799 11\",invalid:\"Invalid\",item_label_fallback:\"Item\",lastNameErrorRequired:\"Last name is required\",lastNameLabel:\"Last name\",lastNamePlaceholder:\"Last name\",loading:\"Loading...\",managePaymentMethods:\"Manage your payment methods\",multibancoFirstStep:\"Payment details for a Multibanco Reference will be created.\",multibancoPayWith:\"Pay with Multibanco\",multibancoPleaseMakePayment:\"Please make the payment at a Multibanco ATM, or through your home banking app.\",multibancoSecondStep:\"Go to a Multibanco ATM or login to your home banking app, then select \\u201CPay for Services\\u201D.\",multibancoThirdStep:\"Enter the Entity, Reference and Amount.\",navigateToPaymentMethods:\"Show other ways to pay\",newPaymentMethod:\"Add a new payment method\",noAdditionalFees:\"No additional fees\",otherWaysToPay:\"Other ways to pay\",pay_with_ach:\"Pay with ACH\",pay_with:\"Pay with\",pay:\"Pay\",payByCard:\"Pay by card\",payByImmediateTransfer:\"Pay by Immediate transfer\",payBySmartTransfer:\"Pay by Bank transfer\",payInInstallments:\"Pay in installments\",paymentMethodPopupLoadingScreenText:\"Hold on! {paymentMethodName} is loading.\",paymentMethodPopupOverlayBringBackThePaymentPage:\"Bring back the payment page\",paymentMethodPopupOverlayClose:\"Close\",paymentMethodPopupOverlayDescription:\"Having trouble viewing the {paymentMethodName} payment page? We'll help you find it!\",paymentMethodPopupOverlayNonFocusDescription:\"Open the {paymentMethodName} payment page to review your payment.\",paymentMethodTypeKlarna:\"Pay later\",paymentMethodTypeKlarnaAccount:\"Pay over time\",paymentMethodTypeKlarnaPaynow:\"Pay now\",payViaBankTransfer:\"Pay via bank transfer\",payWithAch:\"Pay with ACH\",payWithCard:\"Or pay with card\",payWithCrypto:\"Pay with crypto\",pleaseTransferFunds:\"Please Transfer funds to the provided DBS bank account using your Singapore based bank account via FAST (preferred), MEPS or GIRO.\",postalCode:\"Postal code\",postalCodeErrorRequired:\"Postal code is required\",postalCodeLabel:\"Postal code\",postalCodePlaceholder:\"90210\",previouslyUsed:\"Previously used:\",qrCode:\"QR Code\",reference:\"Reference\",required:\"Required\",retry_button:\"Retry\",savedPaymentMethodsEmpty:\"Enter your card details below to add a new payment method\",savePaymentMethod:\"Save payment method\",scanToPay:\"Scan to pay or take a screenshot\",sepaCreditTransfer:\"SEPA Credit Transfer\",sepaDirectDebit:\"SEPA Direct Debit\",session_complete_payment_cancellation_title:\"Payment cancelled\",session_complete_payment_failure_title:\"Payment failed\",session_complete_payment_success_title:\"Payment authorized\",setUpDirectDebit:\"Set up Direct Debit\",shipping_address_unsupported_error:\"We do not ship to this address\",shipping:\"Shipping\",showPaymentDetails:\"Show payment details\",sixDigitCodeErrorNumeric:\"Six digit code should only contain numbers\",sixDigitCodeErrorRequired:\"Six digit code is required\",sixDigitCodeErrorTooShort:\"Code is too short\",sixDigitCodeLabel:\"Six digit code\",sixDigitCodePlaceholder:\"123456\",something_went_wrong_error:\"Something went wrong. Please try again.\",stateErrorRequired:\"State, Region or County is required\",stateLabel:\"State / Region / County\",statePlaceholder:\"State / Region / County\",street:\"Street\",streetPlaceholder:\"My street\",stripe_ach_mandate_accept_button:\"Accept\",stripe_ach_mandate_cancel_payment_button:\"Cancel payment\",stripe_ach_mandate_not_accepted_description:\"Mandate was not accepted\",stripe_ach_mandate_template_web:`By clicking Accept, you authorize {merchantName} to debit the selected bank account for any amount owed for charges arising from your use of {merchantName}\\u2019s services and/or purchase of products from {merchantName}, pursuant to {merchantName}\\u2019s website and terms, until this authorization is revoked. You may amend or cancel this authorization at any time by providing notice to {merchantName} with 30 (thirty) days notice. If you use {merchantName}\\u2019s services or purchase additional products periodically pursuant to {merchantName}\\u2019s terms, you authorize {merchantName} to debit your bank account periodically. Payments that fall outside the regular debits authorized above will only be debited after your authorization is obtained.`,stripe_ach_payment_request_cancelled:\"Please try again or select another bank\",stripe_ach_payment_request_completed_successfully:\"You have now authorized your bank account to be debited. You will be notified via email once the payment has been collected successfully.\",stripe_ach_user_details_collection_continue_button:\"Continue\",stripe_ach_user_details_collection_data_usage_label:\"We'll only use this to keep you updated about your payment\",stripe_ach_user_details_collection_email_address_label:\"Email address\",stripe_ach_user_details_collection_first_name_label:\"First name\",stripe_ach_user_details_collection_invalid_email_address:\"The email address you entered doesn't look like a real email address. Please make sure it includes an '@' and a domain (like '@example.com').\",stripe_ach_user_details_collection_invalid_first_name:\"Please enter a valid first name. Avoid using numbers or special characters.\",stripe_ach_user_details_collection_invalid_last_name:\"Please enter a valid last name. Avoid using numbers or special characters.\",stripe_ach_user_details_collection_last_name_label:\"Last name\",stripe_ach_user_details_collection_subtitle_label:\"Your personal details\",suburb:\"Suburb\",suburbPlaceholder:\"My suburb\",telephoneNumberErrorRequired:\"Phone number is required\",telephoneNumberErrorTooShort:\"Phone number is too short\",telephoneNumberLabel:\"Phone number\",telephoneNumberPlaceholder:\"123xxxxxx\",timeOnDate:\"{time} on {date}\",tokenizationError:\"Your payment could not be processed. Please try another payment method.\",unsupportedCardType:\"Unsupported card type\",uploadScreenshot:\"Upload the screenshot in your banking app\",yourBankDetails:\"Your bank details\"}"
|
|
2129
|
+
"default": "e"
|
|
2363
2130
|
}
|
|
2364
2131
|
],
|
|
2365
2132
|
"exports": [
|
|
2366
2133
|
{
|
|
2367
2134
|
"kind": "js",
|
|
2368
|
-
"name": "
|
|
2135
|
+
"name": "templates",
|
|
2369
2136
|
"declaration": {
|
|
2370
2137
|
"name": "t",
|
|
2371
|
-
"module": "dist/chunks/
|
|
2138
|
+
"module": "dist/chunks/hr.LM4RITYJ.js"
|
|
2372
2139
|
}
|
|
2373
2140
|
}
|
|
2374
2141
|
]
|
|
2375
2142
|
},
|
|
2376
2143
|
{
|
|
2377
2144
|
"kind": "javascript-module",
|
|
2378
|
-
"path": "dist/chunks/
|
|
2145
|
+
"path": "dist/chunks/hu.JGCKQA6J.js",
|
|
2379
2146
|
"declarations": [
|
|
2380
2147
|
{
|
|
2381
2148
|
"kind": "variable",
|
|
2382
|
-
"name": "
|
|
2149
|
+
"name": "s",
|
|
2383
2150
|
"default": "e"
|
|
2384
2151
|
}
|
|
2385
2152
|
],
|
|
@@ -2388,20 +2155,20 @@
|
|
|
2388
2155
|
"kind": "js",
|
|
2389
2156
|
"name": "templates",
|
|
2390
2157
|
"declaration": {
|
|
2391
|
-
"name": "
|
|
2392
|
-
"module": "dist/chunks/
|
|
2158
|
+
"name": "s",
|
|
2159
|
+
"module": "dist/chunks/hu.JGCKQA6J.js"
|
|
2393
2160
|
}
|
|
2394
2161
|
}
|
|
2395
2162
|
]
|
|
2396
2163
|
},
|
|
2397
2164
|
{
|
|
2398
2165
|
"kind": "javascript-module",
|
|
2399
|
-
"path": "dist/chunks/
|
|
2166
|
+
"path": "dist/chunks/id.VBXULDDY.js",
|
|
2400
2167
|
"declarations": [
|
|
2401
2168
|
{
|
|
2402
2169
|
"kind": "variable",
|
|
2403
|
-
"name": "
|
|
2404
|
-
"default": "
|
|
2170
|
+
"name": "r",
|
|
2171
|
+
"default": "a"
|
|
2405
2172
|
}
|
|
2406
2173
|
],
|
|
2407
2174
|
"exports": [
|
|
@@ -2409,19 +2176,19 @@
|
|
|
2409
2176
|
"kind": "js",
|
|
2410
2177
|
"name": "templates",
|
|
2411
2178
|
"declaration": {
|
|
2412
|
-
"name": "
|
|
2413
|
-
"module": "dist/chunks/
|
|
2179
|
+
"name": "r",
|
|
2180
|
+
"module": "dist/chunks/id.VBXULDDY.js"
|
|
2414
2181
|
}
|
|
2415
2182
|
}
|
|
2416
2183
|
]
|
|
2417
2184
|
},
|
|
2418
2185
|
{
|
|
2419
2186
|
"kind": "javascript-module",
|
|
2420
|
-
"path": "dist/chunks/
|
|
2187
|
+
"path": "dist/chunks/it.7Q6BFLDK.js",
|
|
2421
2188
|
"declarations": [
|
|
2422
2189
|
{
|
|
2423
2190
|
"kind": "variable",
|
|
2424
|
-
"name": "
|
|
2191
|
+
"name": "r",
|
|
2425
2192
|
"default": "e"
|
|
2426
2193
|
}
|
|
2427
2194
|
],
|
|
@@ -2430,15 +2197,15 @@
|
|
|
2430
2197
|
"kind": "js",
|
|
2431
2198
|
"name": "templates",
|
|
2432
2199
|
"declaration": {
|
|
2433
|
-
"name": "
|
|
2434
|
-
"module": "dist/chunks/
|
|
2200
|
+
"name": "r",
|
|
2201
|
+
"module": "dist/chunks/it.7Q6BFLDK.js"
|
|
2435
2202
|
}
|
|
2436
2203
|
}
|
|
2437
2204
|
]
|
|
2438
2205
|
},
|
|
2439
2206
|
{
|
|
2440
2207
|
"kind": "javascript-module",
|
|
2441
|
-
"path": "dist/chunks/
|
|
2208
|
+
"path": "dist/chunks/ja.QOC76SSC.js",
|
|
2442
2209
|
"declarations": [
|
|
2443
2210
|
{
|
|
2444
2211
|
"kind": "variable",
|
|
@@ -2452,19 +2219,19 @@
|
|
|
2452
2219
|
"name": "templates",
|
|
2453
2220
|
"declaration": {
|
|
2454
2221
|
"name": "o",
|
|
2455
|
-
"module": "dist/chunks/
|
|
2222
|
+
"module": "dist/chunks/ja.QOC76SSC.js"
|
|
2456
2223
|
}
|
|
2457
2224
|
}
|
|
2458
2225
|
]
|
|
2459
2226
|
},
|
|
2460
2227
|
{
|
|
2461
2228
|
"kind": "javascript-module",
|
|
2462
|
-
"path": "dist/chunks/
|
|
2229
|
+
"path": "dist/chunks/ko.BANZIFNH.js",
|
|
2463
2230
|
"declarations": [
|
|
2464
2231
|
{
|
|
2465
2232
|
"kind": "variable",
|
|
2466
2233
|
"name": "o",
|
|
2467
|
-
"default": "
|
|
2234
|
+
"default": "e"
|
|
2468
2235
|
}
|
|
2469
2236
|
],
|
|
2470
2237
|
"exports": [
|
|
@@ -2473,19 +2240,19 @@
|
|
|
2473
2240
|
"name": "templates",
|
|
2474
2241
|
"declaration": {
|
|
2475
2242
|
"name": "o",
|
|
2476
|
-
"module": "dist/chunks/
|
|
2243
|
+
"module": "dist/chunks/ko.BANZIFNH.js"
|
|
2477
2244
|
}
|
|
2478
2245
|
}
|
|
2479
2246
|
]
|
|
2480
2247
|
},
|
|
2481
2248
|
{
|
|
2482
2249
|
"kind": "javascript-module",
|
|
2483
|
-
"path": "dist/chunks/
|
|
2250
|
+
"path": "dist/chunks/lt-LT.Q2SRJOKH.js",
|
|
2484
2251
|
"declarations": [
|
|
2485
2252
|
{
|
|
2486
2253
|
"kind": "variable",
|
|
2487
|
-
"name": "
|
|
2488
|
-
"default": "
|
|
2254
|
+
"name": "t",
|
|
2255
|
+
"default": "a"
|
|
2489
2256
|
}
|
|
2490
2257
|
],
|
|
2491
2258
|
"exports": [
|
|
@@ -2493,20 +2260,20 @@
|
|
|
2493
2260
|
"kind": "js",
|
|
2494
2261
|
"name": "templates",
|
|
2495
2262
|
"declaration": {
|
|
2496
|
-
"name": "
|
|
2497
|
-
"module": "dist/chunks/
|
|
2263
|
+
"name": "t",
|
|
2264
|
+
"module": "dist/chunks/lt-LT.Q2SRJOKH.js"
|
|
2498
2265
|
}
|
|
2499
2266
|
}
|
|
2500
2267
|
]
|
|
2501
2268
|
},
|
|
2502
2269
|
{
|
|
2503
2270
|
"kind": "javascript-module",
|
|
2504
|
-
"path": "dist/chunks/
|
|
2271
|
+
"path": "dist/chunks/lt.XMNFEN5T.js",
|
|
2505
2272
|
"declarations": [
|
|
2506
2273
|
{
|
|
2507
2274
|
"kind": "variable",
|
|
2508
|
-
"name": "
|
|
2509
|
-
"default": "
|
|
2275
|
+
"name": "o",
|
|
2276
|
+
"default": "a"
|
|
2510
2277
|
}
|
|
2511
2278
|
],
|
|
2512
2279
|
"exports": [
|
|
@@ -2514,20 +2281,20 @@
|
|
|
2514
2281
|
"kind": "js",
|
|
2515
2282
|
"name": "templates",
|
|
2516
2283
|
"declaration": {
|
|
2517
|
-
"name": "
|
|
2518
|
-
"module": "dist/chunks/
|
|
2284
|
+
"name": "o",
|
|
2285
|
+
"module": "dist/chunks/lt.XMNFEN5T.js"
|
|
2519
2286
|
}
|
|
2520
2287
|
}
|
|
2521
2288
|
]
|
|
2522
2289
|
},
|
|
2523
2290
|
{
|
|
2524
2291
|
"kind": "javascript-module",
|
|
2525
|
-
"path": "dist/chunks/
|
|
2292
|
+
"path": "dist/chunks/lv-LV.3AJDTMU5.js",
|
|
2526
2293
|
"declarations": [
|
|
2527
2294
|
{
|
|
2528
2295
|
"kind": "variable",
|
|
2529
|
-
"name": "
|
|
2530
|
-
"default": "
|
|
2296
|
+
"name": "t",
|
|
2297
|
+
"default": "a"
|
|
2531
2298
|
}
|
|
2532
2299
|
],
|
|
2533
2300
|
"exports": [
|
|
@@ -2535,20 +2302,20 @@
|
|
|
2535
2302
|
"kind": "js",
|
|
2536
2303
|
"name": "templates",
|
|
2537
2304
|
"declaration": {
|
|
2538
|
-
"name": "
|
|
2539
|
-
"module": "dist/chunks/
|
|
2305
|
+
"name": "t",
|
|
2306
|
+
"module": "dist/chunks/lv-LV.3AJDTMU5.js"
|
|
2540
2307
|
}
|
|
2541
2308
|
}
|
|
2542
2309
|
]
|
|
2543
2310
|
},
|
|
2544
2311
|
{
|
|
2545
2312
|
"kind": "javascript-module",
|
|
2546
|
-
"path": "dist/chunks/
|
|
2313
|
+
"path": "dist/chunks/lv.TFPDXNEV.js",
|
|
2547
2314
|
"declarations": [
|
|
2548
2315
|
{
|
|
2549
2316
|
"kind": "variable",
|
|
2550
|
-
"name": "
|
|
2551
|
-
"default": "
|
|
2317
|
+
"name": "t",
|
|
2318
|
+
"default": "a"
|
|
2552
2319
|
}
|
|
2553
2320
|
],
|
|
2554
2321
|
"exports": [
|
|
@@ -2556,20 +2323,20 @@
|
|
|
2556
2323
|
"kind": "js",
|
|
2557
2324
|
"name": "templates",
|
|
2558
2325
|
"declaration": {
|
|
2559
|
-
"name": "
|
|
2560
|
-
"module": "dist/chunks/
|
|
2326
|
+
"name": "t",
|
|
2327
|
+
"module": "dist/chunks/lv.TFPDXNEV.js"
|
|
2561
2328
|
}
|
|
2562
2329
|
}
|
|
2563
2330
|
]
|
|
2564
2331
|
},
|
|
2565
2332
|
{
|
|
2566
2333
|
"kind": "javascript-module",
|
|
2567
|
-
"path": "dist/chunks/
|
|
2334
|
+
"path": "dist/chunks/ms.FPTX4NM4.js",
|
|
2568
2335
|
"declarations": [
|
|
2569
2336
|
{
|
|
2570
2337
|
"kind": "variable",
|
|
2571
|
-
"name": "
|
|
2572
|
-
"default": "
|
|
2338
|
+
"name": "i",
|
|
2339
|
+
"default": "a"
|
|
2573
2340
|
}
|
|
2574
2341
|
],
|
|
2575
2342
|
"exports": [
|
|
@@ -2577,20 +2344,20 @@
|
|
|
2577
2344
|
"kind": "js",
|
|
2578
2345
|
"name": "templates",
|
|
2579
2346
|
"declaration": {
|
|
2580
|
-
"name": "
|
|
2581
|
-
"module": "dist/chunks/
|
|
2347
|
+
"name": "i",
|
|
2348
|
+
"module": "dist/chunks/ms.FPTX4NM4.js"
|
|
2582
2349
|
}
|
|
2583
2350
|
}
|
|
2584
2351
|
]
|
|
2585
2352
|
},
|
|
2586
2353
|
{
|
|
2587
2354
|
"kind": "javascript-module",
|
|
2588
|
-
"path": "dist/chunks/
|
|
2355
|
+
"path": "dist/chunks/nb.CAFSKRQ2.js",
|
|
2589
2356
|
"declarations": [
|
|
2590
2357
|
{
|
|
2591
2358
|
"kind": "variable",
|
|
2592
|
-
"name": "
|
|
2593
|
-
"default": "
|
|
2359
|
+
"name": "a",
|
|
2360
|
+
"default": "e"
|
|
2594
2361
|
}
|
|
2595
2362
|
],
|
|
2596
2363
|
"exports": [
|
|
@@ -2598,19 +2365,19 @@
|
|
|
2598
2365
|
"kind": "js",
|
|
2599
2366
|
"name": "templates",
|
|
2600
2367
|
"declaration": {
|
|
2601
|
-
"name": "
|
|
2602
|
-
"module": "dist/chunks/
|
|
2368
|
+
"name": "a",
|
|
2369
|
+
"module": "dist/chunks/nb.CAFSKRQ2.js"
|
|
2603
2370
|
}
|
|
2604
2371
|
}
|
|
2605
2372
|
]
|
|
2606
2373
|
},
|
|
2607
2374
|
{
|
|
2608
2375
|
"kind": "javascript-module",
|
|
2609
|
-
"path": "dist/chunks/
|
|
2376
|
+
"path": "dist/chunks/nl.7BPSDYTC.js",
|
|
2610
2377
|
"declarations": [
|
|
2611
2378
|
{
|
|
2612
2379
|
"kind": "variable",
|
|
2613
|
-
"name": "
|
|
2380
|
+
"name": "n",
|
|
2614
2381
|
"default": "e"
|
|
2615
2382
|
}
|
|
2616
2383
|
],
|
|
@@ -2619,19 +2386,19 @@
|
|
|
2619
2386
|
"kind": "js",
|
|
2620
2387
|
"name": "templates",
|
|
2621
2388
|
"declaration": {
|
|
2622
|
-
"name": "
|
|
2623
|
-
"module": "dist/chunks/
|
|
2389
|
+
"name": "n",
|
|
2390
|
+
"module": "dist/chunks/nl.7BPSDYTC.js"
|
|
2624
2391
|
}
|
|
2625
2392
|
}
|
|
2626
2393
|
]
|
|
2627
2394
|
},
|
|
2628
2395
|
{
|
|
2629
2396
|
"kind": "javascript-module",
|
|
2630
|
-
"path": "dist/chunks/
|
|
2397
|
+
"path": "dist/chunks/nl_NL.6ZVCFPVW.js",
|
|
2631
2398
|
"declarations": [
|
|
2632
2399
|
{
|
|
2633
2400
|
"kind": "variable",
|
|
2634
|
-
"name": "
|
|
2401
|
+
"name": "n",
|
|
2635
2402
|
"default": "e"
|
|
2636
2403
|
}
|
|
2637
2404
|
],
|
|
@@ -2640,20 +2407,20 @@
|
|
|
2640
2407
|
"kind": "js",
|
|
2641
2408
|
"name": "templates",
|
|
2642
2409
|
"declaration": {
|
|
2643
|
-
"name": "
|
|
2644
|
-
"module": "dist/chunks/
|
|
2410
|
+
"name": "n",
|
|
2411
|
+
"module": "dist/chunks/nl_NL.6ZVCFPVW.js"
|
|
2645
2412
|
}
|
|
2646
2413
|
}
|
|
2647
2414
|
]
|
|
2648
2415
|
},
|
|
2649
2416
|
{
|
|
2650
2417
|
"kind": "javascript-module",
|
|
2651
|
-
"path": "dist/chunks/
|
|
2418
|
+
"path": "dist/chunks/pl.RF34QM23.js",
|
|
2652
2419
|
"declarations": [
|
|
2653
2420
|
{
|
|
2654
2421
|
"kind": "variable",
|
|
2655
|
-
"name": "
|
|
2656
|
-
"default": "
|
|
2422
|
+
"name": "i",
|
|
2423
|
+
"default": "a"
|
|
2657
2424
|
}
|
|
2658
2425
|
],
|
|
2659
2426
|
"exports": [
|
|
@@ -2661,19 +2428,19 @@
|
|
|
2661
2428
|
"kind": "js",
|
|
2662
2429
|
"name": "templates",
|
|
2663
2430
|
"declaration": {
|
|
2664
|
-
"name": "
|
|
2665
|
-
"module": "dist/chunks/
|
|
2431
|
+
"name": "i",
|
|
2432
|
+
"module": "dist/chunks/pl.RF34QM23.js"
|
|
2666
2433
|
}
|
|
2667
2434
|
}
|
|
2668
2435
|
]
|
|
2669
2436
|
},
|
|
2670
2437
|
{
|
|
2671
2438
|
"kind": "javascript-module",
|
|
2672
|
-
"path": "dist/chunks/
|
|
2439
|
+
"path": "dist/chunks/pt-BR.AKDHLRUA.js",
|
|
2673
2440
|
"declarations": [
|
|
2674
2441
|
{
|
|
2675
2442
|
"kind": "variable",
|
|
2676
|
-
"name": "
|
|
2443
|
+
"name": "t",
|
|
2677
2444
|
"default": "e"
|
|
2678
2445
|
}
|
|
2679
2446
|
],
|
|
@@ -2682,20 +2449,20 @@
|
|
|
2682
2449
|
"kind": "js",
|
|
2683
2450
|
"name": "templates",
|
|
2684
2451
|
"declaration": {
|
|
2685
|
-
"name": "
|
|
2686
|
-
"module": "dist/chunks/
|
|
2452
|
+
"name": "t",
|
|
2453
|
+
"module": "dist/chunks/pt-BR.AKDHLRUA.js"
|
|
2687
2454
|
}
|
|
2688
2455
|
}
|
|
2689
2456
|
]
|
|
2690
2457
|
},
|
|
2691
2458
|
{
|
|
2692
2459
|
"kind": "javascript-module",
|
|
2693
|
-
"path": "dist/chunks/
|
|
2460
|
+
"path": "dist/chunks/pt.VBALOWHZ.js",
|
|
2694
2461
|
"declarations": [
|
|
2695
2462
|
{
|
|
2696
2463
|
"kind": "variable",
|
|
2697
|
-
"name": "
|
|
2698
|
-
"default": "
|
|
2464
|
+
"name": "t",
|
|
2465
|
+
"default": "e"
|
|
2699
2466
|
}
|
|
2700
2467
|
],
|
|
2701
2468
|
"exports": [
|
|
@@ -2703,19 +2470,19 @@
|
|
|
2703
2470
|
"kind": "js",
|
|
2704
2471
|
"name": "templates",
|
|
2705
2472
|
"declaration": {
|
|
2706
|
-
"name": "
|
|
2707
|
-
"module": "dist/chunks/
|
|
2473
|
+
"name": "t",
|
|
2474
|
+
"module": "dist/chunks/pt.VBALOWHZ.js"
|
|
2708
2475
|
}
|
|
2709
2476
|
}
|
|
2710
2477
|
]
|
|
2711
2478
|
},
|
|
2712
2479
|
{
|
|
2713
2480
|
"kind": "javascript-module",
|
|
2714
|
-
"path": "dist/chunks/
|
|
2481
|
+
"path": "dist/chunks/ro.WN7VCF27.js",
|
|
2715
2482
|
"declarations": [
|
|
2716
2483
|
{
|
|
2717
2484
|
"kind": "variable",
|
|
2718
|
-
"name": "
|
|
2485
|
+
"name": "i",
|
|
2719
2486
|
"default": "e"
|
|
2720
2487
|
}
|
|
2721
2488
|
],
|
|
@@ -2724,15 +2491,15 @@
|
|
|
2724
2491
|
"kind": "js",
|
|
2725
2492
|
"name": "templates",
|
|
2726
2493
|
"declaration": {
|
|
2727
|
-
"name": "
|
|
2728
|
-
"module": "dist/chunks/
|
|
2494
|
+
"name": "i",
|
|
2495
|
+
"module": "dist/chunks/ro.WN7VCF27.js"
|
|
2729
2496
|
}
|
|
2730
2497
|
}
|
|
2731
2498
|
]
|
|
2732
2499
|
},
|
|
2733
2500
|
{
|
|
2734
2501
|
"kind": "javascript-module",
|
|
2735
|
-
"path": "dist/chunks/
|
|
2502
|
+
"path": "dist/chunks/ru.ICXGVGRR.js",
|
|
2736
2503
|
"declarations": [
|
|
2737
2504
|
{
|
|
2738
2505
|
"kind": "variable",
|
|
@@ -2746,18 +2513,18 @@
|
|
|
2746
2513
|
"name": "templates",
|
|
2747
2514
|
"declaration": {
|
|
2748
2515
|
"name": "o",
|
|
2749
|
-
"module": "dist/chunks/
|
|
2516
|
+
"module": "dist/chunks/ru.ICXGVGRR.js"
|
|
2750
2517
|
}
|
|
2751
2518
|
}
|
|
2752
2519
|
]
|
|
2753
2520
|
},
|
|
2754
2521
|
{
|
|
2755
2522
|
"kind": "javascript-module",
|
|
2756
|
-
"path": "dist/chunks/
|
|
2523
|
+
"path": "dist/chunks/sk.SIP5JIOX.js",
|
|
2757
2524
|
"declarations": [
|
|
2758
2525
|
{
|
|
2759
2526
|
"kind": "variable",
|
|
2760
|
-
"name": "
|
|
2527
|
+
"name": "r",
|
|
2761
2528
|
"default": "e"
|
|
2762
2529
|
}
|
|
2763
2530
|
],
|
|
@@ -2766,20 +2533,20 @@
|
|
|
2766
2533
|
"kind": "js",
|
|
2767
2534
|
"name": "templates",
|
|
2768
2535
|
"declaration": {
|
|
2769
|
-
"name": "
|
|
2770
|
-
"module": "dist/chunks/
|
|
2536
|
+
"name": "r",
|
|
2537
|
+
"module": "dist/chunks/sk.SIP5JIOX.js"
|
|
2771
2538
|
}
|
|
2772
2539
|
}
|
|
2773
2540
|
]
|
|
2774
2541
|
},
|
|
2775
2542
|
{
|
|
2776
2543
|
"kind": "javascript-module",
|
|
2777
|
-
"path": "dist/chunks/
|
|
2544
|
+
"path": "dist/chunks/sl.R77UEKCA.js",
|
|
2778
2545
|
"declarations": [
|
|
2779
2546
|
{
|
|
2780
2547
|
"kind": "variable",
|
|
2781
|
-
"name": "
|
|
2782
|
-
"default": "
|
|
2548
|
+
"name": "r",
|
|
2549
|
+
"default": "e"
|
|
2783
2550
|
}
|
|
2784
2551
|
],
|
|
2785
2552
|
"exports": [
|
|
@@ -2787,20 +2554,20 @@
|
|
|
2787
2554
|
"kind": "js",
|
|
2788
2555
|
"name": "templates",
|
|
2789
2556
|
"declaration": {
|
|
2790
|
-
"name": "
|
|
2791
|
-
"module": "dist/chunks/
|
|
2557
|
+
"name": "r",
|
|
2558
|
+
"module": "dist/chunks/sl.R77UEKCA.js"
|
|
2792
2559
|
}
|
|
2793
2560
|
}
|
|
2794
2561
|
]
|
|
2795
2562
|
},
|
|
2796
2563
|
{
|
|
2797
2564
|
"kind": "javascript-module",
|
|
2798
|
-
"path": "dist/chunks/
|
|
2565
|
+
"path": "dist/chunks/sr-RS.6M2YSTDX.js",
|
|
2799
2566
|
"declarations": [
|
|
2800
2567
|
{
|
|
2801
2568
|
"kind": "variable",
|
|
2802
2569
|
"name": "o",
|
|
2803
|
-
"default": "
|
|
2570
|
+
"default": "e"
|
|
2804
2571
|
}
|
|
2805
2572
|
],
|
|
2806
2573
|
"exports": [
|
|
@@ -2809,19 +2576,19 @@
|
|
|
2809
2576
|
"name": "templates",
|
|
2810
2577
|
"declaration": {
|
|
2811
2578
|
"name": "o",
|
|
2812
|
-
"module": "dist/chunks/
|
|
2579
|
+
"module": "dist/chunks/sr-RS.6M2YSTDX.js"
|
|
2813
2580
|
}
|
|
2814
2581
|
}
|
|
2815
2582
|
]
|
|
2816
2583
|
},
|
|
2817
2584
|
{
|
|
2818
2585
|
"kind": "javascript-module",
|
|
2819
|
-
"path": "dist/chunks/
|
|
2586
|
+
"path": "dist/chunks/sv.33ZY4CDS.js",
|
|
2820
2587
|
"declarations": [
|
|
2821
2588
|
{
|
|
2822
2589
|
"kind": "variable",
|
|
2823
|
-
"name": "
|
|
2824
|
-
"default": "
|
|
2590
|
+
"name": "n",
|
|
2591
|
+
"default": "e"
|
|
2825
2592
|
}
|
|
2826
2593
|
],
|
|
2827
2594
|
"exports": [
|
|
@@ -2829,20 +2596,20 @@
|
|
|
2829
2596
|
"kind": "js",
|
|
2830
2597
|
"name": "templates",
|
|
2831
2598
|
"declaration": {
|
|
2832
|
-
"name": "
|
|
2833
|
-
"module": "dist/chunks/
|
|
2599
|
+
"name": "n",
|
|
2600
|
+
"module": "dist/chunks/sv.33ZY4CDS.js"
|
|
2834
2601
|
}
|
|
2835
2602
|
}
|
|
2836
2603
|
]
|
|
2837
2604
|
},
|
|
2838
2605
|
{
|
|
2839
2606
|
"kind": "javascript-module",
|
|
2840
|
-
"path": "dist/chunks/
|
|
2607
|
+
"path": "dist/chunks/th.M27YUIZC.js",
|
|
2841
2608
|
"declarations": [
|
|
2842
2609
|
{
|
|
2843
2610
|
"kind": "variable",
|
|
2844
|
-
"name": "
|
|
2845
|
-
"default": "
|
|
2611
|
+
"name": "o",
|
|
2612
|
+
"default": "e"
|
|
2846
2613
|
}
|
|
2847
2614
|
],
|
|
2848
2615
|
"exports": [
|
|
@@ -2850,20 +2617,20 @@
|
|
|
2850
2617
|
"kind": "js",
|
|
2851
2618
|
"name": "templates",
|
|
2852
2619
|
"declaration": {
|
|
2853
|
-
"name": "
|
|
2854
|
-
"module": "dist/chunks/
|
|
2620
|
+
"name": "o",
|
|
2621
|
+
"module": "dist/chunks/th.M27YUIZC.js"
|
|
2855
2622
|
}
|
|
2856
2623
|
}
|
|
2857
2624
|
]
|
|
2858
2625
|
},
|
|
2859
2626
|
{
|
|
2860
2627
|
"kind": "javascript-module",
|
|
2861
|
-
"path": "dist/chunks/
|
|
2628
|
+
"path": "dist/chunks/tr.Q2SIY6NA.js",
|
|
2862
2629
|
"declarations": [
|
|
2863
2630
|
{
|
|
2864
2631
|
"kind": "variable",
|
|
2865
|
-
"name": "
|
|
2866
|
-
"default": "
|
|
2632
|
+
"name": "n",
|
|
2633
|
+
"default": "e"
|
|
2867
2634
|
}
|
|
2868
2635
|
],
|
|
2869
2636
|
"exports": [
|
|
@@ -2871,19 +2638,19 @@
|
|
|
2871
2638
|
"kind": "js",
|
|
2872
2639
|
"name": "templates",
|
|
2873
2640
|
"declaration": {
|
|
2874
|
-
"name": "
|
|
2875
|
-
"module": "dist/chunks/
|
|
2641
|
+
"name": "n",
|
|
2642
|
+
"module": "dist/chunks/tr.Q2SIY6NA.js"
|
|
2876
2643
|
}
|
|
2877
2644
|
}
|
|
2878
2645
|
]
|
|
2879
2646
|
},
|
|
2880
2647
|
{
|
|
2881
2648
|
"kind": "javascript-module",
|
|
2882
|
-
"path": "dist/chunks/
|
|
2649
|
+
"path": "dist/chunks/uk-UA.EJZOGSJR.js",
|
|
2883
2650
|
"declarations": [
|
|
2884
2651
|
{
|
|
2885
2652
|
"kind": "variable",
|
|
2886
|
-
"name": "
|
|
2653
|
+
"name": "o",
|
|
2887
2654
|
"default": "e"
|
|
2888
2655
|
}
|
|
2889
2656
|
],
|
|
@@ -2892,20 +2659,20 @@
|
|
|
2892
2659
|
"kind": "js",
|
|
2893
2660
|
"name": "templates",
|
|
2894
2661
|
"declaration": {
|
|
2895
|
-
"name": "
|
|
2896
|
-
"module": "dist/chunks/
|
|
2662
|
+
"name": "o",
|
|
2663
|
+
"module": "dist/chunks/uk-UA.EJZOGSJR.js"
|
|
2897
2664
|
}
|
|
2898
2665
|
}
|
|
2899
2666
|
]
|
|
2900
2667
|
},
|
|
2901
2668
|
{
|
|
2902
2669
|
"kind": "javascript-module",
|
|
2903
|
-
"path": "dist/chunks/
|
|
2670
|
+
"path": "dist/chunks/vi.3RROGLXM.js",
|
|
2904
2671
|
"declarations": [
|
|
2905
2672
|
{
|
|
2906
2673
|
"kind": "variable",
|
|
2907
|
-
"name": "
|
|
2908
|
-
"default": "
|
|
2674
|
+
"name": "a",
|
|
2675
|
+
"default": "n"
|
|
2909
2676
|
}
|
|
2910
2677
|
],
|
|
2911
2678
|
"exports": [
|
|
@@ -2913,20 +2680,20 @@
|
|
|
2913
2680
|
"kind": "js",
|
|
2914
2681
|
"name": "templates",
|
|
2915
2682
|
"declaration": {
|
|
2916
|
-
"name": "
|
|
2917
|
-
"module": "dist/chunks/
|
|
2683
|
+
"name": "a",
|
|
2684
|
+
"module": "dist/chunks/vi.3RROGLXM.js"
|
|
2918
2685
|
}
|
|
2919
2686
|
}
|
|
2920
2687
|
]
|
|
2921
2688
|
},
|
|
2922
2689
|
{
|
|
2923
2690
|
"kind": "javascript-module",
|
|
2924
|
-
"path": "dist/chunks/
|
|
2691
|
+
"path": "dist/chunks/zf.GGWFQ3Y7.js",
|
|
2925
2692
|
"declarations": [
|
|
2926
2693
|
{
|
|
2927
2694
|
"kind": "variable",
|
|
2928
|
-
"name": "
|
|
2929
|
-
"default": "
|
|
2695
|
+
"name": "a",
|
|
2696
|
+
"default": "t"
|
|
2930
2697
|
}
|
|
2931
2698
|
],
|
|
2932
2699
|
"exports": [
|
|
@@ -2934,20 +2701,20 @@
|
|
|
2934
2701
|
"kind": "js",
|
|
2935
2702
|
"name": "templates",
|
|
2936
2703
|
"declaration": {
|
|
2937
|
-
"name": "
|
|
2938
|
-
"module": "dist/chunks/
|
|
2704
|
+
"name": "a",
|
|
2705
|
+
"module": "dist/chunks/zf.GGWFQ3Y7.js"
|
|
2939
2706
|
}
|
|
2940
2707
|
}
|
|
2941
2708
|
]
|
|
2942
2709
|
},
|
|
2943
2710
|
{
|
|
2944
2711
|
"kind": "javascript-module",
|
|
2945
|
-
"path": "dist/chunks/
|
|
2712
|
+
"path": "dist/chunks/zh-CN.MQHNRMN4.js",
|
|
2946
2713
|
"declarations": [
|
|
2947
2714
|
{
|
|
2948
2715
|
"kind": "variable",
|
|
2949
|
-
"name": "
|
|
2950
|
-
"default": "
|
|
2716
|
+
"name": "o",
|
|
2717
|
+
"default": "e"
|
|
2951
2718
|
}
|
|
2952
2719
|
],
|
|
2953
2720
|
"exports": [
|
|
@@ -2955,19 +2722,19 @@
|
|
|
2955
2722
|
"kind": "js",
|
|
2956
2723
|
"name": "templates",
|
|
2957
2724
|
"declaration": {
|
|
2958
|
-
"name": "
|
|
2959
|
-
"module": "dist/chunks/
|
|
2725
|
+
"name": "o",
|
|
2726
|
+
"module": "dist/chunks/zh-CN.MQHNRMN4.js"
|
|
2960
2727
|
}
|
|
2961
2728
|
}
|
|
2962
2729
|
]
|
|
2963
2730
|
},
|
|
2964
2731
|
{
|
|
2965
2732
|
"kind": "javascript-module",
|
|
2966
|
-
"path": "dist/chunks/
|
|
2733
|
+
"path": "dist/chunks/zh-HK.WNR7XUSX.js",
|
|
2967
2734
|
"declarations": [
|
|
2968
2735
|
{
|
|
2969
2736
|
"kind": "variable",
|
|
2970
|
-
"name": "
|
|
2737
|
+
"name": "o",
|
|
2971
2738
|
"default": "e"
|
|
2972
2739
|
}
|
|
2973
2740
|
],
|
|
@@ -2976,19 +2743,19 @@
|
|
|
2976
2743
|
"kind": "js",
|
|
2977
2744
|
"name": "templates",
|
|
2978
2745
|
"declaration": {
|
|
2979
|
-
"name": "
|
|
2980
|
-
"module": "dist/chunks/
|
|
2746
|
+
"name": "o",
|
|
2747
|
+
"module": "dist/chunks/zh-HK.WNR7XUSX.js"
|
|
2981
2748
|
}
|
|
2982
2749
|
}
|
|
2983
2750
|
]
|
|
2984
2751
|
},
|
|
2985
2752
|
{
|
|
2986
2753
|
"kind": "javascript-module",
|
|
2987
|
-
"path": "dist/chunks/
|
|
2754
|
+
"path": "dist/chunks/zh-TW.GNCY2PNY.js",
|
|
2988
2755
|
"declarations": [
|
|
2989
2756
|
{
|
|
2990
2757
|
"kind": "variable",
|
|
2991
|
-
"name": "
|
|
2758
|
+
"name": "o",
|
|
2992
2759
|
"default": "e"
|
|
2993
2760
|
}
|
|
2994
2761
|
],
|
|
@@ -2997,306 +2764,554 @@
|
|
|
2997
2764
|
"kind": "js",
|
|
2998
2765
|
"name": "templates",
|
|
2999
2766
|
"declaration": {
|
|
3000
|
-
"name": "
|
|
3001
|
-
"module": "dist/chunks/
|
|
2767
|
+
"name": "o",
|
|
2768
|
+
"module": "dist/chunks/zh-TW.GNCY2PNY.js"
|
|
3002
2769
|
}
|
|
3003
2770
|
}
|
|
3004
2771
|
]
|
|
3005
2772
|
},
|
|
3006
2773
|
{
|
|
3007
2774
|
"kind": "javascript-module",
|
|
3008
|
-
"path": "
|
|
2775
|
+
"path": "e2e/mocks/billing-address.ts",
|
|
3009
2776
|
"declarations": [
|
|
3010
2777
|
{
|
|
3011
2778
|
"kind": "variable",
|
|
3012
|
-
"name": "
|
|
3013
|
-
"
|
|
2779
|
+
"name": "settings",
|
|
2780
|
+
"type": {
|
|
2781
|
+
"text": "string"
|
|
2782
|
+
},
|
|
2783
|
+
"default": "'?settings=eyJjbGllbnRTZXNzaW9uQ29uZmlnIjp7ImN1c3RvbWVySWQiOiJDdXN0b21lcjEyMyIsIm9yZGVySWQiOiIxMjU3NyIsImFtb3VudCI6MTA1MCwiY3VycmVuY3lDb2RlIjoiRVVSIiwibWV0YWRhdGEiOnsiZXhwcmVzc0NoZWNrb3V0IjoidHJ1ZSJ9LCJvcmRlciI6eyJzaGlwcGluZyI6eyJhbW91bnQiOjUwLCJtZXRob2RJZCI6IlJlZ3VsYXIiLCJtZXRob2ROYW1lIjoiUmVndWxhciA1MCIsIm1ldGhvZERlc2NyaXB0aW9uIjoiUmVndWxhciJ9LCJjb3VudHJ5Q29kZSI6IkZSIiwibGluZUl0ZW1zIjpbeyJpdGVtSWQiOiJwcmltZXItaG9vZGllLWdyYXkiLCJkZXNjcmlwdGlvbiI6IlByaW1lciBIb29kaWUiLCJhbW91bnQiOjk1MCwicXVhbnRpdHkiOjF9LHsiaXRlbUlkIjoicHJpbWVyLWhvb2RpZS1ibHVlIiwiZGVzY3JpcHRpb24iOiJQcmltZXIgQmx1ZSIsImFtb3VudCI6NTAsInF1YW50aXR5IjoxfV19LCJjdXN0b21lciI6eyJiaWxsaW5nQWRkcmVzcyI6eyJmaXJzdE5hbWUiOiJ0ZXN0dCIsImxhc3ROYW1lIjoidGVzdCIsInBvc3RhbENvZGUiOiI1MTY2MiIsImFkZHJlc3NMaW5lMSI6ImFrc2psa2FqbCIsImFkZHJlc3NMaW5lMiI6ImpmamthaGsiLCJjb3VudHJ5Q29kZSI6IlBMIiwiY2l0eSI6Indyb2NsYXciLCJzdGF0ZSI6InRlc3QifSwic2hpcHBpbmdBZGRyZXNzIjp7fSwibmF0aW9uYWxEb2N1bWVudElkIjoiOTAxMTIxMTIzNDU2NyJ9LCJwYXltZW50TWV0aG9kIjp7InZhdWx0T25TdWNjZXNzIjpmYWxzZSwidmF1bHRPbjNEUyI6ZmFsc2UsInZhdWx0T25BZ3JlZW1lbnQiOmZhbHNlLCJvcmRlcmVkQWxsb3dlZENhcmROZXR3b3JrcyI6WyJWSVNBIiwiTUFTVEVSQ0FSRCIsIkFNRVgiLCJNQUVTVFJPIiwiVU5JT05QQVkiLCJDQVJURVNfQkFOQ0FJUkVTIiwiREFOS09SVCIsIkRJTkVSU19DTFVCIiwiRElTQ09WRVIiLCJFTlJPVVRFIiwiRUxPIiwiSElQRVIiLCJJTlRFUkFDIiwiSkNCIiwiTUlSIiwiT1RIRVIiXX19LCJjbGllbnRPcHRpb25zIjp7ImxvY2FsZSI6ImVuIiwiYXBpVmVyc2lvbiI6IjIuNCIsInJlZGlyZWN0Ijp7ImZvcmNlUmVkaXJlY3QiOmZhbHNlfSwidmF1bHQiOnsidmlzaWJsZSI6ZmFsc2V9LCJjYXJkIjp7InByZWZlcnJlZEZsb3ciOiJFTUJFRERFRF9JTl9IT01FIn19LCJhcGlDb25maWciOnsiYXBpS2V5IjoiZXlKMGVYQWlPaUpLVjFRaUxDSmhiR2NpT2lKSVV6STFOaUo5LmV5SnpkV0lpT2lJM05XUmpOekF4TWkwM09EVmpMVFEwTTJFdE9EQmlNUzB3WlRGbU9EaG1aRFJtWVdRaUxDSnBZWFFpT2pFM05UazBPRGd4TkRJc0ltdHBaQ0k2SW5ZeElpd2lhblJwSWpvaVlXWXhZemcxWW1VdE16UmhOaTAwWWpGakxUa3pObVl0WWpnME5tVXlOV1k1TnpFeEluMC5CaElodFpBcGotdWJJckJ3bW1zR1U4dGlCdWNEMU93WFpySmcxdXRRRzZjIiwiYXBpVmVyc2lvbiI6IjIuNCIsImVudiI6IkNVU1RPTV9TQU5EQk9YIn0sImhlYWRsZXNzT3B0aW9ucyI6eyJsb2NhbGUiOiJmci1GUiIsInN0cmlwZSI6eyJwdWJsaXNoYWJsZUtleSI6InBrX3Rlc3RfNTFPOHpmUUtVSzZiWElkQzJ4UHZTUzZVdnJpRTlrd3B2dHR3QjdIOVBBemhOQVpvR3pMZ2lET3lkNFdvb296ZVdIeG9ScktvNmIyVmpaWXhOQ01YM1c3YmswMHJNRGl2amF1In0sInZhdWx0Ijp7ImVuYWJsZWQiOnRydWV9fSwibGl0Q29tcG9uZW50c09wdGlvbnMiOnsic2RrQ29yZSI6dHJ1ZX19'"
|
|
2784
|
+
},
|
|
2785
|
+
{
|
|
2786
|
+
"kind": "variable",
|
|
2787
|
+
"name": "CONFIGURATION_RESPONSE",
|
|
2788
|
+
"type": {
|
|
2789
|
+
"text": "object"
|
|
2790
|
+
},
|
|
2791
|
+
"default": "{ coreUrl: 'https://api.sandbox.primer.io', pciUrl: 'https://sdk.api.sandbox.primer.io', binDataUrl: 'https://bin-data.api.sandbox.core.primer.io', assetsUrl: 'https://assets.sandbox.core.primer.io', checkoutModules: [ { type: 'BILLING_ADDRESS', options: { firstName: false, lastName: false, city: true, countryCode: true, postalCode: true, addressLine1: true, addressLine2: true, state: false, }, }, ], clientSession: { clientSessionId: '0ad5b471-5b80-436b-ad03-57850585e3fd', order: { orderId: '12577', currencyCode: 'EUR', countryCode: 'FR', totalOrderAmount: 1050, merchantAmount: 1050, lineItems: [ { itemId: 'primer-hoodie-gray', description: 'Primer Hoodie', amount: 950, quantity: 1, }, { itemId: 'primer-hoodie-blue', description: 'Primer Blue', amount: 50, quantity: 1, }, ], shipping: { amount: 50, methodId: 'Regular', methodName: 'Regular 50', methodDescription: 'Regular', }, }, customer: { customerId: 'Customer123', billingAddress: { firstName: 'testt', lastName: 'test', postalCode: '51662', addressLine1: 'aksjlkajl', addressLine2: 'jfjkahk', countryCode: 'PL', city: 'wroclaw', state: 'test', }, shippingAddress: {}, nationalDocumentId: '9011211234567', }, paymentMethod: { vaultOnSuccess: false, orderedAllowedCardNetworks: [ 'VISA', 'MASTERCARD', 'AMEX', 'MAESTRO', 'UNIONPAY', 'CARTES_BANCAIRES', 'DANKORT', 'DINERS_CLUB', 'DISCOVER', 'ENROUTE', 'ELO', 'HIPER', 'INTERAC', 'JCB', 'MIR', 'OTHER', ], vaultOnAgreement: false, }, }, primerAccountId: '75dc7012-785c-443a-80b1-0e1f88fd4fad', env: 'SANDBOX', paymentMethods: [ { id: '42e32c6e-7faa-4f5a-97d0-9c4f7b848ae1', type: 'APPLE_PAY', options: { merchantId: '75dc7012785c443a80b10e1f88fd4fad', merchantName: 'Primer', merchantDomains: [], }, implementationType: 'NATIVE_SDK', name: 'Apple Pay', displayMetadata: { button: { iconUrl: { dark: 'https://assets.sandbox.core.primer.io/APPLE_PAY/apple-pay-logo-dark@3x.png', light: 'https://assets.sandbox.core.primer.io/APPLE_PAY/apple-pay-logo-light@3x.png', }, backgroundColor: { dark: '#000000', light: '#FFFFFF', }, cornerRadius: 4, borderWidth: { colored: 0, dark: 1, light: 1, }, borderColor: { dark: '#FFFFFF', light: '#212121', }, }, }, implementation: {}, }, { type: 'PAYMENT_CARD', options: { threeDSecureProvider: '3DSECUREIO', threeDSecureEnabled: true, }, implementationType: 'NATIVE_SDK', name: 'Card', displayMetadata: { button: { iconUrl: { dark: 'https://assets.sandbox.core.primer.io/PAYMENT_CARD/payment-card-logo-dark@3x.png', light: 'https://assets.sandbox.core.primer.io/PAYMENT_CARD/payment-card-logo-light@3x.png', }, backgroundColor: { dark: '#000000', light: '#FFFFFF', }, cornerRadius: 4, borderWidth: { colored: 0, dark: 1, light: 1, }, borderColor: { dark: '#FFFFFF', light: '#212121', }, text: 'Pay by card', textColor: { dark: '#FFFFFF', light: '#000000', }, }, }, forceRedirect: false, implementation: {}, }, ], styleDefaults: {}, }"
|
|
2792
|
+
},
|
|
2793
|
+
{
|
|
2794
|
+
"kind": "variable",
|
|
2795
|
+
"name": "CARD_NUMBER",
|
|
2796
|
+
"type": {
|
|
2797
|
+
"text": "string"
|
|
2798
|
+
},
|
|
2799
|
+
"default": "'4242 4242 4242 4242'"
|
|
2800
|
+
},
|
|
2801
|
+
{
|
|
2802
|
+
"kind": "function",
|
|
2803
|
+
"name": "mockBinData",
|
|
2804
|
+
"parameters": [
|
|
2805
|
+
{
|
|
2806
|
+
"name": "page",
|
|
2807
|
+
"type": {
|
|
2808
|
+
"text": "Page"
|
|
2809
|
+
}
|
|
2810
|
+
}
|
|
2811
|
+
]
|
|
2812
|
+
},
|
|
2813
|
+
{
|
|
2814
|
+
"kind": "function",
|
|
2815
|
+
"name": "mockPaymentInstruments",
|
|
2816
|
+
"parameters": [
|
|
2817
|
+
{
|
|
2818
|
+
"name": "page",
|
|
2819
|
+
"type": {
|
|
2820
|
+
"text": "Page"
|
|
2821
|
+
}
|
|
2822
|
+
}
|
|
2823
|
+
]
|
|
2824
|
+
},
|
|
2825
|
+
{
|
|
2826
|
+
"kind": "function",
|
|
2827
|
+
"name": "mockPayments",
|
|
2828
|
+
"parameters": [
|
|
2829
|
+
{
|
|
2830
|
+
"name": "page",
|
|
2831
|
+
"type": {
|
|
2832
|
+
"text": "Page"
|
|
2833
|
+
}
|
|
2834
|
+
}
|
|
2835
|
+
]
|
|
3014
2836
|
}
|
|
3015
2837
|
],
|
|
3016
2838
|
"exports": [
|
|
3017
2839
|
{
|
|
3018
2840
|
"kind": "js",
|
|
3019
|
-
"name": "
|
|
2841
|
+
"name": "settings",
|
|
3020
2842
|
"declaration": {
|
|
3021
|
-
"name": "
|
|
3022
|
-
"module": "
|
|
2843
|
+
"name": "settings",
|
|
2844
|
+
"module": "e2e/mocks/billing-address.ts"
|
|
2845
|
+
}
|
|
2846
|
+
},
|
|
2847
|
+
{
|
|
2848
|
+
"kind": "js",
|
|
2849
|
+
"name": "CONFIGURATION_RESPONSE",
|
|
2850
|
+
"declaration": {
|
|
2851
|
+
"name": "CONFIGURATION_RESPONSE",
|
|
2852
|
+
"module": "e2e/mocks/billing-address.ts"
|
|
2853
|
+
}
|
|
2854
|
+
},
|
|
2855
|
+
{
|
|
2856
|
+
"kind": "js",
|
|
2857
|
+
"name": "CARD_NUMBER",
|
|
2858
|
+
"declaration": {
|
|
2859
|
+
"name": "CARD_NUMBER",
|
|
2860
|
+
"module": "e2e/mocks/billing-address.ts"
|
|
2861
|
+
}
|
|
2862
|
+
},
|
|
2863
|
+
{
|
|
2864
|
+
"kind": "js",
|
|
2865
|
+
"name": "mockBinData",
|
|
2866
|
+
"declaration": {
|
|
2867
|
+
"name": "mockBinData",
|
|
2868
|
+
"module": "e2e/mocks/billing-address.ts"
|
|
2869
|
+
}
|
|
2870
|
+
},
|
|
2871
|
+
{
|
|
2872
|
+
"kind": "js",
|
|
2873
|
+
"name": "mockPaymentInstruments",
|
|
2874
|
+
"declaration": {
|
|
2875
|
+
"name": "mockPaymentInstruments",
|
|
2876
|
+
"module": "e2e/mocks/billing-address.ts"
|
|
2877
|
+
}
|
|
2878
|
+
},
|
|
2879
|
+
{
|
|
2880
|
+
"kind": "js",
|
|
2881
|
+
"name": "mockPayments",
|
|
2882
|
+
"declaration": {
|
|
2883
|
+
"name": "mockPayments",
|
|
2884
|
+
"module": "e2e/mocks/billing-address.ts"
|
|
3023
2885
|
}
|
|
3024
2886
|
}
|
|
3025
2887
|
]
|
|
3026
2888
|
},
|
|
3027
2889
|
{
|
|
3028
2890
|
"kind": "javascript-module",
|
|
3029
|
-
"path": "
|
|
2891
|
+
"path": "e2e/mocks/card-3ds.ts",
|
|
3030
2892
|
"declarations": [
|
|
3031
2893
|
{
|
|
3032
2894
|
"kind": "variable",
|
|
3033
|
-
"name": "
|
|
3034
|
-
"
|
|
2895
|
+
"name": "settings",
|
|
2896
|
+
"type": {
|
|
2897
|
+
"text": "string"
|
|
2898
|
+
},
|
|
2899
|
+
"default": "'?settings=eyJjbGllbnRTZXNzaW9uQ29uZmlnIjp7ImN1c3RvbWVySWQiOiJFdWxlciBpcyB0aGUgYmVzdCIsIm9yZGVySWQiOiI3NDUyNyIsImFtb3VudCI6NjAwLCJjdXJyZW5jeUNvZGUiOiJFVVIiLCJtZXRhZGF0YSI6eyJzY2VuYXJpbyI6IkdPT0dMRV9QQVkifSwib3JkZXIiOnsiZmVlcyI6W3sidHlwZSI6IlNVUkNIQVJHRSIsImFtb3VudCI6MH1dLCJjb3VudHJ5Q29kZSI6IkRFIiwibGluZUl0ZW1zIjpbeyJpdGVtSWQiOiJwcmltZXItaG9vZGllLWdyYXkiLCJkZXNjcmlwdGlvbiI6IlByaW1lciBIb29kaWUiLCJhbW91bnQiOjYwMCwicXVhbnRpdHkiOjF9XX0sImN1c3RvbWVyIjp7ImJpbGxpbmdBZGRyZXNzIjp7ImZpcnN0TmFtZSI6IkNhcmQiLCJsYXN0TmFtZSI6IkhvbGRlciBOYW1lIiwicG9zdGFsQ29kZSI6Ijk0MDQzIiwiYWRkcmVzc0xpbmUxIjoiMTYwMCBBbXBoaXRoZWF0cmUgUGFya3dheSIsImNvdW50cnlDb2RlIjoiVVMiLCJjaXR5IjoiTW91bnRhaW4gVmlldyIsInN0YXRlIjoiQ0EifX0sInBheW1lbnRNZXRob2QiOnsidmF1bHRPblN1Y2Nlc3MiOmZhbHNlLCJ2YXVsdE9uM0RTIjpmYWxzZSwib3B0aW9ucyI6eyJQQVlQQUwiOnsic3VyY2hhcmdlIjp7ImFtb3VudCI6MH19LCJQQVlNRU5UX0NBUkQiOnsibmV0d29ya3MiOnsiVklTQSI6eyJzdXJjaGFyZ2UiOnsiYW1vdW50IjowfX0sIk1BU1RFUkNBUkQiOnsic3VyY2hhcmdlIjp7ImFtb3VudCI6MH19fX0sIkFEWUVOX0lERUFMIjp7InN1cmNoYXJnZSI6eyJhbW91bnQiOjB9fSwiUEFZX05MX1BBWVBBTCI6eyJzdXJjaGFyZ2UiOnsiYW1vdW50IjowfX0sIkFQUExFX1BBWSI6eyJzdXJjaGFyZ2UiOnsiYW1vdW50IjowfX0sIkFEWUVOX1NPRk9SVCI6eyJzdXJjaGFyZ2UiOnsiYW1vdW50IjowfX0sIkdPT0dMRV9QQVkiOnsic3VyY2hhcmdlIjp7ImFtb3VudCI6MH19fSwib3JkZXJlZEFsbG93ZWRDYXJkTmV0d29ya3MiOlsiVklTQSIsIk1BU1RFUkNBUkQiLCJBTUVYIiwiTUFFU1RSTyIsIlVOSU9OUEFZIiwiQ0FSVEVTX0JBTkNBSVJFUyIsIkRBTktPUlQiLCJESU5FUlNfQ0xVQiIsIkRJU0NPVkVSIiwiRU5ST1VURSIsIkVMTyIsIkhJUEVSIiwiSU5URVJBQyIsIkpDQiIsIk1JUiIsIk9USEVSIl19fSwiY2xpZW50T3B0aW9ucyI6eyJjYXJkIjp7InByZWZlcnJlZEZsb3ciOiJFTUJFRERFRF9JTl9IT01FIn0sImRpcmVjdERlYml0Ijp7ImN1c3RvbWVyQ291bnRyeUNvZGUiOiJGUiIsImNvbXBhbnlOYW1lIjoiUHJpbWVyIEFQSSBMVEQiLCJjb21wYW55QWRkcmVzcyI6IjEyMyBGYWtlIFN0LCBMb25kb24sIEVDMkEgOFhZIn0sInJlZGlyZWN0Ijp7ImZvcmNlUmVkaXJlY3QiOmZhbHNlfSwiZ29vZ2xlUGF5Ijp7ImNhcHR1cmVCaWxsaW5nQWRkcmVzcyI6dHJ1ZX19LCJhcGlDb25maWciOnsiYXBpS2V5IjoiMmI4NTM3YjItNDc4Yy00MzE1LTg4ZmItZjE5NTQ1MDBiNWZhIiwiYXBpVmVyc2lvbiI6IjIuMyIsImVudiI6IkNVU1RPTV9TQU5EQk9YIn0sImhlYWRsZXNzT3B0aW9ucyI6e30sImxpdENvbXBvbmVudHNPcHRpb25zIjp7InNka0NvcmUiOmZhbHNlfX0='"
|
|
2900
|
+
},
|
|
2901
|
+
{
|
|
2902
|
+
"kind": "variable",
|
|
2903
|
+
"name": "CONFIGURATION_RESPONSE",
|
|
2904
|
+
"type": {
|
|
2905
|
+
"text": "object"
|
|
2906
|
+
},
|
|
2907
|
+
"default": "{ coreUrl: 'https://api.sandbox.primer.io', pciUrl: 'https://sdk.api.sandbox.primer.io', binDataUrl: 'https://bin-data.api.sandbox.core.primer.io', assetsUrl: 'https://assets.sandbox.core.primer.io', checkoutModules: [ { type: 'TAX_CALCULATION', requestUrl: '/sales-tax/calculate', }, { type: 'CARD_INFORMATION', }, ], clientSession: { clientSessionId: '0d5f31b6-5848-49ce-9625-3254d5dd8a78', order: { orderId: '74527', currencyCode: 'EUR', countryCode: 'DE', totalOrderAmount: 600, merchantAmount: 600, lineItems: [ { itemId: 'primer-hoodie-gray', description: 'Primer Hoodie', amount: 600, quantity: 1, }, ], fees: [ { type: 'SURCHARGE', amount: 0, }, ], }, customer: { customerId: 'Euler is the best', billingAddress: { firstName: 'Card', lastName: 'Holder Name', postalCode: '94043', addressLine1: '1600 Amphitheatre Parkway', countryCode: 'US', city: 'Mountain View', state: 'CA', }, }, paymentMethod: { vaultOnSuccess: false, options: [ { type: 'PAYPAL', surcharge: 0, }, { type: 'PAYMENT_CARD', networks: [ { type: 'VISA', surcharge: 0, }, { type: 'MASTERCARD', surcharge: 0, }, ], }, { type: 'ADYEN_IDEAL', surcharge: 0, }, { type: 'PAY_NL_PAYPAL', surcharge: 0, }, { type: 'APPLE_PAY', surcharge: 0, }, { type: 'ADYEN_SOFORT', surcharge: 0, }, { type: 'GOOGLE_PAY', surcharge: 0, }, ], orderedAllowedCardNetworks: [ 'VISA', 'MASTERCARD', 'AMEX', 'MAESTRO', 'UNIONPAY', 'CARTES_BANCAIRES', 'DANKORT', 'DINERS_CLUB', 'DISCOVER', 'ENROUTE', 'ELO', 'HIPER', 'INTERAC', 'JCB', 'MIR', 'OTHER', ], vaultOnAgreement: false, }, }, primerAccountId: '84100a01-523f-4347-ac44-e8a3e7083d9a', env: 'SANDBOX', paymentMethods: [ { id: 'e787b281-e4f9-4494-96e8-188917540654', type: 'ADYEN_IDEAL', options: { merchantId: 'PrimerJbTestECOM', merchantAccountId: '4ad980f3-ccc7-5e8e-9a9c-81cd6f5214d4', }, processorConfigId: '9319ad4e-cd51-4517-9d46-bc7be244752a', implementationType: 'WEB_REDIRECT', name: 'iDeal', displayMetadata: { button: { iconUrl: { colored: 'https://assets.sandbox.core.primer.io/IDEAL/ideal-logo@3x.png', dark: 'https://assets.sandbox.core.primer.io/IDEAL/ideal-logo@3x.png', light: 'https://assets.sandbox.core.primer.io/IDEAL/ideal-logo@3x.png', }, backgroundColor: { colored: '#CC0066', dark: '#000000', light: '#FFFFFF', }, cornerRadius: 4, borderWidth: { colored: 0, dark: 1, light: 1, }, borderColor: { dark: '#FFFFFF', light: '#212121', }, }, popup: { width: 1050, height: 1300, }, }, forceRedirect: false, implementation: {}, }, { id: 'e1b5e078-081c-4075-a3cc-5ebc779d36f2', type: 'KLARNA', options: { merchantId: 'Primer', merchantAccountId: 'b6902742-384a-5dfa-b1ff-7dcd02880dc3', clientId: 'Primer', }, processorConfigId: 'b70c2b11-e37f-41fe-9797-d3900f343a36', implementationType: 'NATIVE_SDK', name: 'Klarna', displayMetadata: { button: { iconUrl: { colored: 'https://assets.sandbox.core.primer.io/KLARNA/klarna-logo@3x.png', dark: 'https://assets.sandbox.core.primer.io/KLARNA/klarna-logo-dark@3x.png', light: 'https://assets.sandbox.core.primer.io/KLARNA/klarna-logo-light@3x.png', }, backgroundColor: { colored: '#FFB3C7', dark: '#000000', light: '#FFFFFF', }, cornerRadius: 4, borderWidth: { colored: 0, dark: 1, light: 1, }, borderColor: { colored: '#FFB3C7', dark: '#FFFFFF', light: '#212121', }, }, }, forceRedirect: false, implementation: {}, }, { id: '4e9497d8-1503-4541-8ead-d88151ffa257', type: 'XFERS_PAYNOW', options: { merchantId: 'testi', merchantAccountId: '6fb12703-1795-55ac-875e-2e8476cb8390', }, processorConfigId: '545e5533-b575-4c61-aebe-dec49a836f1b', implementationType: 'NATIVE_SDK', name: 'Xfers', displayMetadata: { button: { iconUrl: { colored: 'https://assets.sandbox.core.primer.io/XFERS/xfers-logo@3x.png', dark: 'https://assets.sandbox.core.primer.io/XFERS/xfers-logo-dark@3x.png', light: 'https://assets.sandbox.core.primer.io/XFERS/xfers-logo-light@3x.png', }, backgroundColor: { colored: '#941C80', dark: '#000000', light: '#FFFFFF', }, cornerRadius: 4, borderWidth: { colored: 0, dark: 1, light: 1, }, borderColor: { colored: '#028BF4', dark: '#FFFFFF', light: '#212121', }, }, }, forceRedirect: false, implementation: {}, }, { id: '9e407fb0-a2f8-4636-a5bc-f404ac757c68', type: 'PAYPAL', options: { merchantId: 'sb-iyjg882920702@business.example.com', merchantAccountId: 'e584f5c7-3c7f-5b58-b187-8e641b0cdce4', clientId: 'AXsZfsyf2jtpTpLQARwSeBurtfT6WiRjHQt1PodMf94gPH0iLwglSdSJ7ZAQT3tCHNZQL--VlrVfwscv', intent: 'authorize', }, processorConfigId: '573b0c98-d588-4223-973f-513a5b5a6177', implementationType: 'NATIVE_SDK', name: 'PayPal', displayMetadata: { button: { iconUrl: { colored: 'https://assets.sandbox.core.primer.io/PAYPAL/paypal-logo@3x.png', }, backgroundColor: { colored: '#0070BA', }, cornerRadius: 4, }, }, forceRedirect: false, implementation: {}, }, { id: 'c657ae04-c230-4be4-9615-9b822743e5e4', type: 'APPLE_PAY', options: { merchantId: '84100a01523f4347ac44e8a3e7083d9a', merchantName: 'DX QA Account', merchantDomains: [], }, implementationType: 'NATIVE_SDK', name: 'Apple Pay', displayMetadata: { button: { iconUrl: { dark: 'https://assets.sandbox.core.primer.io/APPLE_PAY/apple-pay-logo-dark@3x.png', light: 'https://assets.sandbox.core.primer.io/APPLE_PAY/apple-pay-logo-light@3x.png', }, backgroundColor: { dark: '#000000', light: '#FFFFFF', }, cornerRadius: 4, borderWidth: { colored: 0, dark: 1, light: 1, }, borderColor: { dark: '#FFFFFF', light: '#212121', }, }, }, implementation: {}, }, { id: '527ee4ff-2c66-4234-829f-d20480f3aa09', type: 'GOOGLE_PAY', options: { merchantId: '06134396481468734566', merchantName: 'Primer', type: 'GOOGLE_PAY', }, implementationType: 'NATIVE_SDK', name: 'Google Pay', displayMetadata: { button: { iconUrl: { colored: 'https://assets.sandbox.core.primer.io/GOOGLE_PAY/google-pay-logo-dark@3x.png', dark: 'https://assets.sandbox.core.primer.io/GOOGLE_PAY/google-pay-logo-dark@3x.png', light: 'https://assets.sandbox.core.primer.io/GOOGLE_PAY/google-pay-logo-light@3x.png', }, backgroundColor: { colored: '#000000', dark: '#000000', light: '#FFFFFF', }, cornerRadius: 4, borderWidth: { colored: 1, dark: 1, light: 1, }, borderColor: { colored: '#8E8E93', dark: '#FFFFFF', light: '#212121', }, }, }, forceRedirect: false, implementation: {}, }, { type: 'PAYMENT_CARD', options: { threeDSecureProvider: '3DSECUREIO', threeDSecureEnabled: true, }, implementationType: 'NATIVE_SDK', name: 'Card', displayMetadata: { button: { iconUrl: { dark: 'https://assets.sandbox.core.primer.io/PAYMENT_CARD/payment-card-logo-dark@3x.png', light: 'https://assets.sandbox.core.primer.io/PAYMENT_CARD/payment-card-logo-light@3x.png', }, backgroundColor: { dark: '#000000', light: '#FFFFFF', }, cornerRadius: 4, borderWidth: { colored: 0, dark: 1, light: 1, }, borderColor: { dark: '#FFFFFF', light: '#212121', }, text: 'Pay by card', textColor: { dark: '#FFFFFF', light: '#000000', }, }, }, forceRedirect: false, implementation: {}, }, ], styleDefaults: {}, }"
|
|
3035
2908
|
}
|
|
3036
2909
|
],
|
|
3037
2910
|
"exports": [
|
|
3038
2911
|
{
|
|
3039
2912
|
"kind": "js",
|
|
3040
|
-
"name": "
|
|
2913
|
+
"name": "settings",
|
|
3041
2914
|
"declaration": {
|
|
3042
|
-
"name": "
|
|
3043
|
-
"module": "
|
|
2915
|
+
"name": "settings",
|
|
2916
|
+
"module": "e2e/mocks/card-3ds.ts"
|
|
2917
|
+
}
|
|
2918
|
+
},
|
|
2919
|
+
{
|
|
2920
|
+
"kind": "js",
|
|
2921
|
+
"name": "CONFIGURATION_RESPONSE",
|
|
2922
|
+
"declaration": {
|
|
2923
|
+
"name": "CONFIGURATION_RESPONSE",
|
|
2924
|
+
"module": "e2e/mocks/card-3ds.ts"
|
|
3044
2925
|
}
|
|
3045
2926
|
}
|
|
3046
2927
|
]
|
|
3047
2928
|
},
|
|
3048
2929
|
{
|
|
3049
2930
|
"kind": "javascript-module",
|
|
3050
|
-
"path": "
|
|
2931
|
+
"path": "e2e/mocks/card-basic.ts",
|
|
3051
2932
|
"declarations": [
|
|
3052
2933
|
{
|
|
3053
2934
|
"kind": "variable",
|
|
3054
|
-
"name": "
|
|
3055
|
-
"
|
|
2935
|
+
"name": "settings",
|
|
2936
|
+
"type": {
|
|
2937
|
+
"text": "string"
|
|
2938
|
+
},
|
|
2939
|
+
"default": "'?settings=eyJjbGllbnRTZXNzaW9uQ29uZmlnIjp7ImN1c3RvbWVySWQiOiJhaXJ3YWxsZXgtY3VzdG9tZXItaWQtZGVtbyIsIm9yZGVySWQiOiIzNDc3NSIsImFtb3VudCI6MTAwMCwiY3VycmVuY3lDb2RlIjoiRVVSIiwibWV0YWRhdGEiOnsid29ya2Zsb3ciOiJhaXJ3YWxsZXgifSwib3JkZXIiOnsiY291bnRyeUNvZGUiOiJHQiIsImxpbmVJdGVtcyI6W3siaXRlbUlkIjoicHJpbWVyLWhvb2RpZS1ncmF5IiwiZGVzY3JpcHRpb24iOiJQcmltZXIgSG9vZGllIiwiYW1vdW50IjoxMDAwLCJxdWFudGl0eSI6MX1dfSwiY3VzdG9tZXIiOnt9LCJwYXltZW50TWV0aG9kIjp7InZhdWx0T25TdWNjZXNzIjpmYWxzZSwidmF1bHRPbjNEUyI6ZmFsc2UsIm9wdGlvbnMiOnsiUEFZUEFMIjp7InN1cmNoYXJnZSI6eyJhbW91bnQiOjB9fSwiUEFZTUVOVF9DQVJEIjp7Im5ldHdvcmtzIjp7IlZJU0EiOnsic3VyY2hhcmdlIjp7ImFtb3VudCI6MH19LCJNQVNURVJDQVJEIjp7InN1cmNoYXJnZSI6eyJhbW91bnQiOjB9fX19LCJBRFlFTl9JREVBTCI6eyJzdXJjaGFyZ2UiOnsiYW1vdW50IjowfX0sIlBBWV9OTF9QQVlQQUwiOnsic3VyY2hhcmdlIjp7ImFtb3VudCI6MH19LCJBUFBMRV9QQVkiOnsic3VyY2hhcmdlIjp7ImFtb3VudCI6MH19LCJBRFlFTl9TT0ZPUlQiOnsic3VyY2hhcmdlIjp7ImFtb3VudCI6MH19LCJHT09HTEVfUEFZIjp7InN1cmNoYXJnZSI6eyJhbW91bnQiOjB9fX0sIm9yZGVyZWRBbGxvd2VkQ2FyZE5ldHdvcmtzIjpbIlZJU0EiLCJNQVNURVJDQVJEIiwiQU1FWCIsIk1BRVNUUk8iLCJVTklPTlBBWSIsIkNBUlRFU19CQU5DQUlSRVMiLCJEQU5LT1JUIiwiRElORVJTX0NMVUIiLCJESVNDT1ZFUiIsIkVOUk9VVEUiLCJFTE8iLCJISVBFUiIsIklOVEVSQUMiLCJKQ0IiLCJNSVIiLCJPVEhFUiJdfX0sImNsaWVudE9wdGlvbnMiOnsiY29udGFpbmVyIjoiI2NvbnRhaW5lciIsImNhcmQiOnsicHJlZmVycmVkRmxvdyI6IkVNQkVEREVEX0lOX0hPTUUifSwiZGlyZWN0RGViaXQiOnsiY3VzdG9tZXJDb3VudHJ5Q29kZSI6IkZSIiwiY29tcGFueU5hbWUiOiJQcmltZXIgQVBJIExURCIsImNvbXBhbnlBZGRyZXNzIjoiMTIzIEZha2UgU3QsIExvbmRvbiwgRUMyQSA4WFkifSwicmVkaXJlY3QiOnsiZm9yY2VSZWRpcmVjdCI6ZmFsc2V9LCJnb29nbGVQYXkiOnsiY2FwdHVyZUJpbGxpbmdBZGRyZXNzIjp0cnVlfX0sImFwaUNvbmZpZyI6eyJhcGlLZXkiOiJjY2VlMmJlOC1kZjA4LTRjNzktODU2ZC00MDA4NTM0OWU5ZGEiLCJhcGlWZXJzaW9uIjoiMi4yIiwiZW52IjoiQ1VTVE9NX1NUQUdJTkcifSwiaGVhZGxlc3NPcHRpb25zIjp7fSwibGl0Q29tcG9uZW50c09wdGlvbnMiOnsic2RrQ29yZSI6ZmFsc2V9fQ=='"
|
|
2940
|
+
},
|
|
2941
|
+
{
|
|
2942
|
+
"kind": "variable",
|
|
2943
|
+
"name": "CONFIGURATION_RESPONSE",
|
|
2944
|
+
"type": {
|
|
2945
|
+
"text": "object"
|
|
2946
|
+
},
|
|
2947
|
+
"default": "{ coreUrl: 'https://api.staging.primer.io', pciUrl: 'https://sdk.api.staging.primer.io', binDataUrl: 'https://bin-data.api.staging.core.primer.io', assetsUrl: 'https://assets.staging.core.primer.io', checkoutModules: [ { type: 'CARD_INFORMATION', options: { cardHolderName: true, cardholderName: true, }, }, { type: 'TAX_CALCULATION', requestUrl: '/sales-tax/calculate', }, ], clientSession: { clientSessionId: '7430ecc6-a520-4353-bf03-030bb09ba4b7', order: { orderId: '34775', currencyCode: 'EUR', countryCode: 'GB', totalOrderAmount: 1000, merchantAmount: 1000, lineItems: [ { itemId: 'primer-hoodie-gray', description: 'Primer Hoodie', amount: 1000, quantity: 1, }, ], }, customer: { customerId: 'airwallex-customer-id-demo', }, paymentMethod: { vaultOnSuccess: false, options: [ { type: 'PAYPAL', surcharge: 0, }, { type: 'PAYMENT_CARD', networks: [ { type: 'VISA', surcharge: 0, }, { type: 'MASTERCARD', surcharge: 0, }, ], }, { type: 'ADYEN_IDEAL', surcharge: 0, }, { type: 'PAY_NL_PAYPAL', surcharge: 0, }, { type: 'APPLE_PAY', surcharge: 0, }, { type: 'ADYEN_SOFORT', surcharge: 0, }, { type: 'GOOGLE_PAY', surcharge: 0, }, ], orderedAllowedCardNetworks: [ 'VISA', 'MASTERCARD', 'AMEX', 'MAESTRO', 'UNIONPAY', 'CARTES_BANCAIRES', 'DANKORT', 'DINERS_CLUB', 'DISCOVER', 'ENROUTE', 'ELO', 'HIPER', 'INTERAC', 'JCB', 'MIR', 'OTHER', ], vaultOnAgreement: false, }, }, primerAccountId: 'd634b2c6-17d8-4347-bac0-df642c2d6469', env: 'STAGING', paymentMethods: [ { id: 'd2862cfb-05a8-4304-9d80-6652450d19d7', type: 'AFTERPAY', options: { merchantId: 'wont-work', merchantAccountId: '04070052-bcd7-5d2f-92d0-70d1c9b30ce0', }, processorConfigId: '2805ab6e-6b0b-40e2-9d65-1e5c800a530e', implementationType: 'WEB_REDIRECT', name: 'Afterpay', displayMetadata: { button: { iconUrl: { colored: 'https://assets.staging.core.primer.io/AFTERPAY/afterpay-cash-app-logo-dark@3x.png', dark: 'https://assets.staging.core.primer.io/AFTERPAY/afterpay-cash-app-logo-dark@3x.png', light: 'https://assets.staging.core.primer.io/AFTERPAY/afterpay-cash-app-logo-dark@3x.png', }, backgroundColor: { colored: '#000000', dark: '#000000', light: '#000000', }, cornerRadius: 4, borderWidth: { colored: 1, dark: 1, light: 1, }, borderColor: { colored: '#000000', dark: '#FFFFFF', light: '#000000', }, textColor: { dark: '#FFFFFF', light: '#FFFFFF', }, iconPositionRelativeToText: 'END', }, }, forceRedirect: false, implementation: {}, }, { id: 'f4105e92-bf54-4652-a7ac-63a2adf3a96d', type: 'ALMA', options: { merchantId: '9b7d77ef-4862-4900-902c-8ff623476826', merchantAccountId: 'e11ef8e1-10a8-542d-924d-ae0546a03d35', }, processorConfigId: '9b7d77ef-4862-4900-902c-8ff623476826', implementationType: 'WEB_REDIRECT', name: 'Alma', displayMetadata: { button: { iconUrl: { colored: 'https://assets.staging.core.primer.io/ALMA/alma-logo-dark@3x.png', dark: 'https://assets.staging.core.primer.io/ALMA/alma-logo-dark@3x.png', light: 'https://assets.staging.core.primer.io/ALMA/alma-logo@3x.png', }, backgroundColor: { colored: '#FA5022', dark: '#000000', light: '#FFFFFF', }, cornerRadius: 4, borderWidth: { colored: 1, dark: 1, light: 1, }, borderColor: { colored: '#FA5022', dark: '#FFFFFF', light: '#000000', }, }, }, forceRedirect: false, implementation: {}, }, { id: '588df103-82e2-4888-bf49-63f0182e516e', type: 'BRAINTREE_VENMO', options: { merchantId: 'primer', merchantAccountId: '4dd30736-e360-5562-994a-b9de0dc2c2da', }, processorConfigId: '99b3dd12-2d18-48b4-a700-acd8f7943bcb', implementationType: 'WEB_REDIRECT', name: 'Venmo', displayMetadata: { button: { iconUrl: { colored: 'https://assets.staging.core.primer.io/VENMO/venmo-logo@3x.png', dark: 'https://assets.staging.core.primer.io/VENMO/venmo-logo-dark@3x.png', light: 'https://assets.staging.core.primer.io/VENMO/venmo-logo-light@3x.png', }, backgroundColor: { colored: '#008CFF', dark: '#000000', light: '#FFFFFF', }, cornerRadius: 4, borderWidth: { colored: 0, dark: 1, light: 1, }, borderColor: { dark: '#FFFFFF', light: '#000000', }, }, }, forceRedirect: false, implementation: {}, }, { id: '4cc272a3-69eb-46b6-9938-cd672d7a7cbd', type: 'ADYEN_MULTIBANCO', options: { merchantId: 'PrimerJbTestECOM', merchantAccountId: '2e2d6a59-730f-52da-8fa6-a3766f4fa1f0', }, processorConfigId: '254dd1d0-211a-4039-850f-a378dc3c3f5a', implementationType: 'NATIVE_SDK', name: 'Multibanco', displayMetadata: { button: { iconUrl: { colored: 'https://assets.staging.core.primer.io/MULTIBANCO/multibanco-logo@3x.png', dark: 'https://assets.staging.core.primer.io/MULTIBANCO/multibanco-logo@3x.png', light: 'https://assets.staging.core.primer.io/MULTIBANCO/multibanco-logo-light@3x.png', }, backgroundColor: { colored: '#000000', dark: '#000000', light: '#FFFFFF', }, cornerRadius: 4, borderWidth: { colored: 0, dark: 1, light: 1, }, borderColor: { dark: '#FFFFFF', light: '#000000', }, }, }, forceRedirect: false, implementation: { headless: { supportedManagerCategories: ['RAW_DATA'], }, events: [ { eventType: 'ON_START', uiAction: { actionType: 'NAVIGATE', screenId: 'start_screen', }, }, { eventType: 'ON_REQUIRED_ACTION_RECEIVED', uiAction: { actionType: 'NAVIGATE', screenId: 'voucher_screen', }, }, { eventType: 'ON_ERROR', uiAction: { actionType: 'NAVIGATE', screenId: 'error_screen', }, }, ], screens: [ { screenId: 'start_screen', isBackButtonEnabled: true, isShareButtonEnabled: false, orientation: 'VERTICAL', components: [ { style: { margin: { top: 'S', }, textStyle: 'TITLE', }, }, {}, ], }, { screenId: 'voucher_screen', isBackButtonEnabled: true, isShareButtonEnabled: true, orientation: 'VERTICAL', components: [ { style: { margin: { top: 'S', }, textStyle: 'TITLE', }, }, { orientation: 'HORIZONTAL', components: [ { style: { margin: { top: 'S', }, alignmentInParent: 'RIGHT', textStyle: 'TITLE', }, }, { style: { margin: { top: 'S', }, alignmentInParent: 'LEFT', textStyle: 'TITLE', }, }, ], alignment: 'FILL', distribution: 'FILL', }, { orientation: 'HORIZONTAL', components: [ { style: { margin: { top: 'S', }, alignmentInParent: 'RIGHT', textStyle: 'TITLE', }, }, { style: { margin: { top: 'S', }, alignmentInParent: 'LEFT', textStyle: 'TITLE', }, }, {}, ], alignment: 'FILL', distribution: 'FILL', }, ], }, { screenId: 'error_screen', isBackButtonEnabled: false, isShareButtonEnabled: false, orientation: 'VERTICAL', components: [{}], }, ], }, }, { id: '642bb622-b133-4445-904e-0e844967d4bb', type: 'FINTECTURE_IMMEDIATE_TRANSFER', options: { merchantId: '15808a62-2ac5-458b-b1b6-0ca0bce2d690', merchantAccountId: '55bbc227-ddf7-57f9-a0e8-4ebde5505ce5', }, processorConfigId: '15808a62-2ac5-458b-b1b6-0ca0bce2d690', implementationType: 'WEB_REDIRECT', name: 'Fintecture Immediate Transfer', displayMetadata: { button: { iconUrl: { dark: 'https://assets.staging.core.primer.io/FINTECTURE/inverted@3x.png', light: 'https://assets.staging.core.primer.io/FINTECTURE/default@3x.png', }, backgroundColor: { dark: '#000000', light: '#FFFFFF', }, cornerRadius: 4, borderWidth: { dark: 1, light: 1, }, borderColor: { dark: '#FFFFFF', light: '#212121', }, text: 'Pay by Immediate transfer', textColor: { dark: '#FFFFFF', light: '#000000', }, iconPositionRelativeToText: 'START', }, }, forceRedirect: true, implementation: {}, }, { id: '8f057fb9-2737-44f4-aca8-7021ca5689bc', type: 'APPLE_PAY', options: { merchantId: 'd634b2c617d84347bac0df642c2d6469', merchantName: 'Connections', merchantDomains: [], }, implementationType: 'NATIVE_SDK', name: 'Apple Pay', displayMetadata: { button: { iconUrl: { dark: 'https://assets.staging.core.primer.io/APPLE_PAY/apple-pay-logo-dark@3x.png', light: 'https://assets.staging.core.primer.io/APPLE_PAY/apple-pay-logo-light@3x.png', }, backgroundColor: { dark: '#000000', light: '#FFFFFF', }, cornerRadius: 4, borderWidth: { colored: 0, dark: 1, light: 1, }, borderColor: { dark: '#FFFFFF', light: '#212121', }, }, }, implementation: {}, }, { id: '418673aa-954f-4f3e-89e9-d447574a1e14', type: 'SIPS_CPAY', options: { merchantId: '789b21f7-bd18-42f7-8ce8-a0d7320ec3ad', merchantAccountId: '946e95a0-63d0-5afd-9389-c4aea5a9b1fa', }, processorConfigId: '789b21f7-bd18-42f7-8ce8-a0d7320ec3ad', implementationType: 'WEB_REDIRECT', name: 'Cpay', displayMetadata: { button: { iconUrl: { colored: 'https://assets.staging.core.primer.io/CPAY/cpay-logo@3x.png', dark: 'https://assets.staging.core.primer.io/CPAY/cpay-logo-dark@3x.png', light: 'https://assets.staging.core.primer.io/CPAY/cpay-logo-light@3x.png', }, backgroundColor: { colored: '#FFFFFF', dark: '#000000', light: '#FFFFFF', }, cornerRadius: 4, borderWidth: { colored: 0, dark: 1, light: 1, }, borderColor: { dark: '#FFFFFF', light: '#000000', }, }, popup: { width: 830, height: 1000, }, }, forceRedirect: false, implementation: {}, }, { id: 'ba29b47f-bd66-46d6-a3e3-aa27c3b1d110', type: 'ADYEN_ALIPAY', options: { merchantId: 'PrimerJbTestECOM', merchantAccountId: '2e2d6a59-730f-52da-8fa6-a3766f4fa1f0', }, processorConfigId: '254dd1d0-211a-4039-850f-a378dc3c3f5a', implementationType: 'WEB_REDIRECT', name: 'Alipay', displayMetadata: { button: { iconUrl: { colored: 'https://assets.staging.core.primer.io/ALIPAY/alipay-logo@3x.png', dark: 'https://assets.staging.core.primer.io/ALIPAY/alipay-logo-dark@3x.png', light: 'https://assets.staging.core.primer.io/ALIPAY/alipay-logo-light@3x.png', }, backgroundColor: { colored: '#31B1F0', dark: '#000000', light: '#FFFFFF', }, cornerRadius: 4, borderWidth: { colored: 0, dark: 1, light: 1, }, borderColor: { dark: '#FFFFFF', light: '#000000', }, }, }, forceRedirect: false, implementation: {}, }, { id: 'd5b11ef6-c0da-4b85-9095-cc260ddeb009', type: 'ADYEN_VIPPS', options: { merchantId: 'PrimerJbTestECOM', merchantAccountId: '2e2d6a59-730f-52da-8fa6-a3766f4fa1f0', }, processorConfigId: '254dd1d0-211a-4039-850f-a378dc3c3f5a', implementationType: 'WEB_REDIRECT', name: 'Vipps', displayMetadata: { button: { iconUrl: { colored: 'https://assets.staging.core.primer.io/VIPPS/vipps-logo@3x.png', dark: 'https://assets.staging.core.primer.io/VIPPS/vipps-logo-dark@3x.png', light: 'https://assets.staging.core.primer.io/VIPPS/vipps-logo-light@3x.png', }, backgroundColor: { colored: '#FF5B24', dark: '#000000', light: '#FFFFFF', }, cornerRadius: 4, borderWidth: { colored: 0, dark: 1, light: 1, }, borderColor: { dark: '#FFFFFF', light: '#212121', }, }, }, forceRedirect: false, implementation: {}, }, { id: 'd180c74e-3616-4ada-b9ae-b9ad1c554efe', type: 'TRIPLE_A', options: { merchantId: '13eb240b-3da3-43a4-b8a8-1648d6c8cf99', merchantAccountId: 'ebac4f47-a9be-5523-94a9-6b381619ce07', }, processorConfigId: '13eb240b-3da3-43a4-b8a8-1648d6c8cf99', implementationType: 'WEB_REDIRECT', name: 'Triple-A', displayMetadata: { button: { iconUrl: { dark: 'https://assets.staging.core.primer.io/TRIPLE_A/triplea-logo@3x.png', light: 'https://assets.staging.core.primer.io/TRIPLE_A/triplea-logo-light@3x.png', }, backgroundColor: { dark: '#000000', light: '#FFFFFF', }, cornerRadius: 4, borderWidth: { dark: 1, light: 1, }, borderColor: { dark: '#FFFFFF', light: '#212121', }, text: 'Pay with Crypto', textColor: { dark: '#FFFFFF', light: '#000000', }, iconPositionRelativeToText: 'END', }, popup: { width: 830, height: 1000, }, }, forceRedirect: false, implementation: {}, }, { id: 'fe2aa1da-6cad-41dc-885f-ea5483f49441', type: 'PAYPAL', options: { merchantId: 'sb-gmcgm25177732@business.example.com', merchantAccountId: 'bc5908a7-3b62-5696-804b-274eaa68fc3e', clientId: 'AcTGoAPNhwfbSPbiVYSlrUGwTBGijs6GvFGci2R3QI1jlu5ewofPFq0yZDm-Rka07c1FtY4DVnsRerPK', intent: 'authorize', }, processorConfigId: '0a5952b4-cbdf-49b6-a982-022bc0bd0f7f', implementationType: 'NATIVE_SDK', name: 'PayPal', displayMetadata: { button: { iconUrl: { colored: 'https://assets.staging.core.primer.io/PAYPAL/paypal-logo@3x.png', }, backgroundColor: { colored: '#0070BA', }, cornerRadius: 4, }, }, forceRedirect: false, implementation: {}, }, { id: '5f36bcaa-6479-4f4a-87ab-b526348c520f', type: 'GOOGLE_PAY', options: { merchantId: '06134396481468734566', merchantName: 'Primer', type: 'GOOGLE_PAY', }, implementationType: 'NATIVE_SDK', name: 'Google Pay', displayMetadata: { button: { iconUrl: { colored: 'https://assets.staging.core.primer.io/GOOGLE_PAY/google-pay-logo-dark@3x.png', dark: 'https://assets.staging.core.primer.io/GOOGLE_PAY/google-pay-logo-dark@3x.png', light: 'https://assets.staging.core.primer.io/GOOGLE_PAY/google-pay-logo-light@3x.png', }, backgroundColor: { colored: '#000000', dark: '#000000', light: '#FFFFFF', }, cornerRadius: 4, borderWidth: { colored: 1, dark: 1, light: 1, }, borderColor: { colored: '#8E8E93', dark: '#FFFFFF', light: '#212121', }, }, }, forceRedirect: false, implementation: {}, }, { id: '4bf74ad3-1d02-43f8-9d4e-f9825e5b48c5', type: 'PAYMENT_CARD', options: { merchantId: 'test', merchantAccountId: '46c7a690-924b-5b5e-a651-6a962f926b07', }, processorConfigId: 'e4dd8fc6-293f-4208-9160-fbfbfd6b0a4c', implementationType: 'NATIVE_SDK', name: 'Card', displayMetadata: { button: { iconUrl: { dark: 'https://assets.staging.core.primer.io/PAYMENT_CARD/payment-card-logo-dark@3x.png', light: 'https://assets.staging.core.primer.io/PAYMENT_CARD/payment-card-logo-light@3x.png', }, backgroundColor: { dark: '#000000', light: '#FFFFFF', }, cornerRadius: 4, borderWidth: { colored: 0, dark: 1, light: 1, }, borderColor: { dark: '#FFFFFF', light: '#212121', }, text: 'Pay by card', textColor: { dark: '#FFFFFF', light: '#000000', }, }, }, forceRedirect: false, implementation: {}, }, { type: 'PAYMENT_CARD', options: { threeDSecureProvider: '3DSECUREIO', threeDSecureEnabled: true, }, implementationType: 'NATIVE_SDK', name: 'Card', displayMetadata: { button: { iconUrl: { dark: 'https://assets.staging.core.primer.io/PAYMENT_CARD/payment-card-logo-dark@3x.png', light: 'https://assets.staging.core.primer.io/PAYMENT_CARD/payment-card-logo-light@3x.png', }, backgroundColor: { dark: '#000000', light: '#FFFFFF', }, cornerRadius: 4, borderWidth: { colored: 0, dark: 1, light: 1, }, borderColor: { dark: '#FFFFFF', light: '#212121', }, text: 'Pay by card', textColor: { dark: '#FFFFFF', light: '#000000', }, }, }, forceRedirect: false, implementation: {}, }, { id: '4bf74ad3-1d02-43f8-9d4e-f9825e5b48c5', type: 'PAYMENT_CARD', options: { merchantId: 'test', merchantAccountId: '46c7a690-924b-5b5e-a651-6a962f926b07', }, processorConfigId: 'e4dd8fc6-293f-4208-9160-fbfbfd6b0a4c', implementationType: 'NATIVE_SDK', name: 'Card', displayMetadata: { button: { iconUrl: { dark: 'https://assets.staging.core.primer.io/PAYMENT_CARD/payment-card-logo-dark@3x.png', light: 'https://assets.staging.core.primer.io/PAYMENT_CARD/payment-card-logo-light@3x.png', }, backgroundColor: { dark: '#000000', light: '#FFFFFF', }, cornerRadius: 4, borderWidth: { colored: 0, dark: 1, light: 1, }, borderColor: { dark: '#FFFFFF', light: '#212121', }, text: 'Pay by card', textColor: { dark: '#FFFFFF', light: '#000000', }, }, }, forceRedirect: false, implementation: {}, }, { type: 'PAYMENT_CARD', options: { threeDSecureProvider: '3DSECUREIO', threeDSecureEnabled: true, }, implementationType: 'NATIVE_SDK', name: 'Card', displayMetadata: { button: { iconUrl: { dark: 'https://assets.staging.core.primer.io/PAYMENT_CARD/payment-card-logo-dark@3x.png', light: 'https://assets.staging.core.primer.io/PAYMENT_CARD/payment-card-logo-light@3x.png', }, backgroundColor: { dark: '#000000', light: '#FFFFFF', }, cornerRadius: 4, borderWidth: { colored: 0, dark: 1, light: 1, }, borderColor: { dark: '#FFFFFF', light: '#212121', }, text: 'Pay by card', textColor: { dark: '#FFFFFF', light: '#000000', }, }, }, forceRedirect: false, implementation: {}, }, ], styleDefaults: {}, }"
|
|
2948
|
+
},
|
|
2949
|
+
{
|
|
2950
|
+
"kind": "variable",
|
|
2951
|
+
"name": "SUCCESSFUL_CARD_NUMBER",
|
|
2952
|
+
"type": {
|
|
2953
|
+
"text": "string"
|
|
2954
|
+
},
|
|
2955
|
+
"default": "'4035 5010 0000 0008'"
|
|
2956
|
+
},
|
|
2957
|
+
{
|
|
2958
|
+
"kind": "variable",
|
|
2959
|
+
"name": "FAILURE_CARD_NUMBER",
|
|
2960
|
+
"type": {
|
|
2961
|
+
"text": "string"
|
|
2962
|
+
},
|
|
2963
|
+
"default": "'4242 4242 4242 4242'"
|
|
2964
|
+
},
|
|
2965
|
+
{
|
|
2966
|
+
"kind": "function",
|
|
2967
|
+
"name": "mockPaymentInstruments",
|
|
2968
|
+
"parameters": [
|
|
2969
|
+
{
|
|
2970
|
+
"name": "page",
|
|
2971
|
+
"type": {
|
|
2972
|
+
"text": "Page"
|
|
2973
|
+
}
|
|
2974
|
+
}
|
|
2975
|
+
]
|
|
2976
|
+
},
|
|
2977
|
+
{
|
|
2978
|
+
"kind": "function",
|
|
2979
|
+
"name": "mockPayments",
|
|
2980
|
+
"parameters": [
|
|
2981
|
+
{
|
|
2982
|
+
"name": "page",
|
|
2983
|
+
"type": {
|
|
2984
|
+
"text": "Page"
|
|
2985
|
+
}
|
|
2986
|
+
}
|
|
2987
|
+
]
|
|
2988
|
+
},
|
|
2989
|
+
{
|
|
2990
|
+
"kind": "function",
|
|
2991
|
+
"name": "mockPaymentInstrumentsFailure",
|
|
2992
|
+
"parameters": [
|
|
2993
|
+
{
|
|
2994
|
+
"name": "page",
|
|
2995
|
+
"type": {
|
|
2996
|
+
"text": "Page"
|
|
2997
|
+
}
|
|
2998
|
+
}
|
|
2999
|
+
]
|
|
3000
|
+
},
|
|
3001
|
+
{
|
|
3002
|
+
"kind": "function",
|
|
3003
|
+
"name": "mockPaymentsFailure",
|
|
3004
|
+
"parameters": [
|
|
3005
|
+
{
|
|
3006
|
+
"name": "page",
|
|
3007
|
+
"type": {
|
|
3008
|
+
"text": "Page"
|
|
3009
|
+
}
|
|
3010
|
+
}
|
|
3011
|
+
]
|
|
3056
3012
|
}
|
|
3057
3013
|
],
|
|
3058
3014
|
"exports": [
|
|
3059
3015
|
{
|
|
3060
3016
|
"kind": "js",
|
|
3061
|
-
"name": "
|
|
3017
|
+
"name": "settings",
|
|
3018
|
+
"declaration": {
|
|
3019
|
+
"name": "settings",
|
|
3020
|
+
"module": "e2e/mocks/card-basic.ts"
|
|
3021
|
+
}
|
|
3022
|
+
},
|
|
3023
|
+
{
|
|
3024
|
+
"kind": "js",
|
|
3025
|
+
"name": "CONFIGURATION_RESPONSE",
|
|
3026
|
+
"declaration": {
|
|
3027
|
+
"name": "CONFIGURATION_RESPONSE",
|
|
3028
|
+
"module": "e2e/mocks/card-basic.ts"
|
|
3029
|
+
}
|
|
3030
|
+
},
|
|
3031
|
+
{
|
|
3032
|
+
"kind": "js",
|
|
3033
|
+
"name": "SUCCESSFUL_CARD_NUMBER",
|
|
3034
|
+
"declaration": {
|
|
3035
|
+
"name": "SUCCESSFUL_CARD_NUMBER",
|
|
3036
|
+
"module": "e2e/mocks/card-basic.ts"
|
|
3037
|
+
}
|
|
3038
|
+
},
|
|
3039
|
+
{
|
|
3040
|
+
"kind": "js",
|
|
3041
|
+
"name": "FAILURE_CARD_NUMBER",
|
|
3062
3042
|
"declaration": {
|
|
3063
|
-
"name": "
|
|
3064
|
-
"module": "
|
|
3043
|
+
"name": "FAILURE_CARD_NUMBER",
|
|
3044
|
+
"module": "e2e/mocks/card-basic.ts"
|
|
3065
3045
|
}
|
|
3066
|
-
}
|
|
3067
|
-
]
|
|
3068
|
-
},
|
|
3069
|
-
{
|
|
3070
|
-
"kind": "javascript-module",
|
|
3071
|
-
"path": "dist/chunks/sl.R77UEKCA.js",
|
|
3072
|
-
"declarations": [
|
|
3073
|
-
{
|
|
3074
|
-
"kind": "variable",
|
|
3075
|
-
"name": "r",
|
|
3076
|
-
"default": "e"
|
|
3077
|
-
}
|
|
3078
|
-
],
|
|
3079
|
-
"exports": [
|
|
3046
|
+
},
|
|
3080
3047
|
{
|
|
3081
3048
|
"kind": "js",
|
|
3082
|
-
"name": "
|
|
3049
|
+
"name": "mockPaymentInstruments",
|
|
3083
3050
|
"declaration": {
|
|
3084
|
-
"name": "
|
|
3085
|
-
"module": "
|
|
3051
|
+
"name": "mockPaymentInstruments",
|
|
3052
|
+
"module": "e2e/mocks/card-basic.ts"
|
|
3086
3053
|
}
|
|
3087
|
-
}
|
|
3088
|
-
]
|
|
3089
|
-
},
|
|
3090
|
-
{
|
|
3091
|
-
"kind": "javascript-module",
|
|
3092
|
-
"path": "dist/chunks/sr-RS.6M2YSTDX.js",
|
|
3093
|
-
"declarations": [
|
|
3094
|
-
{
|
|
3095
|
-
"kind": "variable",
|
|
3096
|
-
"name": "o",
|
|
3097
|
-
"default": "e"
|
|
3098
|
-
}
|
|
3099
|
-
],
|
|
3100
|
-
"exports": [
|
|
3054
|
+
},
|
|
3101
3055
|
{
|
|
3102
3056
|
"kind": "js",
|
|
3103
|
-
"name": "
|
|
3057
|
+
"name": "mockPayments",
|
|
3104
3058
|
"declaration": {
|
|
3105
|
-
"name": "
|
|
3106
|
-
"module": "
|
|
3059
|
+
"name": "mockPayments",
|
|
3060
|
+
"module": "e2e/mocks/card-basic.ts"
|
|
3107
3061
|
}
|
|
3108
|
-
}
|
|
3109
|
-
]
|
|
3110
|
-
},
|
|
3111
|
-
{
|
|
3112
|
-
"kind": "javascript-module",
|
|
3113
|
-
"path": "dist/chunks/sv.33ZY4CDS.js",
|
|
3114
|
-
"declarations": [
|
|
3062
|
+
},
|
|
3115
3063
|
{
|
|
3116
|
-
"kind": "
|
|
3117
|
-
"name": "
|
|
3118
|
-
"
|
|
3119
|
-
|
|
3120
|
-
|
|
3121
|
-
|
|
3064
|
+
"kind": "js",
|
|
3065
|
+
"name": "mockPaymentInstrumentsFailure",
|
|
3066
|
+
"declaration": {
|
|
3067
|
+
"name": "mockPaymentInstrumentsFailure",
|
|
3068
|
+
"module": "e2e/mocks/card-basic.ts"
|
|
3069
|
+
}
|
|
3070
|
+
},
|
|
3122
3071
|
{
|
|
3123
3072
|
"kind": "js",
|
|
3124
|
-
"name": "
|
|
3073
|
+
"name": "mockPaymentsFailure",
|
|
3125
3074
|
"declaration": {
|
|
3126
|
-
"name": "
|
|
3127
|
-
"module": "
|
|
3075
|
+
"name": "mockPaymentsFailure",
|
|
3076
|
+
"module": "e2e/mocks/card-basic.ts"
|
|
3128
3077
|
}
|
|
3129
3078
|
}
|
|
3130
3079
|
]
|
|
3131
3080
|
},
|
|
3132
3081
|
{
|
|
3133
3082
|
"kind": "javascript-module",
|
|
3134
|
-
"path": "
|
|
3083
|
+
"path": "e2e/mocks/klarna.ts",
|
|
3135
3084
|
"declarations": [
|
|
3136
3085
|
{
|
|
3137
3086
|
"kind": "variable",
|
|
3138
|
-
"name": "
|
|
3139
|
-
"
|
|
3087
|
+
"name": "settings",
|
|
3088
|
+
"type": {
|
|
3089
|
+
"text": "string"
|
|
3090
|
+
},
|
|
3091
|
+
"default": "'?settings=eyJjbGllbnRTZXNzaW9uQ29uZmlnIjp7ImN1c3RvbWVySWQiOiJFdWxlciBpcyB0aGUgYmVzdCIsIm9yZGVySWQiOiI0NTg1OCIsImFtb3VudCI6NjAwLCJjdXJyZW5jeUNvZGUiOiJFVVIiLCJtZXRhZGF0YSI6eyJzY2VuYXJpbyI6IkdPT0dMRV9QQVkifSwib3JkZXIiOnsiY291bnRyeUNvZGUiOiJERSIsImxpbmVJdGVtcyI6W3siaXRlbUlkIjoicHJpbWVyLWhvb2RpZS1ncmF5IiwiZGVzY3JpcHRpb24iOiJQcmltZXIgSG9vZGllIiwiYW1vdW50Ijo2MDAsInF1YW50aXR5IjoxfV19LCJjdXN0b21lciI6e30sInBheW1lbnRNZXRob2QiOnsidmF1bHRPblN1Y2Nlc3MiOmZhbHNlLCJ2YXVsdE9uM0RTIjpmYWxzZSwib3B0aW9ucyI6eyJQQVlQQUwiOnsic3VyY2hhcmdlIjp7ImFtb3VudCI6MH19LCJQQVlNRU5UX0NBUkQiOnsibmV0d29ya3MiOnsiVklTQSI6eyJzdXJjaGFyZ2UiOnsiYW1vdW50IjowfX0sIk1BU1RFUkNBUkQiOnsic3VyY2hhcmdlIjp7ImFtb3VudCI6MH19fX0sIkFEWUVOX0lERUFMIjp7InN1cmNoYXJnZSI6eyJhbW91bnQiOjB9fSwiUEFZX05MX1BBWVBBTCI6eyJzdXJjaGFyZ2UiOnsiYW1vdW50IjowfX0sIkFQUExFX1BBWSI6eyJzdXJjaGFyZ2UiOnsiYW1vdW50IjowfX0sIkFEWUVOX1NPRk9SVCI6eyJzdXJjaGFyZ2UiOnsiYW1vdW50IjowfX0sIkdPT0dMRV9QQVkiOnsic3VyY2hhcmdlIjp7ImFtb3VudCI6MH19fSwib3JkZXJlZEFsbG93ZWRDYXJkTmV0d29ya3MiOlsiVklTQSIsIk1BU1RFUkNBUkQiLCJBTUVYIiwiTUFFU1RSTyIsIlVOSU9OUEFZIiwiQ0FSVEVTX0JBTkNBSVJFUyIsIkRBTktPUlQiLCJESU5FUlNfQ0xVQiIsIkRJU0NPVkVSIiwiRU5ST1VURSIsIkVMTyIsIkhJUEVSIiwiSU5URVJBQyIsIkpDQiIsIk1JUiIsIk9USEVSIl19fSwiY2xpZW50T3B0aW9ucyI6eyJjYXJkIjp7InByZWZlcnJlZEZsb3ciOiJFTUJFRERFRF9JTl9IT01FIn0sImRpcmVjdERlYml0Ijp7ImN1c3RvbWVyQ291bnRyeUNvZGUiOiJGUiIsImNvbXBhbnlOYW1lIjoiUHJpbWVyIEFQSSBMVEQiLCJjb21wYW55QWRkcmVzcyI6IjEyMyBGYWtlIFN0LCBMb25kb24sIEVDMkEgOFhZIn0sInJlZGlyZWN0Ijp7ImZvcmNlUmVkaXJlY3QiOmZhbHNlfSwiZ29vZ2xlUGF5Ijp7ImNhcHR1cmVCaWxsaW5nQWRkcmVzcyI6dHJ1ZX19LCJhcGlDb25maWciOnsiYXBpS2V5IjoiMmI4NTM3YjItNDc4Yy00MzE1LTg4ZmItZjE5NTQ1MDBiNWZhIiwiYXBpVmVyc2lvbiI6IjIuMyIsImVudiI6IkNVU1RPTV9TQU5EQk9YIn0sImhlYWRsZXNzT3B0aW9ucyI6e30sImxpdENvbXBvbmVudHNPcHRpb25zIjp7InNka0NvcmUiOmZhbHNlfX0='"
|
|
3092
|
+
},
|
|
3093
|
+
{
|
|
3094
|
+
"kind": "variable",
|
|
3095
|
+
"name": "CONFIGURATION_RESPONSE",
|
|
3096
|
+
"type": {
|
|
3097
|
+
"text": "object"
|
|
3098
|
+
},
|
|
3099
|
+
"default": "{ coreUrl: 'https://api.sandbox.primer.io', pciUrl: 'https://sdk.api.sandbox.primer.io', binDataUrl: 'https://bin-data.api.sandbox.core.primer.io', assetsUrl: 'https://assets.sandbox.core.primer.io', checkoutModules: [ { type: 'TAX_CALCULATION', requestUrl: '/sales-tax/calculate', }, { type: 'CARD_INFORMATION', }, ], clientSession: { clientSessionId: 'ff9ecd24-537f-4928-a8e4-5534d2375200', order: { orderId: '45858', currencyCode: 'EUR', countryCode: 'DE', totalOrderAmount: 600, merchantAmount: 600, lineItems: [ { itemId: 'primer-hoodie-gray', description: 'Primer Hoodie', amount: 600, quantity: 1, }, ], }, customer: { customerId: 'Euler is the best', }, paymentMethod: { vaultOnSuccess: false, options: [ { type: 'PAYPAL', surcharge: 0, }, { type: 'PAYMENT_CARD', networks: [ { type: 'VISA', surcharge: 0, }, { type: 'MASTERCARD', surcharge: 0, }, ], }, { type: 'ADYEN_IDEAL', surcharge: 0, }, { type: 'PAY_NL_PAYPAL', surcharge: 0, }, { type: 'APPLE_PAY', surcharge: 0, }, { type: 'ADYEN_SOFORT', surcharge: 0, }, { type: 'GOOGLE_PAY', surcharge: 0, }, ], orderedAllowedCardNetworks: [ 'VISA', 'MASTERCARD', 'AMEX', 'MAESTRO', 'UNIONPAY', 'CARTES_BANCAIRES', 'DANKORT', 'DINERS_CLUB', 'DISCOVER', 'ENROUTE', 'ELO', 'HIPER', 'INTERAC', 'JCB', 'MIR', 'OTHER', ], vaultOnAgreement: false, }, }, primerAccountId: '84100a01-523f-4347-ac44-e8a3e7083d9a', env: 'SANDBOX', paymentMethods: [ { id: 'e787b281-e4f9-4494-96e8-188917540654', type: 'ADYEN_IDEAL', options: { merchantId: 'PrimerJbTestECOM', merchantAccountId: '4ad980f3-ccc7-5e8e-9a9c-81cd6f5214d4', }, processorConfigId: '9319ad4e-cd51-4517-9d46-bc7be244752a', implementationType: 'WEB_REDIRECT', name: 'iDeal', displayMetadata: { button: { iconUrl: { colored: 'https://assets.sandbox.core.primer.io/IDEAL/ideal-logo@3x.png', dark: 'https://assets.sandbox.core.primer.io/IDEAL/ideal-logo@3x.png', light: 'https://assets.sandbox.core.primer.io/IDEAL/ideal-logo@3x.png', }, backgroundColor: { colored: '#CC0066', dark: '#000000', light: '#FFFFFF', }, cornerRadius: 4, borderWidth: { colored: 0, dark: 1, light: 1, }, borderColor: { dark: '#FFFFFF', light: '#212121', }, }, popup: { width: 1050, height: 1300, }, }, forceRedirect: false, implementation: {}, }, { id: 'e1b5e078-081c-4075-a3cc-5ebc779d36f2', type: 'KLARNA', options: { merchantId: 'Primer', merchantAccountId: 'b6902742-384a-5dfa-b1ff-7dcd02880dc3', clientId: 'Primer', }, processorConfigId: 'b70c2b11-e37f-41fe-9797-d3900f343a36', implementationType: 'NATIVE_SDK', name: 'Klarna', displayMetadata: { button: { iconUrl: { colored: 'https://assets.sandbox.core.primer.io/KLARNA/klarna-logo@3x.png', dark: 'https://assets.sandbox.core.primer.io/KLARNA/klarna-logo-dark@3x.png', light: 'https://assets.sandbox.core.primer.io/KLARNA/klarna-logo-light@3x.png', }, backgroundColor: { colored: '#FFB3C7', dark: '#000000', light: '#FFFFFF', }, cornerRadius: 4, borderWidth: { colored: 0, dark: 1, light: 1, }, borderColor: { colored: '#FFB3C7', dark: '#FFFFFF', light: '#212121', }, }, }, forceRedirect: false, implementation: {}, }, { id: '4e9497d8-1503-4541-8ead-d88151ffa257', type: 'XFERS_PAYNOW', options: { merchantId: 'testi', merchantAccountId: '6fb12703-1795-55ac-875e-2e8476cb8390', }, processorConfigId: '545e5533-b575-4c61-aebe-dec49a836f1b', implementationType: 'NATIVE_SDK', name: 'Xfers', displayMetadata: { button: { iconUrl: { colored: 'https://assets.sandbox.core.primer.io/XFERS/xfers-logo@3x.png', dark: 'https://assets.sandbox.core.primer.io/XFERS/xfers-logo-dark@3x.png', light: 'https://assets.sandbox.core.primer.io/XFERS/xfers-logo-light@3x.png', }, backgroundColor: { colored: '#941C80', dark: '#000000', light: '#FFFFFF', }, cornerRadius: 4, borderWidth: { colored: 0, dark: 1, light: 1, }, borderColor: { colored: '#028BF4', dark: '#FFFFFF', light: '#212121', }, }, }, forceRedirect: false, implementation: {}, }, { id: '9e407fb0-a2f8-4636-a5bc-f404ac757c68', type: 'PAYPAL', options: { merchantId: 'sb-iyjg882920702@business.example.com', merchantAccountId: 'e584f5c7-3c7f-5b58-b187-8e641b0cdce4', clientId: 'AXsZfsyf2jtpTpLQARwSeBurtfT6WiRjHQt1PodMf94gPH0iLwglSdSJ7ZAQT3tCHNZQL--VlrVfwscv', intent: 'authorize', }, processorConfigId: '573b0c98-d588-4223-973f-513a5b5a6177', implementationType: 'NATIVE_SDK', name: 'PayPal', displayMetadata: { button: { iconUrl: { colored: 'https://assets.sandbox.core.primer.io/PAYPAL/paypal-logo@3x.png', }, backgroundColor: { colored: '#0070BA', }, cornerRadius: 4, }, }, forceRedirect: false, implementation: {}, }, { id: 'c657ae04-c230-4be4-9615-9b822743e5e4', type: 'APPLE_PAY', options: { merchantId: '84100a01523f4347ac44e8a3e7083d9a', merchantName: 'DX QA Account', merchantDomains: [], }, implementationType: 'NATIVE_SDK', name: 'Apple Pay', displayMetadata: { button: { iconUrl: { dark: 'https://assets.sandbox.core.primer.io/APPLE_PAY/apple-pay-logo-dark@3x.png', light: 'https://assets.sandbox.core.primer.io/APPLE_PAY/apple-pay-logo-light@3x.png', }, backgroundColor: { dark: '#000000', light: '#FFFFFF', }, cornerRadius: 4, borderWidth: { colored: 0, dark: 1, light: 1, }, borderColor: { dark: '#FFFFFF', light: '#212121', }, }, }, implementation: {}, }, { id: '527ee4ff-2c66-4234-829f-d20480f3aa09', type: 'GOOGLE_PAY', options: { merchantId: '06134396481468734566', merchantName: 'Primer', type: 'GOOGLE_PAY', }, implementationType: 'NATIVE_SDK', name: 'Google Pay', displayMetadata: { button: { iconUrl: { colored: 'https://assets.sandbox.core.primer.io/GOOGLE_PAY/google-pay-logo-dark@3x.png', dark: 'https://assets.sandbox.core.primer.io/GOOGLE_PAY/google-pay-logo-dark@3x.png', light: 'https://assets.sandbox.core.primer.io/GOOGLE_PAY/google-pay-logo-light@3x.png', }, backgroundColor: { colored: '#000000', dark: '#000000', light: '#FFFFFF', }, cornerRadius: 4, borderWidth: { colored: 1, dark: 1, light: 1, }, borderColor: { colored: '#8E8E93', dark: '#FFFFFF', light: '#212121', }, }, }, forceRedirect: false, implementation: {}, }, { type: 'PAYMENT_CARD', options: { threeDSecureProvider: '3DSECUREIO', threeDSecureEnabled: true, }, implementationType: 'NATIVE_SDK', name: 'Card', displayMetadata: { button: { iconUrl: { dark: 'https://assets.sandbox.core.primer.io/PAYMENT_CARD/payment-card-logo-dark@3x.png', light: 'https://assets.sandbox.core.primer.io/PAYMENT_CARD/payment-card-logo-light@3x.png', }, backgroundColor: { dark: '#000000', light: '#FFFFFF', }, cornerRadius: 4, borderWidth: { colored: 0, dark: 1, light: 1, }, borderColor: { dark: '#FFFFFF', light: '#212121', }, text: 'Pay by card', textColor: { dark: '#FFFFFF', light: '#000000', }, }, }, forceRedirect: false, implementation: {}, }, ], styleDefaults: {}, }"
|
|
3140
3100
|
}
|
|
3141
3101
|
],
|
|
3142
3102
|
"exports": [
|
|
3143
3103
|
{
|
|
3144
3104
|
"kind": "js",
|
|
3145
|
-
"name": "
|
|
3105
|
+
"name": "settings",
|
|
3146
3106
|
"declaration": {
|
|
3147
|
-
"name": "
|
|
3148
|
-
"module": "
|
|
3107
|
+
"name": "settings",
|
|
3108
|
+
"module": "e2e/mocks/klarna.ts"
|
|
3149
3109
|
}
|
|
3150
|
-
}
|
|
3151
|
-
]
|
|
3152
|
-
},
|
|
3153
|
-
{
|
|
3154
|
-
"kind": "javascript-module",
|
|
3155
|
-
"path": "dist/chunks/tr.Q2SIY6NA.js",
|
|
3156
|
-
"declarations": [
|
|
3157
|
-
{
|
|
3158
|
-
"kind": "variable",
|
|
3159
|
-
"name": "n",
|
|
3160
|
-
"default": "e"
|
|
3161
|
-
}
|
|
3162
|
-
],
|
|
3163
|
-
"exports": [
|
|
3110
|
+
},
|
|
3164
3111
|
{
|
|
3165
3112
|
"kind": "js",
|
|
3166
|
-
"name": "
|
|
3113
|
+
"name": "CONFIGURATION_RESPONSE",
|
|
3167
3114
|
"declaration": {
|
|
3168
|
-
"name": "
|
|
3169
|
-
"module": "
|
|
3115
|
+
"name": "CONFIGURATION_RESPONSE",
|
|
3116
|
+
"module": "e2e/mocks/klarna.ts"
|
|
3170
3117
|
}
|
|
3171
3118
|
}
|
|
3172
3119
|
]
|
|
3173
3120
|
},
|
|
3174
3121
|
{
|
|
3175
3122
|
"kind": "javascript-module",
|
|
3176
|
-
"path": "
|
|
3123
|
+
"path": "e2e/mocks/shared.ts",
|
|
3177
3124
|
"declarations": [
|
|
3178
3125
|
{
|
|
3179
|
-
"kind": "
|
|
3180
|
-
"name": "
|
|
3181
|
-
"
|
|
3126
|
+
"kind": "function",
|
|
3127
|
+
"name": "mockConfigurationCallSBX",
|
|
3128
|
+
"parameters": [
|
|
3129
|
+
{
|
|
3130
|
+
"name": "page",
|
|
3131
|
+
"type": {
|
|
3132
|
+
"text": "Page"
|
|
3133
|
+
}
|
|
3134
|
+
},
|
|
3135
|
+
{
|
|
3136
|
+
"name": "config",
|
|
3137
|
+
"type": {
|
|
3138
|
+
"text": "unknown"
|
|
3139
|
+
}
|
|
3140
|
+
}
|
|
3141
|
+
]
|
|
3142
|
+
},
|
|
3143
|
+
{
|
|
3144
|
+
"kind": "function",
|
|
3145
|
+
"name": "mockConfigurationCallSTG",
|
|
3146
|
+
"parameters": [
|
|
3147
|
+
{
|
|
3148
|
+
"name": "page",
|
|
3149
|
+
"type": {
|
|
3150
|
+
"text": "Page"
|
|
3151
|
+
}
|
|
3152
|
+
},
|
|
3153
|
+
{
|
|
3154
|
+
"name": "config",
|
|
3155
|
+
"type": {
|
|
3156
|
+
"text": "unknown"
|
|
3157
|
+
}
|
|
3158
|
+
}
|
|
3159
|
+
]
|
|
3182
3160
|
}
|
|
3183
3161
|
],
|
|
3184
3162
|
"exports": [
|
|
3185
3163
|
{
|
|
3186
3164
|
"kind": "js",
|
|
3187
|
-
"name": "
|
|
3165
|
+
"name": "mockConfigurationCallSBX",
|
|
3188
3166
|
"declaration": {
|
|
3189
|
-
"name": "
|
|
3190
|
-
"module": "
|
|
3167
|
+
"name": "mockConfigurationCallSBX",
|
|
3168
|
+
"module": "e2e/mocks/shared.ts"
|
|
3191
3169
|
}
|
|
3192
|
-
}
|
|
3193
|
-
]
|
|
3194
|
-
},
|
|
3195
|
-
{
|
|
3196
|
-
"kind": "javascript-module",
|
|
3197
|
-
"path": "dist/chunks/vi.3RROGLXM.js",
|
|
3198
|
-
"declarations": [
|
|
3199
|
-
{
|
|
3200
|
-
"kind": "variable",
|
|
3201
|
-
"name": "a",
|
|
3202
|
-
"default": "n"
|
|
3203
|
-
}
|
|
3204
|
-
],
|
|
3205
|
-
"exports": [
|
|
3170
|
+
},
|
|
3206
3171
|
{
|
|
3207
3172
|
"kind": "js",
|
|
3208
|
-
"name": "
|
|
3173
|
+
"name": "mockConfigurationCallSTG",
|
|
3209
3174
|
"declaration": {
|
|
3210
|
-
"name": "
|
|
3211
|
-
"module": "
|
|
3175
|
+
"name": "mockConfigurationCallSTG",
|
|
3176
|
+
"module": "e2e/mocks/shared.ts"
|
|
3212
3177
|
}
|
|
3213
3178
|
}
|
|
3214
3179
|
]
|
|
3215
3180
|
},
|
|
3216
3181
|
{
|
|
3217
3182
|
"kind": "javascript-module",
|
|
3218
|
-
"path": "
|
|
3183
|
+
"path": "e2e/mocks/vaulted-paypal.ts",
|
|
3219
3184
|
"declarations": [
|
|
3220
3185
|
{
|
|
3221
3186
|
"kind": "variable",
|
|
3222
|
-
"name": "
|
|
3223
|
-
"
|
|
3187
|
+
"name": "settings",
|
|
3188
|
+
"type": {
|
|
3189
|
+
"text": "string"
|
|
3190
|
+
},
|
|
3191
|
+
"default": "'?settings=eyJjbGllbnRTZXNzaW9uQ29uZmlnIjp7ImN1c3RvbWVySWQiOiJFdWxlciBpcyB0aGUgYmVzdCIsIm9yZGVySWQiOiIwODkzNTcwMTgyNTM2NyIsImFtb3VudCI6NjAwLCJjdXJyZW5jeUNvZGUiOiJFVVIiLCJtZXRhZGF0YSI6eyJzY2VuYXJpbyI6IkdPT0dMRV9QQVkifSwib3JkZXIiOnsiZmVlcyI6W3sidHlwZSI6IlNVUkNIQVJHRSIsImFtb3VudCI6MH1dLCJjb3VudHJ5Q29kZSI6IkRFIiwibGluZUl0ZW1zIjpbeyJpdGVtSWQiOiJwcmltZXItaG9vZGllLWdyYXkiLCJkZXNjcmlwdGlvbiI6IlByaW1lciBIb29kaWUiLCJhbW91bnQiOjYwMCwicXVhbnRpdHkiOjF9XX0sImN1c3RvbWVyIjp7ImJpbGxpbmdBZGRyZXNzIjp7ImZpcnN0TmFtZSI6IkNhcmQiLCJsYXN0TmFtZSI6IkhvbGRlciBOYW1lIiwicG9zdGFsQ29kZSI6Ijk0MDQzIiwiYWRkcmVzc0xpbmUxIjoiMTYwMCBBbXBoaXRoZWF0cmUgUGFya3dheSIsImNvdW50cnlDb2RlIjoiVVMiLCJjaXR5IjoiTW91bnRhaW4gVmlldyIsInN0YXRlIjoiQ0EifX0sInBheW1lbnRNZXRob2QiOnsidmF1bHRPblN1Y2Nlc3MiOmZhbHNlLCJ2YXVsdE9uM0RTIjpmYWxzZSwidmF1bHRPbkFncmVlbWVudCI6ZmFsc2UsIm9wdGlvbnMiOnsiUEFZUEFMIjp7InN1cmNoYXJnZSI6eyJhbW91bnQiOjB9fSwiUEFZTUVOVF9DQVJEIjp7Im5ldHdvcmtzIjp7IlZJU0EiOnsic3VyY2hhcmdlIjp7ImFtb3VudCI6MH19LCJNQVNURVJDQVJEIjp7InN1cmNoYXJnZSI6eyJhbW91bnQiOjB9fX19LCJBRFlFTl9JREVBTCI6eyJzdXJjaGFyZ2UiOnsiYW1vdW50IjowfX0sIlBBWV9OTF9QQVlQQUwiOnsic3VyY2hhcmdlIjp7ImFtb3VudCI6MH19LCJBUFBMRV9QQVkiOnsic3VyY2hhcmdlIjp7ImFtb3VudCI6MH19LCJBRFlFTl9TT0ZPUlQiOnsic3VyY2hhcmdlIjp7ImFtb3VudCI6MH19LCJHT09HTEVfUEFZIjp7InN1cmNoYXJnZSI6eyJhbW91bnQiOjB9fX0sIm9yZGVyZWRBbGxvd2VkQ2FyZE5ldHdvcmtzIjpbIlZJU0EiLCJNQVNURVJDQVJEIiwiQU1FWCIsIk1BRVNUUk8iLCJVTklPTlBBWSIsIkNBUlRFU19CQU5DQUlSRVMiLCJEQU5LT1JUIiwiRElORVJTX0NMVUIiLCJESVNDT1ZFUiIsIkVOUk9VVEUiLCJFTE8iLCJISVBFUiIsIklOVEVSQUMiLCJKQ0IiLCJNSVIiLCJPVEhFUiJdfX0sImNsaWVudE9wdGlvbnMiOnsiY2FyZCI6eyJwcmVmZXJyZWRGbG93IjoiRU1CRURERURfSU5fSE9NRSJ9LCJkaXJlY3REZWJpdCI6eyJjdXN0b21lckNvdW50cnlDb2RlIjoiRlIiLCJjb21wYW55TmFtZSI6IlByaW1lciBBUEkgTFREIiwiY29tcGFueUFkZHJlc3MiOiIxMjMgRmFrZSBTdCwgTG9uZG9uLCBFQzJBIDhYWSJ9LCJyZWRpcmVjdCI6eyJmb3JjZVJlZGlyZWN0IjpmYWxzZX0sImdvb2dsZVBheSI6eyJjYXB0dXJlQmlsbGluZ0FkZHJlc3MiOnRydWV9LCJwYXlwYWwiOnsicGF5bWVudEZsb3ciOiJQUkVGRVJfVkFVTFQifX0sImFwaUNvbmZpZyI6eyJhcGlLZXkiOiJmMzA4ODVmMC04MjljLTRmMGEtYjIyMi1iN2Y1OWQzNzZlYWYiLCJhcGlWZXJzaW9uIjoiMi40IiwiZW52IjoiQ1VTVE9NX1NBTkRCT1gifSwiaGVhZGxlc3NPcHRpb25zIjp7fSwibGl0Q29tcG9uZW50c09wdGlvbnMiOnsicGF5cGFsIjp7InBheW1lbnRGbG93IjoiUFJFRkVSX1ZBVUxUIn0sInZhdWx0Ijp7ImVuYWJsZWQiOnRydWV9LCJzZGtDb3JlIjpmYWxzZX19'"
|
|
3192
|
+
},
|
|
3193
|
+
{
|
|
3194
|
+
"kind": "variable",
|
|
3195
|
+
"name": "CONFIGURATION_RESPONSE",
|
|
3196
|
+
"type": {
|
|
3197
|
+
"text": "object"
|
|
3198
|
+
},
|
|
3199
|
+
"default": "{ coreUrl: 'https://api.sandbox.primer.io', pciUrl: 'https://sdk.api.sandbox.primer.io', binDataUrl: 'https://bin-data.api.sandbox.core.primer.io', assetsUrl: 'https://assets.sandbox.core.primer.io', checkoutModules: [], clientSession: { clientSessionId: '3b40a6e3-8fa9-4f2d-90b5-2691e644ff81', order: { orderId: '089357018253670', currencyCode: 'EUR', countryCode: 'DE', totalOrderAmount: 600, merchantAmount: 600, lineItems: [ { itemId: 'primer-hoodie-gray', description: 'Primer Hoodie', amount: 600, quantity: 1, }, ], fees: [ { type: 'SURCHARGE', amount: 0, }, ], }, customer: { customerId: 'Euler is the best', billingAddress: { firstName: 'Card', lastName: 'Holder Name', postalCode: '94043', addressLine1: '1600 Amphitheatre Parkway', countryCode: 'US', city: 'Mountain View', state: 'CA', }, }, paymentMethod: { vaultOnSuccess: false, options: [ { type: 'PAYPAL', surcharge: 0, }, { type: 'PAYMENT_CARD', networks: [ { type: 'VISA', surcharge: 0, }, { type: 'MASTERCARD', surcharge: 0, }, ], }, { type: 'ADYEN_IDEAL', surcharge: 0, }, { type: 'PAY_NL_PAYPAL', surcharge: 0, }, { type: 'APPLE_PAY', surcharge: 0, }, { type: 'ADYEN_SOFORT', surcharge: 0, }, { type: 'GOOGLE_PAY', surcharge: 0, }, ], orderedAllowedCardNetworks: [ 'VISA', 'MASTERCARD', 'AMEX', 'MAESTRO', 'UNIONPAY', 'CARTES_BANCAIRES', 'DANKORT', 'DINERS_CLUB', 'DISCOVER', 'ENROUTE', 'ELO', 'HIPER', 'INTERAC', 'JCB', 'MIR', 'OTHER', ], vaultOnAgreement: false, }, }, primerAccountId: '166fd38f-d8a6-4f39-805f-62a6bbd64bee', env: 'SANDBOX', paymentMethods: [ { id: 'd3ced3db-ca91-44bb-889d-d1a687c2db17', type: 'RAPYD_GRABPAY', options: { merchantId: 'ffef08c0-5294-47d7-a103-dd5706f17b6c', merchantAccountId: 'e59b7dae-0cff-5fa9-8548-9fed83c1d5ec', }, processorConfigId: 'ffef08c0-5294-47d7-a103-dd5706f17b6c', implementationType: 'WEB_REDIRECT', name: 'GrabPay', displayMetadata: { button: { iconUrl: { colored: 'https://assets.sandbox.core.primer.io/GRABPAY/grabpay-logo@3x.png', dark: 'https://assets.sandbox.core.primer.io/GRABPAY/grabpay-logo@3x.png', light: 'https://assets.sandbox.core.primer.io/GRABPAY/grabpay-logo-light@3x.png', }, backgroundColor: { colored: '#01B14E', dark: '#000000', light: '#FFFFFF', }, cornerRadius: 4, borderWidth: { colored: 0, dark: 1, light: 1, }, borderColor: { dark: '#FFFFFF', light: '#212121', }, }, }, forceRedirect: false, implementation: {}, }, { id: 'f37f1a42-1270-476e-a8d8-3698215596c2', type: 'RAPYD_GCASH', options: { merchantId: 'ffef08c0-5294-47d7-a103-dd5706f17b6c', merchantAccountId: 'e59b7dae-0cff-5fa9-8548-9fed83c1d5ec', }, processorConfigId: 'ffef08c0-5294-47d7-a103-dd5706f17b6c', implementationType: 'WEB_REDIRECT', name: 'GCash', displayMetadata: { button: { iconUrl: { colored: 'https://assets.sandbox.core.primer.io/GCASH/gcash-logo@3x.png', dark: 'https://assets.sandbox.core.primer.io/GCASH/gcash-logo@3x.png', light: 'https://assets.sandbox.core.primer.io/GCASH/gcash-logo-light@3x.png', }, backgroundColor: { colored: '#297BFA', dark: '#000000', light: '#FFFFFF', }, cornerRadius: 4, borderWidth: { colored: 0, dark: 1, light: 1, }, borderColor: { dark: '#FFFFFF', light: '#212121', }, }, }, forceRedirect: false, implementation: {}, }, { id: '1bde0ef5-9ae7-41f8-b627-4ecaaddc76a5', type: 'RAPYD_PROMPTPAY', options: { merchantId: 'ffef08c0-5294-47d7-a103-dd5706f17b6c', merchantAccountId: 'e59b7dae-0cff-5fa9-8548-9fed83c1d5ec', }, processorConfigId: 'ffef08c0-5294-47d7-a103-dd5706f17b6c', implementationType: 'NATIVE_SDK', name: 'PromptPay', displayMetadata: { button: { iconUrl: { colored: 'https://assets.sandbox.core.primer.io/PROMPTPAY/promptpay-logo@3x.png', dark: 'https://assets.sandbox.core.primer.io/PROMPTPAY/promptpay-logo@3x.png', light: 'https://assets.sandbox.core.primer.io/PROMPTPAY/promptpay-logo-light@3x.png', }, backgroundColor: { colored: '#023C68', dark: '#000000', light: '#FFFFFF', }, cornerRadius: 4, borderWidth: { colored: 0, dark: 1, light: 1, }, borderColor: { dark: '#FFFFFF', light: '#212121', }, }, }, forceRedirect: false, implementation: {}, }, { id: '2b0b7149-a4c2-4bf4-adb3-a56ec6e2f09f', type: 'ADYEN_IDEAL', options: { merchantId: 'Primerio254_SECOND_TEST', merchantAccountId: 'ddeca4e9-6cee-55f0-ae0d-ddb8d1100977', }, processorConfigId: 'af152714-66c6-48b9-a67e-314f5eb3ab15', implementationType: 'WEB_REDIRECT', name: 'iDeal', displayMetadata: { button: { iconUrl: { colored: 'https://assets.sandbox.core.primer.io/IDEAL/ideal-logo@3x.png', dark: 'https://assets.sandbox.core.primer.io/IDEAL/ideal-logo@3x.png', light: 'https://assets.sandbox.core.primer.io/IDEAL/ideal-logo@3x.png', }, backgroundColor: { colored: '#CC0066', dark: '#000000', light: '#FFFFFF', }, cornerRadius: 4, borderWidth: { colored: 0, dark: 1, light: 1, }, borderColor: { dark: '#FFFFFF', light: '#212121', }, }, popup: { width: 1050, height: 1300, }, }, forceRedirect: false, implementation: {}, }, { id: '6e7a8a26-7737-45dc-b4e5-721f0b180f2f', type: 'GOOGLE_PAY', options: { merchantId: 'test', merchantName: 'test', type: 'GOOGLE_PAY', }, implementationType: 'NATIVE_SDK', name: 'Google Pay', displayMetadata: { button: { iconUrl: { colored: 'https://assets.sandbox.core.primer.io/GOOGLE_PAY/google-pay-logo-dark@3x.png', dark: 'https://assets.sandbox.core.primer.io/GOOGLE_PAY/google-pay-logo-dark@3x.png', light: 'https://assets.sandbox.core.primer.io/GOOGLE_PAY/google-pay-logo-light@3x.png', }, backgroundColor: { colored: '#000000', dark: '#000000', light: '#FFFFFF', }, cornerRadius: 4, borderWidth: { colored: 1, dark: 1, light: 1, }, borderColor: { colored: '#8E8E93', dark: '#FFFFFF', light: '#212121', }, }, }, forceRedirect: false, implementation: {}, }, { id: '2f32f120-d2a9-49d2-96d0-6b21546dec34', type: 'KLARNA', options: { merchantId: 'EG100723', merchantAccountId: '5cdd4a63-9762-5364-8ab8-30aa082a03b5', clientId: 'EG100723', }, processorConfigId: 'c65b140d-3faf-43af-ae3b-8d278b7d7221', implementationType: 'NATIVE_SDK', name: 'Klarna', displayMetadata: { button: { iconUrl: { colored: 'https://assets.sandbox.core.primer.io/KLARNA/klarna-logo@3x.png', dark: 'https://assets.sandbox.core.primer.io/KLARNA/klarna-logo-dark@3x.png', light: 'https://assets.sandbox.core.primer.io/KLARNA/klarna-logo-light@3x.png', }, backgroundColor: { colored: '#FFB3C7', dark: '#000000', light: '#FFFFFF', }, cornerRadius: 4, borderWidth: { colored: 0, dark: 1, light: 1, }, borderColor: { colored: '#FFB3C7', dark: '#FFFFFF', light: '#212121', }, }, }, forceRedirect: false, implementation: {}, }, { id: '9e550cea-749e-46d2-b01d-6867b34eec9a', type: 'PAYPAL', options: { merchantId: 'sb-gmcgm25177732@business.example.com', merchantAccountId: 'fc6c22da-065a-5a44-8c39-a4a1fcaf5723', clientId: 'AcTGoAPNhwfbSPbiVYSlrUGwTBGijs6GvFGci2R3QI1jlu5ewofPFq0yZDm-Rka07c1FtY4DVnsRerPK', intent: 'authorize', }, processorConfigId: '6b506d09-48b0-495c-ba32-49c6d2016cb0', implementationType: 'NATIVE_SDK', name: 'PayPal', displayMetadata: { button: { iconUrl: { colored: 'https://assets.sandbox.core.primer.io/PAYPAL/paypal-logo@3x.png', }, backgroundColor: { colored: '#0070BA', }, cornerRadius: 4, }, }, forceRedirect: false, implementation: {}, }, { type: 'PAYMENT_CARD', options: { threeDSecureProvider: '3DSECUREIO', threeDSecureEnabled: true, }, implementationType: 'NATIVE_SDK', name: 'Card', displayMetadata: { button: { iconUrl: { dark: 'https://assets.sandbox.core.primer.io/PAYMENT_CARD/payment-card-logo-dark@3x.png', light: 'https://assets.sandbox.core.primer.io/PAYMENT_CARD/payment-card-logo-light@3x.png', }, backgroundColor: { dark: '#000000', light: '#FFFFFF', }, cornerRadius: 4, borderWidth: { colored: 0, dark: 1, light: 1, }, borderColor: { dark: '#FFFFFF', light: '#212121', }, text: 'Pay by card', textColor: { dark: '#FFFFFF', light: '#000000', }, }, }, forceRedirect: false, implementation: {}, }, ], styleDefaults: {}, }"
|
|
3200
|
+
},
|
|
3201
|
+
{
|
|
3202
|
+
"kind": "function",
|
|
3203
|
+
"name": "mockExchangeCall",
|
|
3204
|
+
"parameters": [
|
|
3205
|
+
{
|
|
3206
|
+
"name": "page",
|
|
3207
|
+
"type": {
|
|
3208
|
+
"text": "Page"
|
|
3209
|
+
}
|
|
3210
|
+
}
|
|
3211
|
+
]
|
|
3212
|
+
},
|
|
3213
|
+
{
|
|
3214
|
+
"kind": "function",
|
|
3215
|
+
"name": "mockPaymentsCall",
|
|
3216
|
+
"parameters": [
|
|
3217
|
+
{
|
|
3218
|
+
"name": "page",
|
|
3219
|
+
"type": {
|
|
3220
|
+
"text": "Page"
|
|
3221
|
+
}
|
|
3222
|
+
}
|
|
3223
|
+
]
|
|
3224
3224
|
}
|
|
3225
3225
|
],
|
|
3226
3226
|
"exports": [
|
|
3227
3227
|
{
|
|
3228
3228
|
"kind": "js",
|
|
3229
|
-
"name": "
|
|
3229
|
+
"name": "settings",
|
|
3230
3230
|
"declaration": {
|
|
3231
|
-
"name": "
|
|
3232
|
-
"module": "
|
|
3231
|
+
"name": "settings",
|
|
3232
|
+
"module": "e2e/mocks/vaulted-paypal.ts"
|
|
3233
3233
|
}
|
|
3234
|
-
}
|
|
3235
|
-
]
|
|
3236
|
-
},
|
|
3237
|
-
{
|
|
3238
|
-
"kind": "javascript-module",
|
|
3239
|
-
"path": "dist/chunks/zh-CN.MQHNRMN4.js",
|
|
3240
|
-
"declarations": [
|
|
3234
|
+
},
|
|
3241
3235
|
{
|
|
3242
|
-
"kind": "
|
|
3243
|
-
"name": "
|
|
3244
|
-
"
|
|
3245
|
-
|
|
3246
|
-
|
|
3247
|
-
|
|
3236
|
+
"kind": "js",
|
|
3237
|
+
"name": "CONFIGURATION_RESPONSE",
|
|
3238
|
+
"declaration": {
|
|
3239
|
+
"name": "CONFIGURATION_RESPONSE",
|
|
3240
|
+
"module": "e2e/mocks/vaulted-paypal.ts"
|
|
3241
|
+
}
|
|
3242
|
+
},
|
|
3248
3243
|
{
|
|
3249
3244
|
"kind": "js",
|
|
3250
|
-
"name": "
|
|
3245
|
+
"name": "mockExchangeCall",
|
|
3251
3246
|
"declaration": {
|
|
3252
|
-
"name": "
|
|
3253
|
-
"module": "
|
|
3247
|
+
"name": "mockExchangeCall",
|
|
3248
|
+
"module": "e2e/mocks/vaulted-paypal.ts"
|
|
3254
3249
|
}
|
|
3255
|
-
}
|
|
3256
|
-
]
|
|
3257
|
-
},
|
|
3258
|
-
{
|
|
3259
|
-
"kind": "javascript-module",
|
|
3260
|
-
"path": "dist/chunks/zh-HK.WNR7XUSX.js",
|
|
3261
|
-
"declarations": [
|
|
3262
|
-
{
|
|
3263
|
-
"kind": "variable",
|
|
3264
|
-
"name": "o",
|
|
3265
|
-
"default": "e"
|
|
3266
|
-
}
|
|
3267
|
-
],
|
|
3268
|
-
"exports": [
|
|
3250
|
+
},
|
|
3269
3251
|
{
|
|
3270
3252
|
"kind": "js",
|
|
3271
|
-
"name": "
|
|
3253
|
+
"name": "mockPaymentsCall",
|
|
3272
3254
|
"declaration": {
|
|
3273
|
-
"name": "
|
|
3274
|
-
"module": "
|
|
3255
|
+
"name": "mockPaymentsCall",
|
|
3256
|
+
"module": "e2e/mocks/vaulted-paypal.ts"
|
|
3275
3257
|
}
|
|
3276
3258
|
}
|
|
3277
3259
|
]
|
|
3278
3260
|
},
|
|
3279
3261
|
{
|
|
3280
3262
|
"kind": "javascript-module",
|
|
3281
|
-
"path": "
|
|
3263
|
+
"path": "e2e/tests/card-3ds.spec.ts",
|
|
3264
|
+
"declarations": [],
|
|
3265
|
+
"exports": []
|
|
3266
|
+
},
|
|
3267
|
+
{
|
|
3268
|
+
"kind": "javascript-module",
|
|
3269
|
+
"path": "e2e/tests/card-basic.spec.ts",
|
|
3270
|
+
"declarations": [],
|
|
3271
|
+
"exports": []
|
|
3272
|
+
},
|
|
3273
|
+
{
|
|
3274
|
+
"kind": "javascript-module",
|
|
3275
|
+
"path": "e2e/tests/card-form-billing-address.spec.ts",
|
|
3276
|
+
"declarations": [],
|
|
3277
|
+
"exports": []
|
|
3278
|
+
},
|
|
3279
|
+
{
|
|
3280
|
+
"kind": "javascript-module",
|
|
3281
|
+
"path": "e2e/tests/disabled-payments.spec.ts",
|
|
3282
3282
|
"declarations": [
|
|
3283
3283
|
{
|
|
3284
3284
|
"kind": "variable",
|
|
3285
|
-
"name": "
|
|
3286
|
-
"
|
|
3285
|
+
"name": "settingsEnabled",
|
|
3286
|
+
"type": {
|
|
3287
|
+
"text": "string"
|
|
3288
|
+
},
|
|
3289
|
+
"default": "'?settings=eyJjbGllbnRTZXNzaW9uQ29uZmlnIjp7ImN1c3RvbWVySWQiOiJhaXJ3YWxsZXgtY3VzdG9tZXItaWQtZGVtbyIsIm9yZGVySWQiOiIzNDc3NSIsImFtb3VudCI6MTAwMCwiY3VycmVuY3lDb2RlIjoiRVVSIiwibWV0YWRhdGEiOnsid29ya2Zsb3ciOiJhaXJ3YWxsZXgifSwib3JkZXIiOnsiY291bnRyeUNvZGUiOiJHQiIsImxpbmVJdGVtcyI6W3siaXRlbUlkIjoicHJpbWVyLWhvb2RpZS1ncmF5IiwiZGVzY3JpcHRpb24iOiJQcmltZXIgSG9vZGllIiwiYW1vdW50IjoxMDAwLCJxdWFudGl0eSI6MX1dfSwiY3VzdG9tZXIiOnt9LCJwYXltZW50TWV0aG9kIjp7InZhdWx0T25TdWNjZXNzIjpmYWxzZSwidmF1bHRPbjNEUyI6ZmFsc2UsIm9wdGlvbnMiOnsiUEFZUEFMIjp7InN1cmNoYXJnZSI6eyJhbW91bnQiOjB9fSwiUEFZTUVOVF9DQVJEIjp7Im5ldHdvcmtzIjp7IlZJU0EiOnsic3VyY2hhcmdlIjp7ImFtb3VudCI6MH19LCJNQVNURVJDQVJEIjp7InN1cmNoYXJnZSI6eyJhbW91bnQiOjB9fX19LCJBRFlFTl9JREVBTCI6eyJzdXJjaGFyZ2UiOnsiYW1vdW50IjowfX0sIlBBWV9OTF9QQVlQQUwiOnsic3VyY2hhcmdlIjp7ImFtb3VudCI6MH19LCJBUFBMRV9QQVkiOnsic3VyY2hhcmdlIjp7ImFtb3VudCI6MH19LCJBRFlFTl9TT0ZPUlQiOnsic3VyY2hhcmdlIjp7ImFtb3VudCI6MH19LCJHT09HTEVfUEFZIjp7InN1cmNoYXJnZSI6eyJhbW91bnQiOjB9fX0sIm9yZGVyZWRBbGxvd2VkQ2FyZE5ldHdvcmtzIjpbIlZJU0EiLCJNQVNURVJDQVJEIiwiQU1FWCIsIk1BRVNUUk8iLCJVTklPTlBBWSIsIkNBUlRFU19CQU5DQUlSRVMiLCJEQU5LT1JUIiwiRElORVJTX0NMVUIiLCJESVNDT1ZFUiIsIkVOUk9VVEUiLCJFTE8iLCJISVBFUiIsIklOVEVSQUMiLCJKQ0IiLCJNSVIiLCJPVEhFUiJdfX0sImNsaWVudE9wdGlvbnMiOnsiY29udGFpbmVyIjoiI2NvbnRhaW5lciIsImNhcmQiOnsicHJlZmVycmVkRmxvdyI6IkVNQkVEREVEX0lOX0hPTUUifSwiZGlyZWN0RGViaXQiOnsiY3VzdG9tZXJDb3VudHJ5Q29kZSI6IkZSIiwiY29tcGFueU5hbWUiOiJQcmltZXIgQVBJIExURCIsImNvbXBhbnlBZGRyZXNzIjoiMTIzIEZha2UgU3QsIExvbmRvbiwgRUMyQSA4WFkifSwicmVkaXJlY3QiOnsiZm9yY2VSZWRpcmVjdCI6ZmFsc2V9LCJnb29nbGVQYXkiOnsiY2FwdHVyZUJpbGxpbmdBZGRyZXNzIjp0cnVlfX0sImFwaUNvbmZpZyI6eyJhcGlLZXkiOiJjY2VlMmJlOC1kZjA4LTRjNzktODU2ZC00MDA4NTM0OWU5ZGEiLCJhcGlWZXJzaW9uIjoiMi4yIiwiZW52IjoiQ1VTVE9NX1NUQUdJTkcifSwiaGVhZGxlc3NPcHRpb25zIjp7fSwibGl0Q29tcG9uZW50c09wdGlvbnMiOnsiZGlzYWJsZWRQYXltZW50cyI6ZmFsc2UsInNka0NvcmUiOmZhbHNlfX0='"
|
|
3287
3290
|
}
|
|
3288
3291
|
],
|
|
3289
3292
|
"exports": [
|
|
3290
3293
|
{
|
|
3291
3294
|
"kind": "js",
|
|
3292
|
-
"name": "
|
|
3295
|
+
"name": "settingsEnabled",
|
|
3293
3296
|
"declaration": {
|
|
3294
|
-
"name": "
|
|
3295
|
-
"module": "
|
|
3297
|
+
"name": "settingsEnabled",
|
|
3298
|
+
"module": "e2e/tests/disabled-payments.spec.ts"
|
|
3296
3299
|
}
|
|
3297
3300
|
}
|
|
3298
3301
|
]
|
|
3299
3302
|
},
|
|
3303
|
+
{
|
|
3304
|
+
"kind": "javascript-module",
|
|
3305
|
+
"path": "e2e/tests/klarna.spec.ts",
|
|
3306
|
+
"declarations": [],
|
|
3307
|
+
"exports": []
|
|
3308
|
+
},
|
|
3309
|
+
{
|
|
3310
|
+
"kind": "javascript-module",
|
|
3311
|
+
"path": "e2e/tests/vaulted-paypal.spec.ts",
|
|
3312
|
+
"declarations": [],
|
|
3313
|
+
"exports": []
|
|
3314
|
+
},
|
|
3300
3315
|
{
|
|
3301
3316
|
"kind": "javascript-module",
|
|
3302
3317
|
"path": "src/__tests__/setup.ts",
|
|
@@ -4060,6 +4075,14 @@
|
|
|
4060
4075
|
}
|
|
4061
4076
|
],
|
|
4062
4077
|
"exports": [
|
|
4078
|
+
{
|
|
4079
|
+
"kind": "js",
|
|
4080
|
+
"name": "VaultedPaymentMethodSummary",
|
|
4081
|
+
"declaration": {
|
|
4082
|
+
"name": "VaultedPaymentMethodSummary",
|
|
4083
|
+
"module": "src/contexts/payments-objects.ts"
|
|
4084
|
+
}
|
|
4085
|
+
},
|
|
4063
4086
|
{
|
|
4064
4087
|
"kind": "js",
|
|
4065
4088
|
"name": "InitializedPayments",
|
|
@@ -4901,6 +4924,17 @@
|
|
|
4901
4924
|
"privacy": "private",
|
|
4902
4925
|
"default": "null"
|
|
4903
4926
|
},
|
|
4927
|
+
{
|
|
4928
|
+
"kind": "field",
|
|
4929
|
+
"name": "vault",
|
|
4930
|
+
"type": {
|
|
4931
|
+
"text": "VaultAPI"
|
|
4932
|
+
},
|
|
4933
|
+
"privacy": "public",
|
|
4934
|
+
"readonly": true,
|
|
4935
|
+
"description": "Vault namespace providing programmatic access to vaulted payment method operations.\nUse for building custom vault UIs with headless flows.",
|
|
4936
|
+
"default": "{ createCvvInput: (options) => this.createCvvInputInternal(options), startPayment: (paymentMethodId, options) => this.startVaultPaymentInternal(paymentMethodId, options), delete: (paymentMethodId) => this.deleteVaultPaymentMethod(paymentMethodId), }"
|
|
4937
|
+
},
|
|
4904
4938
|
{
|
|
4905
4939
|
"kind": "field",
|
|
4906
4940
|
"name": "onPaymentStart",
|
|
@@ -4991,7 +5025,8 @@
|
|
|
4991
5025
|
"description": "CVV input configuration"
|
|
4992
5026
|
}
|
|
4993
5027
|
],
|
|
4994
|
-
"description": "Creates a CVV input for vaulted payment method CVV recapture
|
|
5028
|
+
"description": "Creates a CVV input for vaulted payment method CVV recapture.",
|
|
5029
|
+
"deprecated": "Use primerJS.vault.createCvvInput() instead.\nThis method will be removed in a future major version."
|
|
4995
5030
|
},
|
|
4996
5031
|
{
|
|
4997
5032
|
"kind": "method",
|
|
@@ -5016,13 +5051,10 @@
|
|
|
5016
5051
|
"text": "{ cvv?: string }"
|
|
5017
5052
|
},
|
|
5018
5053
|
"description": "Optional payment options"
|
|
5019
|
-
},
|
|
5020
|
-
{
|
|
5021
|
-
"description": "CVV value token (required if cvvRecapture is true)",
|
|
5022
|
-
"name": "options.cvv"
|
|
5023
5054
|
}
|
|
5024
5055
|
],
|
|
5025
|
-
"description": "Initiates payment using a vaulted payment method
|
|
5056
|
+
"description": "Initiates payment using a vaulted payment method.",
|
|
5057
|
+
"deprecated": "Use primerJS.vault.startPayment() instead.\nThis method will be removed in a future major version."
|
|
5026
5058
|
},
|
|
5027
5059
|
{
|
|
5028
5060
|
"kind": "method",
|
|
@@ -13691,6 +13723,48 @@
|
|
|
13691
13723
|
}
|
|
13692
13724
|
]
|
|
13693
13725
|
},
|
|
13726
|
+
{
|
|
13727
|
+
"kind": "function",
|
|
13728
|
+
"name": "isDeepEqual",
|
|
13729
|
+
"return": {
|
|
13730
|
+
"type": {
|
|
13731
|
+
"text": ""
|
|
13732
|
+
}
|
|
13733
|
+
},
|
|
13734
|
+
"parameters": [
|
|
13735
|
+
{
|
|
13736
|
+
"name": "obj1",
|
|
13737
|
+
"type": {
|
|
13738
|
+
"text": "unknown"
|
|
13739
|
+
},
|
|
13740
|
+
"description": "First object to compare"
|
|
13741
|
+
},
|
|
13742
|
+
{
|
|
13743
|
+
"name": "obj2",
|
|
13744
|
+
"type": {
|
|
13745
|
+
"text": "unknown"
|
|
13746
|
+
},
|
|
13747
|
+
"description": "Second object to compare"
|
|
13748
|
+
},
|
|
13749
|
+
{
|
|
13750
|
+
"name": "depth",
|
|
13751
|
+
"default": "0",
|
|
13752
|
+
"type": {
|
|
13753
|
+
"text": "number"
|
|
13754
|
+
},
|
|
13755
|
+
"description": "Current recursion depth (internal parameter)"
|
|
13756
|
+
},
|
|
13757
|
+
{
|
|
13758
|
+
"name": "maxDepth",
|
|
13759
|
+
"default": "10",
|
|
13760
|
+
"type": {
|
|
13761
|
+
"text": "number"
|
|
13762
|
+
},
|
|
13763
|
+
"description": "Maximum recursion depth allowed"
|
|
13764
|
+
}
|
|
13765
|
+
],
|
|
13766
|
+
"description": "Deep equality check for state objects.\nHandles primitives, null, undefined, and nested objects.\nOptimized for shallow state structures like SdkState (5 properties)."
|
|
13767
|
+
},
|
|
13694
13768
|
{
|
|
13695
13769
|
"kind": "function",
|
|
13696
13770
|
"name": "createReducer",
|
|
@@ -13847,6 +13921,14 @@
|
|
|
13847
13921
|
"module": "src/controllers/reactive-state/index.ts"
|
|
13848
13922
|
}
|
|
13849
13923
|
},
|
|
13924
|
+
{
|
|
13925
|
+
"kind": "js",
|
|
13926
|
+
"name": "isDeepEqual",
|
|
13927
|
+
"declaration": {
|
|
13928
|
+
"name": "isDeepEqual",
|
|
13929
|
+
"module": "src/controllers/reactive-state/index.ts"
|
|
13930
|
+
}
|
|
13931
|
+
},
|
|
13850
13932
|
{
|
|
13851
13933
|
"kind": "js",
|
|
13852
13934
|
"name": "createReducer",
|
|
@@ -18467,6 +18549,71 @@
|
|
|
18467
18549
|
}
|
|
18468
18550
|
]
|
|
18469
18551
|
},
|
|
18552
|
+
{
|
|
18553
|
+
"kind": "javascript-module",
|
|
18554
|
+
"path": "src/containers/vault-manager/components/vault-empty-state/vault-empty-state.component.ts",
|
|
18555
|
+
"declarations": [
|
|
18556
|
+
{
|
|
18557
|
+
"kind": "class",
|
|
18558
|
+
"description": "VaultEmptyStateComponent - displays when no payment methods are available",
|
|
18559
|
+
"name": "VaultEmptyStateComponent",
|
|
18560
|
+
"members": [],
|
|
18561
|
+
"superclass": {
|
|
18562
|
+
"name": "LitElement",
|
|
18563
|
+
"package": "lit"
|
|
18564
|
+
},
|
|
18565
|
+
"tagName": "primer-vault-empty-state",
|
|
18566
|
+
"customElement": true
|
|
18567
|
+
}
|
|
18568
|
+
],
|
|
18569
|
+
"exports": [
|
|
18570
|
+
{
|
|
18571
|
+
"kind": "js",
|
|
18572
|
+
"name": "VaultEmptyStateComponent",
|
|
18573
|
+
"declaration": {
|
|
18574
|
+
"name": "VaultEmptyStateComponent",
|
|
18575
|
+
"module": "src/containers/vault-manager/components/vault-empty-state/vault-empty-state.component.ts"
|
|
18576
|
+
}
|
|
18577
|
+
},
|
|
18578
|
+
{
|
|
18579
|
+
"kind": "custom-element-definition",
|
|
18580
|
+
"name": "primer-vault-empty-state",
|
|
18581
|
+
"declaration": {
|
|
18582
|
+
"name": "VaultEmptyStateComponent",
|
|
18583
|
+
"module": "src/containers/vault-manager/components/vault-empty-state/vault-empty-state.component.ts"
|
|
18584
|
+
}
|
|
18585
|
+
}
|
|
18586
|
+
]
|
|
18587
|
+
},
|
|
18588
|
+
{
|
|
18589
|
+
"kind": "javascript-module",
|
|
18590
|
+
"path": "src/containers/vault-manager/components/vault-empty-state/vault-empty-state.styles.ts",
|
|
18591
|
+
"declarations": [],
|
|
18592
|
+
"exports": [
|
|
18593
|
+
{
|
|
18594
|
+
"kind": "js",
|
|
18595
|
+
"name": "default",
|
|
18596
|
+
"declaration": {
|
|
18597
|
+
"module": "src/containers/vault-manager/components/vault-empty-state/vault-empty-state.styles.ts"
|
|
18598
|
+
}
|
|
18599
|
+
}
|
|
18600
|
+
]
|
|
18601
|
+
},
|
|
18602
|
+
{
|
|
18603
|
+
"kind": "javascript-module",
|
|
18604
|
+
"path": "src/containers/vault-manager/components/vault-empty-state/vault-empty-state.ts",
|
|
18605
|
+
"declarations": [],
|
|
18606
|
+
"exports": [
|
|
18607
|
+
{
|
|
18608
|
+
"kind": "js",
|
|
18609
|
+
"name": "VaultEmptyState",
|
|
18610
|
+
"declaration": {
|
|
18611
|
+
"name": "VaultEmptyStateComponent",
|
|
18612
|
+
"module": "src/containers/vault-manager/components/vault-empty-state/vault-empty-state.ts"
|
|
18613
|
+
}
|
|
18614
|
+
}
|
|
18615
|
+
]
|
|
18616
|
+
},
|
|
18470
18617
|
{
|
|
18471
18618
|
"kind": "javascript-module",
|
|
18472
18619
|
"path": "src/containers/vault-manager/components/vault-error-message/vault-error-message.component.ts",
|
|
@@ -18575,71 +18722,6 @@
|
|
|
18575
18722
|
}
|
|
18576
18723
|
]
|
|
18577
18724
|
},
|
|
18578
|
-
{
|
|
18579
|
-
"kind": "javascript-module",
|
|
18580
|
-
"path": "src/containers/vault-manager/components/vault-empty-state/vault-empty-state.component.ts",
|
|
18581
|
-
"declarations": [
|
|
18582
|
-
{
|
|
18583
|
-
"kind": "class",
|
|
18584
|
-
"description": "VaultEmptyStateComponent - displays when no payment methods are available",
|
|
18585
|
-
"name": "VaultEmptyStateComponent",
|
|
18586
|
-
"members": [],
|
|
18587
|
-
"superclass": {
|
|
18588
|
-
"name": "LitElement",
|
|
18589
|
-
"package": "lit"
|
|
18590
|
-
},
|
|
18591
|
-
"tagName": "primer-vault-empty-state",
|
|
18592
|
-
"customElement": true
|
|
18593
|
-
}
|
|
18594
|
-
],
|
|
18595
|
-
"exports": [
|
|
18596
|
-
{
|
|
18597
|
-
"kind": "js",
|
|
18598
|
-
"name": "VaultEmptyStateComponent",
|
|
18599
|
-
"declaration": {
|
|
18600
|
-
"name": "VaultEmptyStateComponent",
|
|
18601
|
-
"module": "src/containers/vault-manager/components/vault-empty-state/vault-empty-state.component.ts"
|
|
18602
|
-
}
|
|
18603
|
-
},
|
|
18604
|
-
{
|
|
18605
|
-
"kind": "custom-element-definition",
|
|
18606
|
-
"name": "primer-vault-empty-state",
|
|
18607
|
-
"declaration": {
|
|
18608
|
-
"name": "VaultEmptyStateComponent",
|
|
18609
|
-
"module": "src/containers/vault-manager/components/vault-empty-state/vault-empty-state.component.ts"
|
|
18610
|
-
}
|
|
18611
|
-
}
|
|
18612
|
-
]
|
|
18613
|
-
},
|
|
18614
|
-
{
|
|
18615
|
-
"kind": "javascript-module",
|
|
18616
|
-
"path": "src/containers/vault-manager/components/vault-empty-state/vault-empty-state.styles.ts",
|
|
18617
|
-
"declarations": [],
|
|
18618
|
-
"exports": [
|
|
18619
|
-
{
|
|
18620
|
-
"kind": "js",
|
|
18621
|
-
"name": "default",
|
|
18622
|
-
"declaration": {
|
|
18623
|
-
"module": "src/containers/vault-manager/components/vault-empty-state/vault-empty-state.styles.ts"
|
|
18624
|
-
}
|
|
18625
|
-
}
|
|
18626
|
-
]
|
|
18627
|
-
},
|
|
18628
|
-
{
|
|
18629
|
-
"kind": "javascript-module",
|
|
18630
|
-
"path": "src/containers/vault-manager/components/vault-empty-state/vault-empty-state.ts",
|
|
18631
|
-
"declarations": [],
|
|
18632
|
-
"exports": [
|
|
18633
|
-
{
|
|
18634
|
-
"kind": "js",
|
|
18635
|
-
"name": "VaultEmptyState",
|
|
18636
|
-
"declaration": {
|
|
18637
|
-
"name": "VaultEmptyStateComponent",
|
|
18638
|
-
"module": "src/containers/vault-manager/components/vault-empty-state/vault-empty-state.ts"
|
|
18639
|
-
}
|
|
18640
|
-
}
|
|
18641
|
-
]
|
|
18642
|
-
},
|
|
18643
18725
|
{
|
|
18644
18726
|
"kind": "javascript-module",
|
|
18645
18727
|
"path": "src/containers/vault-manager/components/vault-manager-header/vault-manager-header.component.ts",
|