@primer-io/primer-js 0.8.1 → 0.9.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 +1037 -925
- package/dist/jsx/index.d.ts +8 -8
- package/dist/primer-loader.d.ts +306 -136
- package/dist/primer-loader.js +4 -4
- package/dist/vscode.html-custom-data.json +7 -7
- package/dist/web-types.json +18 -12
- package/package.json +1 -1
|
@@ -2,6 +2,35 @@
|
|
|
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
|
+
},
|
|
5
34
|
{
|
|
6
35
|
"kind": "javascript-module",
|
|
7
36
|
"path": "dist/primer-loader.js",
|
|
@@ -206,7 +235,7 @@
|
|
|
206
235
|
{
|
|
207
236
|
"kind": "variable",
|
|
208
237
|
"name": "W",
|
|
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 kr(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 Wi(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)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>`)} `}}"
|
|
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 kr(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 Wi(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>`)} `}}"
|
|
210
239
|
},
|
|
211
240
|
{
|
|
212
241
|
"kind": "variable",
|
|
@@ -286,7 +315,7 @@
|
|
|
286
315
|
{
|
|
287
316
|
"kind": "variable",
|
|
288
317
|
"name": "_e",
|
|
289
|
-
"default": "class extends v{constructor(){super(...arguments);this.vaultManager=null;this.contextEventsController=null;this.hasSlottedToggle=!1;this.isExpanded=!1;this._isHandlingContextEvent=!1;this._contextToggleListener=null;this.handleToggleSlotChange=e=>{let i=e.target.assignedNodes({flatten:!0});this.hasSlottedToggle=i.length>0};this.handleSlotButtonClick=e=>{let i=e.target.closest(\"button, primer-button\");if(!i)return;let n=i;this.isToggleButton(n)&&(e.preventDefault(),this.toggleAccordion())};this.handleDirectToggle=e=>{let a=e.detail?.action;a===\"expand\"?this.expand():a===\"collapse\"?this.collapse():this.toggleAccordion()};this.handleContextToggle=e=>{if(!this._isHandlingContextEvent){this._isHandlingContextEvent=!0;try{if(e.target!==this){e.stopPropagation();let a=e.detail?.action;a===\"expand\"?this.expand():a===\"collapse\"?this.collapse():this.toggleAccordion()}}finally{this._isHandlingContextEvent=!1}}}}isToggleButton(e){let a=
|
|
318
|
+
"default": "class extends v{constructor(){super(...arguments);this.vaultManager=null;this.contextEventsController=null;this.hasSlottedToggle=!1;this.isExpanded=!1;this._isHandlingContextEvent=!1;this._contextToggleListener=null;this.handleToggleSlotChange=e=>{let i=e.target.assignedNodes({flatten:!0});this.hasSlottedToggle=i.length>0};this.handleSlotButtonClick=e=>{let i=e.target.closest(\"button, primer-button\");if(!i)return;let n=i;this.isToggleButton(n)&&(e.preventDefault(),this.toggleAccordion())};this.handleDirectToggle=e=>{let a=e.detail?.action;a===\"expand\"?this.expand():a===\"collapse\"?this.collapse():this.toggleAccordion()};this.handleContextToggle=e=>{if(!this._isHandlingContextEvent){this._isHandlingContextEvent=!0;try{if(e.target!==this){e.stopPropagation();let a=e.detail?.action;a===\"expand\"?this.expand():a===\"collapse\"?this.collapse():this.toggleAccordion()}}finally{this._isHandlingContextEvent=!1}}}}isToggleButton(e){let a=this.shadowRoot?.querySelector('slot[name=\"show-other-payments-toggle-button\"]');return a?a.assignedElements({flatten:!0}).some(n=>n===e||n.contains(e)):!1}toggleAccordion(){this.hasSlottedToggle?(this.isExpanded=!this.isExpanded,this.dispatchExpandedEvent(this.isExpanded)):this.collapsableElement&&(this.collapsableElement.isExpanded?this.collapsableElement.collapse():this.collapsableElement.expand())}dispatchExpandedEvent(e){this.dispatchEvent(new CustomEvent(\"primer:show-other-payments-toggled\",{bubbles:!0,composed:!0,detail:{expanded:e}}))}expand(){this.hasSlottedToggle?this.isExpanded||(this.isExpanded=!0,this.dispatchExpandedEvent(!0)):this.collapsableElement?.expand()}collapse(){this.hasSlottedToggle?this.isExpanded&&(this.isExpanded=!1,this.dispatchExpandedEvent(!1)):this.collapsableElement?.collapse()}setupContextEventListeners(){this.contextEventsController?.host&&this._contextToggleListener&&this.contextEventsController.host.addEventListener(\"primer:show-other-payments-toggle\",this._contextToggleListener)}cleanupContextEventListeners(){this.contextEventsController?.host&&this._contextToggleListener&&this.contextEventsController.host.removeEventListener(\"primer:show-other-payments-toggle\",this._contextToggleListener)}connectedCallback(){super.connectedCallback(),this.isExpanded=this.vaultManager?.vaultedPaymentMethods.length===0,this.addEventListener(\"click\",this.handleSlotButtonClick),this.addEventListener(\"primer:show-other-payments-toggle\",this.handleDirectToggle),this._contextToggleListener=e=>{this.handleContextToggle(e)},this.setupContextEventListeners()}disconnectedCallback(){this.removeEventListener(\"click\",this.handleSlotButtonClick),this.removeEventListener(\"primer:show-other-payments-toggle\",this.handleDirectToggle),this.cleanupContextEventListeners(),super.disconnectedCallback()}render(){if(this.vaultManager?.isLoading)return g;let e=this.vaultManager?.showEmptyState||this.vaultManager?.vaultedPaymentMethods.length;return!this.vaultManager||!this.vaultManager.enabled||this.vaultManager.headless||!e?p`<slot name=\"other-payments\"></slot>`:p`<div class=\"other-payment-methods-container\"><slot name=\"show-other-payments-toggle-button\" @slotchange=${this.handleToggleSlotChange} ></slot>${L(!this.hasSlottedToggle,()=>p`<primer-collapsable buttonVariant=\"secondary\" .expanded=\"${this.vaultManager?.vaultedPaymentMethods.length===0}\" .header=\"${b(\"navigateToPaymentMethods\",{id:\"navigateToPaymentMethods\"})}\" ><div class=\"other-payment-methods-content\"><slot name=\"other-payments\"></slot></div></primer-collapsable>`,()=>p`<div class=\"collapsable-wrapper ${this.isExpanded?\"expanded\":\"\"}\" role=\"region\" aria-labelledby=\"custom-toggle-button\" ><div class=\"collapsable-content\"><div class=\"other-payment-methods-content\"><slot name=\"other-payments\"></slot></div></div></div>`)}</div>`}}"
|
|
290
319
|
},
|
|
291
320
|
{
|
|
292
321
|
"kind": "variable",
|
|
@@ -764,35 +793,6 @@
|
|
|
764
793
|
}
|
|
765
794
|
]
|
|
766
795
|
},
|
|
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",
|
|
@@ -1667,115 +1667,65 @@
|
|
|
1667
1667
|
},
|
|
1668
1668
|
{
|
|
1669
1669
|
"kind": "javascript-module",
|
|
1670
|
-
"path": "
|
|
1670
|
+
"path": "e2e/mocks/billing-address.ts",
|
|
1671
1671
|
"declarations": [
|
|
1672
1672
|
{
|
|
1673
1673
|
"kind": "variable",
|
|
1674
|
-
"name": "
|
|
1675
|
-
"
|
|
1676
|
-
|
|
1677
|
-
|
|
1678
|
-
|
|
1679
|
-
|
|
1680
|
-
"kind": "js",
|
|
1681
|
-
"name": "templates",
|
|
1682
|
-
"declaration": {
|
|
1683
|
-
"name": "o",
|
|
1684
|
-
"module": "dist/chunks/ar.KRXB3WQO.js"
|
|
1685
|
-
}
|
|
1686
|
-
}
|
|
1687
|
-
]
|
|
1688
|
-
},
|
|
1689
|
-
{
|
|
1690
|
-
"kind": "javascript-module",
|
|
1691
|
-
"path": "dist/chunks/bg.6SKJRXIR.js",
|
|
1692
|
-
"declarations": [
|
|
1674
|
+
"name": "settings",
|
|
1675
|
+
"type": {
|
|
1676
|
+
"text": "string"
|
|
1677
|
+
},
|
|
1678
|
+
"default": "'?settings=eyJjbGllbnRTZXNzaW9uQ29uZmlnIjp7ImN1c3RvbWVySWQiOiJDdXN0b21lcjEyMyIsIm9yZGVySWQiOiIxMjU3NyIsImFtb3VudCI6MTA1MCwiY3VycmVuY3lDb2RlIjoiRVVSIiwibWV0YWRhdG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|
"kind": "variable",
|
|
1695
|
-
"name": "
|
|
1696
|
-
"
|
|
1697
|
-
|
|
1698
|
-
|
|
1699
|
-
|
|
1700
|
-
|
|
1701
|
-
"kind": "js",
|
|
1702
|
-
"name": "templates",
|
|
1703
|
-
"declaration": {
|
|
1704
|
-
"name": "o",
|
|
1705
|
-
"module": "dist/chunks/bg.6SKJRXIR.js"
|
|
1706
|
-
}
|
|
1707
|
-
}
|
|
1708
|
-
]
|
|
1709
|
-
},
|
|
1710
|
-
{
|
|
1711
|
-
"kind": "javascript-module",
|
|
1712
|
-
"path": "dist/chunks/ca.SANDLFEK.js",
|
|
1713
|
-
"declarations": [
|
|
1682
|
+
"name": "CONFIGURATION_RESPONSE",
|
|
1683
|
+
"type": {
|
|
1684
|
+
"text": "object"
|
|
1685
|
+
},
|
|
1686
|
+
"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: {}, }"
|
|
1687
|
+
},
|
|
1714
1688
|
{
|
|
1715
1689
|
"kind": "variable",
|
|
1716
|
-
"name": "
|
|
1717
|
-
"
|
|
1718
|
-
|
|
1719
|
-
|
|
1720
|
-
|
|
1721
|
-
|
|
1722
|
-
"kind": "js",
|
|
1723
|
-
"name": "templates",
|
|
1724
|
-
"declaration": {
|
|
1725
|
-
"name": "i",
|
|
1726
|
-
"module": "dist/chunks/ca.SANDLFEK.js"
|
|
1727
|
-
}
|
|
1728
|
-
}
|
|
1729
|
-
]
|
|
1730
|
-
},
|
|
1731
|
-
{
|
|
1732
|
-
"kind": "javascript-module",
|
|
1733
|
-
"path": "dist/chunks/chunk.DV3REKZU.js",
|
|
1734
|
-
"declarations": [
|
|
1690
|
+
"name": "CARD_NUMBER",
|
|
1691
|
+
"type": {
|
|
1692
|
+
"text": "string"
|
|
1693
|
+
},
|
|
1694
|
+
"default": "'4242 4242 4242 4242'"
|
|
1695
|
+
},
|
|
1735
1696
|
{
|
|
1736
1697
|
"kind": "function",
|
|
1737
|
-
"name": "
|
|
1698
|
+
"name": "mockBinData",
|
|
1738
1699
|
"parameters": [
|
|
1739
1700
|
{
|
|
1740
|
-
"name": "
|
|
1701
|
+
"name": "page",
|
|
1702
|
+
"type": {
|
|
1703
|
+
"text": "Page"
|
|
1704
|
+
}
|
|
1741
1705
|
}
|
|
1742
1706
|
]
|
|
1743
1707
|
},
|
|
1744
|
-
{
|
|
1745
|
-
"kind": "variable",
|
|
1746
|
-
"name": "b",
|
|
1747
|
-
"default": "c[a]"
|
|
1748
|
-
},
|
|
1749
1708
|
{
|
|
1750
1709
|
"kind": "function",
|
|
1751
|
-
"name": "
|
|
1710
|
+
"name": "mockPaymentInstruments",
|
|
1752
1711
|
"parameters": [
|
|
1753
1712
|
{
|
|
1754
|
-
"name": "
|
|
1755
|
-
|
|
1756
|
-
|
|
1757
|
-
|
|
1758
|
-
},
|
|
1759
|
-
{
|
|
1760
|
-
"name": "b"
|
|
1761
|
-
},
|
|
1762
|
-
{
|
|
1763
|
-
"name": "e"
|
|
1713
|
+
"name": "page",
|
|
1714
|
+
"type": {
|
|
1715
|
+
"text": "Page"
|
|
1716
|
+
}
|
|
1764
1717
|
}
|
|
1765
1718
|
]
|
|
1766
1719
|
},
|
|
1767
1720
|
{
|
|
1768
1721
|
"kind": "function",
|
|
1769
|
-
"name": "
|
|
1722
|
+
"name": "mockPayments",
|
|
1770
1723
|
"parameters": [
|
|
1771
1724
|
{
|
|
1772
|
-
"name": "
|
|
1773
|
-
|
|
1774
|
-
|
|
1775
|
-
|
|
1776
|
-
},
|
|
1777
|
-
{
|
|
1778
|
-
"name": "b"
|
|
1725
|
+
"name": "page",
|
|
1726
|
+
"type": {
|
|
1727
|
+
"text": "Page"
|
|
1728
|
+
}
|
|
1779
1729
|
}
|
|
1780
1730
|
]
|
|
1781
1731
|
}
|
|
@@ -1783,309 +1733,483 @@
|
|
|
1783
1733
|
"exports": [
|
|
1784
1734
|
{
|
|
1785
1735
|
"kind": "js",
|
|
1786
|
-
"name": "
|
|
1736
|
+
"name": "settings",
|
|
1787
1737
|
"declaration": {
|
|
1788
|
-
"name": "
|
|
1789
|
-
"module": "
|
|
1738
|
+
"name": "settings",
|
|
1739
|
+
"module": "e2e/mocks/billing-address.ts"
|
|
1790
1740
|
}
|
|
1791
1741
|
},
|
|
1792
1742
|
{
|
|
1793
1743
|
"kind": "js",
|
|
1794
|
-
"name": "
|
|
1744
|
+
"name": "CONFIGURATION_RESPONSE",
|
|
1795
1745
|
"declaration": {
|
|
1796
|
-
"name": "
|
|
1797
|
-
"module": "
|
|
1746
|
+
"name": "CONFIGURATION_RESPONSE",
|
|
1747
|
+
"module": "e2e/mocks/billing-address.ts"
|
|
1798
1748
|
}
|
|
1799
1749
|
},
|
|
1800
1750
|
{
|
|
1801
1751
|
"kind": "js",
|
|
1802
|
-
"name": "
|
|
1752
|
+
"name": "CARD_NUMBER",
|
|
1803
1753
|
"declaration": {
|
|
1804
|
-
"name": "
|
|
1805
|
-
"module": "
|
|
1754
|
+
"name": "CARD_NUMBER",
|
|
1755
|
+
"module": "e2e/mocks/billing-address.ts"
|
|
1756
|
+
}
|
|
1757
|
+
},
|
|
1758
|
+
{
|
|
1759
|
+
"kind": "js",
|
|
1760
|
+
"name": "mockBinData",
|
|
1761
|
+
"declaration": {
|
|
1762
|
+
"name": "mockBinData",
|
|
1763
|
+
"module": "e2e/mocks/billing-address.ts"
|
|
1764
|
+
}
|
|
1765
|
+
},
|
|
1766
|
+
{
|
|
1767
|
+
"kind": "js",
|
|
1768
|
+
"name": "mockPaymentInstruments",
|
|
1769
|
+
"declaration": {
|
|
1770
|
+
"name": "mockPaymentInstruments",
|
|
1771
|
+
"module": "e2e/mocks/billing-address.ts"
|
|
1772
|
+
}
|
|
1773
|
+
},
|
|
1774
|
+
{
|
|
1775
|
+
"kind": "js",
|
|
1776
|
+
"name": "mockPayments",
|
|
1777
|
+
"declaration": {
|
|
1778
|
+
"name": "mockPayments",
|
|
1779
|
+
"module": "e2e/mocks/billing-address.ts"
|
|
1806
1780
|
}
|
|
1807
1781
|
}
|
|
1808
1782
|
]
|
|
1809
1783
|
},
|
|
1810
1784
|
{
|
|
1811
1785
|
"kind": "javascript-module",
|
|
1812
|
-
"path": "
|
|
1786
|
+
"path": "e2e/mocks/card-3ds.ts",
|
|
1813
1787
|
"declarations": [
|
|
1814
1788
|
{
|
|
1815
1789
|
"kind": "variable",
|
|
1816
|
-
"name": "
|
|
1790
|
+
"name": "settings",
|
|
1791
|
+
"type": {
|
|
1792
|
+
"text": "string"
|
|
1793
|
+
},
|
|
1794
|
+
"default": "'?settings=eyJjbGllbnRTZXNzaW9uQ29uZmlnIjp7ImN1c3RvbWVySWQiOiJFdWxlciBpcyB0aGUgYmVzdCIsIm9yZGVySWQiOiI3NDUyNyIsImFtb3VudCI6NjAwLCJjdXJyZW5jeUNvZGUiOiJFVVIiLCJtZXRhZGF0YSI6eyJzY2VuYXJpbyI6IkdPT0dMRV9QQVkifSwib3JkZXIiOnsiZmVlcyI6W3sidHlwZSI6IlNVUkNIQVJHRSIsImFtb3VudCI6MH1dLCJjb3VudHJ5Q29kZSI6IkRFIiwibGluZUl0ZW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yIsIkRBTktPUlQiLCJESU5FUlNfQ0xVQiIsIkRJU0NPVkVSIiwiRU5ST1VURSIsIkVMTyIsIkhJUEVSIiwiSU5URVJBQyIsIkpDQiIsIk1JUiIsIk9USEVSIl19fSwiY2xpZW50T3B0aW9ucyI6eyJjYXJkIjp7InByZWZlcnJlZEZsb3ciOiJFTUJFRERFRF9JTl9IT01FIn0sImRpcmVjdERlYml0Ijp7ImN1c3RvbWVyQ291bnRyeUNvZGUiOiJGUiIsImNvbXBhbnlOYW1lIjoiUHJpbWVyIEFQSSBMVEQiLCJjb21wYW55QWRkcmVzcyI6IjEyMyBGYWtlIFN0LCBMb25kb24sIEVDMkEgOFhZIn0sInJlZGlyZWN0Ijp7ImZvcmNlUmVkaXJlY3QiOmZhbHNlfSwiZ29vZ2xlUGF5Ijp7ImNhcHR1cmVCaWxsaW5nQWRkcmVzcyI6dHJ1ZX19LCJhcGlDb25maWciOnsiYXBpS2V5IjoiMmI4NTM3YjItNDc4Yy00MzE1LTg4ZmItZjE5NTQ1MDBiNWZhIiwiYXBpVmVyc2lvbiI6IjIuMyIsImVudiI6IkNVU1RPTV9TQU5EQk9YIn0sImhlYWRsZXNzT3B0aW9ucyI6e30sImxpdENvbXBvbmVudHNPcHRpb25zIjp7InNka0NvcmUiOmZhbHNlfX0='"
|
|
1795
|
+
},
|
|
1796
|
+
{
|
|
1797
|
+
"kind": "variable",
|
|
1798
|
+
"name": "CONFIGURATION_RESPONSE",
|
|
1817
1799
|
"type": {
|
|
1818
1800
|
"text": "object"
|
|
1819
1801
|
},
|
|
1820
|
-
"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\"}"
|
|
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: {}, }"
|
|
1821
1803
|
}
|
|
1822
1804
|
],
|
|
1823
1805
|
"exports": [
|
|
1824
1806
|
{
|
|
1825
1807
|
"kind": "js",
|
|
1826
|
-
"name": "
|
|
1808
|
+
"name": "settings",
|
|
1827
1809
|
"declaration": {
|
|
1828
|
-
"name": "
|
|
1829
|
-
"module": "
|
|
1810
|
+
"name": "settings",
|
|
1811
|
+
"module": "e2e/mocks/card-3ds.ts"
|
|
1812
|
+
}
|
|
1813
|
+
},
|
|
1814
|
+
{
|
|
1815
|
+
"kind": "js",
|
|
1816
|
+
"name": "CONFIGURATION_RESPONSE",
|
|
1817
|
+
"declaration": {
|
|
1818
|
+
"name": "CONFIGURATION_RESPONSE",
|
|
1819
|
+
"module": "e2e/mocks/card-3ds.ts"
|
|
1830
1820
|
}
|
|
1831
1821
|
}
|
|
1832
1822
|
]
|
|
1833
1823
|
},
|
|
1834
1824
|
{
|
|
1835
1825
|
"kind": "javascript-module",
|
|
1836
|
-
"path": "
|
|
1826
|
+
"path": "e2e/mocks/card-basic.ts",
|
|
1837
1827
|
"declarations": [
|
|
1838
1828
|
{
|
|
1839
1829
|
"kind": "variable",
|
|
1840
|
-
"name": "
|
|
1841
|
-
"
|
|
1842
|
-
|
|
1843
|
-
|
|
1844
|
-
|
|
1845
|
-
|
|
1846
|
-
"kind": "js",
|
|
1847
|
-
"name": "templates",
|
|
1848
|
-
"declaration": {
|
|
1849
|
-
"name": "n",
|
|
1850
|
-
"module": "dist/chunks/cs.FC4I5M3C.js"
|
|
1851
|
-
}
|
|
1852
|
-
}
|
|
1853
|
-
]
|
|
1854
|
-
},
|
|
1855
|
-
{
|
|
1856
|
-
"kind": "javascript-module",
|
|
1857
|
-
"path": "dist/chunks/da.YI32NZ7B.js",
|
|
1858
|
-
"declarations": [
|
|
1830
|
+
"name": "settings",
|
|
1831
|
+
"type": {
|
|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iwiQU1FWCIsIk1BRVNUUk8iLCJVTklPTlBBWSIsIkNBUlRFU19CQU5DQUlSRVMiLCJEQU5LT1JUIiwiRElORVJTX0NMVUIiLCJESVNDT1ZFUiIsIkVOUk9VVEUiLCJFTE8iLCJISVBFUiIsIklOVEVSQUMiLCJKQ0IiLCJNSVIiLCJPVEhFUiJdfX0sImNsaWVudE9wdGlvbnMiOnsiY29udGFpbmVyIjoiI2NvbnRhaW5lciIsImNhcmQiOnsicHJlZmVycmVkRmxvdyI6IkVNQkVEREVEX0lOX0hPTUUifSwiZGlyZWN0RGViaXQiOnsiY3VzdG9tZXJDb3VudHJ5Q29kZSI6IkZSIiwiY29tcGFueU5hbWUiOiJQcmltZXIgQVBJIExURCIsImNvbXBhbnlBZGRyZXNzIjoiMTIzIEZha2UgU3QsIExvbmRvbiwgRUMyQSA4WFkifSwicmVkaXJlY3QiOnsiZm9yY2VSZWRpcmVjdCI6ZmFsc2V9LCJnb29nbGVQYXkiOnsiY2FwdHVyZUJpbGxpbmdBZGRyZXNzIjp0cnVlfX0sImFwaUNvbmZpZyI6eyJhcGlLZXkiOiJjY2VlMmJlOC1kZjA4LTRjNzktODU2ZC00MDA4NTM0OWU5ZGEiLCJhcGlWZXJzaW9uIjoiMi4yIiwiZW52IjoiQ1VTVE9NX1NUQUdJTkcifSwiaGVhZGxlc3NPcHRpb25zIjp7fSwibGl0Q29tcG9uZW50c09wdGlvbnMiOnsic2RrQ29yZSI6ZmFsc2V9fQ=='"
|
|
1835
|
+
},
|
|
1859
1836
|
{
|
|
1860
1837
|
"kind": "variable",
|
|
1861
|
-
"name": "
|
|
1862
|
-
"
|
|
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
|
+
]
|
|
1863
1907
|
}
|
|
1864
1908
|
],
|
|
1865
1909
|
"exports": [
|
|
1866
1910
|
{
|
|
1867
1911
|
"kind": "js",
|
|
1868
|
-
"name": "
|
|
1912
|
+
"name": "settings",
|
|
1869
1913
|
"declaration": {
|
|
1870
|
-
"name": "
|
|
1871
|
-
"module": "
|
|
1914
|
+
"name": "settings",
|
|
1915
|
+
"module": "e2e/mocks/card-basic.ts"
|
|
1872
1916
|
}
|
|
1873
|
-
}
|
|
1874
|
-
]
|
|
1875
|
-
},
|
|
1876
|
-
{
|
|
1877
|
-
"kind": "javascript-module",
|
|
1878
|
-
"path": "dist/chunks/de.7M7UFQB7.js",
|
|
1879
|
-
"declarations": [
|
|
1880
|
-
{
|
|
1881
|
-
"kind": "variable",
|
|
1882
|
-
"name": "t",
|
|
1883
|
-
"default": "e"
|
|
1884
|
-
}
|
|
1885
|
-
],
|
|
1886
|
-
"exports": [
|
|
1917
|
+
},
|
|
1887
1918
|
{
|
|
1888
1919
|
"kind": "js",
|
|
1889
|
-
"name": "
|
|
1920
|
+
"name": "CONFIGURATION_RESPONSE",
|
|
1890
1921
|
"declaration": {
|
|
1891
|
-
"name": "
|
|
1892
|
-
"module": "
|
|
1922
|
+
"name": "CONFIGURATION_RESPONSE",
|
|
1923
|
+
"module": "e2e/mocks/card-basic.ts"
|
|
1893
1924
|
}
|
|
1894
|
-
}
|
|
1895
|
-
]
|
|
1896
|
-
},
|
|
1897
|
-
{
|
|
1898
|
-
"kind": "javascript-module",
|
|
1899
|
-
"path": "dist/chunks/el.XSGTYDZR.js",
|
|
1900
|
-
"declarations": [
|
|
1925
|
+
},
|
|
1901
1926
|
{
|
|
1902
|
-
"kind": "
|
|
1903
|
-
"name": "
|
|
1904
|
-
"
|
|
1905
|
-
|
|
1906
|
-
|
|
1907
|
-
|
|
1927
|
+
"kind": "js",
|
|
1928
|
+
"name": "SUCCESSFUL_CARD_NUMBER",
|
|
1929
|
+
"declaration": {
|
|
1930
|
+
"name": "SUCCESSFUL_CARD_NUMBER",
|
|
1931
|
+
"module": "e2e/mocks/card-basic.ts"
|
|
1932
|
+
}
|
|
1933
|
+
},
|
|
1908
1934
|
{
|
|
1909
1935
|
"kind": "js",
|
|
1910
|
-
"name": "
|
|
1936
|
+
"name": "FAILURE_CARD_NUMBER",
|
|
1911
1937
|
"declaration": {
|
|
1912
|
-
"name": "
|
|
1913
|
-
"module": "
|
|
1938
|
+
"name": "FAILURE_CARD_NUMBER",
|
|
1939
|
+
"module": "e2e/mocks/card-basic.ts"
|
|
1914
1940
|
}
|
|
1915
|
-
}
|
|
1916
|
-
]
|
|
1917
|
-
},
|
|
1918
|
-
{
|
|
1919
|
-
"kind": "javascript-module",
|
|
1920
|
-
"path": "dist/chunks/en-GB.VO4GDE3X.js",
|
|
1921
|
-
"declarations": [
|
|
1941
|
+
},
|
|
1922
1942
|
{
|
|
1923
|
-
"kind": "
|
|
1924
|
-
"name": "
|
|
1925
|
-
"
|
|
1926
|
-
|
|
1927
|
-
|
|
1928
|
-
|
|
1943
|
+
"kind": "js",
|
|
1944
|
+
"name": "mockPaymentInstruments",
|
|
1945
|
+
"declaration": {
|
|
1946
|
+
"name": "mockPaymentInstruments",
|
|
1947
|
+
"module": "e2e/mocks/card-basic.ts"
|
|
1948
|
+
}
|
|
1949
|
+
},
|
|
1929
1950
|
{
|
|
1930
1951
|
"kind": "js",
|
|
1931
|
-
"name": "
|
|
1952
|
+
"name": "mockPayments",
|
|
1932
1953
|
"declaration": {
|
|
1933
|
-
"name": "
|
|
1934
|
-
"module": "
|
|
1954
|
+
"name": "mockPayments",
|
|
1955
|
+
"module": "e2e/mocks/card-basic.ts"
|
|
1935
1956
|
}
|
|
1936
|
-
}
|
|
1937
|
-
]
|
|
1938
|
-
},
|
|
1939
|
-
{
|
|
1940
|
-
"kind": "javascript-module",
|
|
1941
|
-
"path": "dist/chunks/en.MNFLVOE3.js",
|
|
1942
|
-
"declarations": [
|
|
1957
|
+
},
|
|
1943
1958
|
{
|
|
1944
|
-
"kind": "
|
|
1945
|
-
"name": "
|
|
1946
|
-
"
|
|
1947
|
-
|
|
1948
|
-
|
|
1949
|
-
|
|
1959
|
+
"kind": "js",
|
|
1960
|
+
"name": "mockPaymentInstrumentsFailure",
|
|
1961
|
+
"declaration": {
|
|
1962
|
+
"name": "mockPaymentInstrumentsFailure",
|
|
1963
|
+
"module": "e2e/mocks/card-basic.ts"
|
|
1964
|
+
}
|
|
1965
|
+
},
|
|
1950
1966
|
{
|
|
1951
1967
|
"kind": "js",
|
|
1952
|
-
"name": "
|
|
1968
|
+
"name": "mockPaymentsFailure",
|
|
1953
1969
|
"declaration": {
|
|
1954
|
-
"name": "
|
|
1955
|
-
"module": "
|
|
1970
|
+
"name": "mockPaymentsFailure",
|
|
1971
|
+
"module": "e2e/mocks/card-basic.ts"
|
|
1956
1972
|
}
|
|
1957
1973
|
}
|
|
1958
1974
|
]
|
|
1959
1975
|
},
|
|
1960
1976
|
{
|
|
1961
1977
|
"kind": "javascript-module",
|
|
1962
|
-
"path": "
|
|
1978
|
+
"path": "e2e/mocks/klarna.ts",
|
|
1963
1979
|
"declarations": [
|
|
1964
1980
|
{
|
|
1965
1981
|
"kind": "variable",
|
|
1966
|
-
"name": "
|
|
1967
|
-
"
|
|
1982
|
+
"name": "settings",
|
|
1983
|
+
"type": {
|
|
1984
|
+
"text": "string"
|
|
1985
|
+
},
|
|
1986
|
+
"default": "'?settings=eyJjbGllbnRTZXNzaW9uQ29uZmlnIjp7ImN1c3RvbWVySWQiOiJFdWxlciBpcyB0aGUgYmVzdCIsIm9yZGVySWQiOiI0NTg1OCIsImFtb3VudCI6NjAwLCJjdXJyZW5jeUNvZGUiOiJFVVIiLCJtZXRhZGF0YSI6eyJzY2VuYXJpbyI6IkdPT0dMRV9QQVkifSwib3J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0sImRpcmVjdERlYml0Ijp7ImN1c3RvbWVyQ291bnRyeUNvZGUiOiJGUiIsImNvbXBhbnlOYW1lIjoiUHJpbWVyIEFQSSBMVEQiLCJjb21wYW55QWRkcmVzcyI6IjEyMyBGYWtlIFN0LCBMb25kb24sIEVDMkEgOFhZIn0sInJlZGlyZWN0Ijp7ImZvcmNlUmVkaXJlY3QiOmZhbHNlfSwiZ29vZ2xlUGF5Ijp7ImNhcHR1cmVCaWxsaW5nQWRkcmVzcyI6dHJ1ZX19LCJhcGlDb25maWciOnsiYXBpS2V5IjoiMmI4NTM3YjItNDc4Yy00MzE1LTg4ZmItZjE5NTQ1MDBiNWZhIiwiYXBpVmVyc2lvbiI6IjIuMyIsImVudiI6IkNVU1RPTV9TQU5EQk9YIn0sImhlYWRsZXNzT3B0aW9ucyI6e30sImxpdENvbXBvbmVudHNPcHRpb25zIjp7InNka0NvcmUiOmZhbHNlfX0='"
|
|
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: {}, }"
|
|
1968
1995
|
}
|
|
1969
1996
|
],
|
|
1970
1997
|
"exports": [
|
|
1971
1998
|
{
|
|
1972
1999
|
"kind": "js",
|
|
1973
|
-
"name": "
|
|
2000
|
+
"name": "settings",
|
|
1974
2001
|
"declaration": {
|
|
1975
|
-
"name": "
|
|
1976
|
-
"module": "
|
|
2002
|
+
"name": "settings",
|
|
2003
|
+
"module": "e2e/mocks/klarna.ts"
|
|
2004
|
+
}
|
|
2005
|
+
},
|
|
2006
|
+
{
|
|
2007
|
+
"kind": "js",
|
|
2008
|
+
"name": "CONFIGURATION_RESPONSE",
|
|
2009
|
+
"declaration": {
|
|
2010
|
+
"name": "CONFIGURATION_RESPONSE",
|
|
2011
|
+
"module": "e2e/mocks/klarna.ts"
|
|
1977
2012
|
}
|
|
1978
2013
|
}
|
|
1979
2014
|
]
|
|
1980
2015
|
},
|
|
1981
2016
|
{
|
|
1982
2017
|
"kind": "javascript-module",
|
|
1983
|
-
"path": "
|
|
2018
|
+
"path": "e2e/mocks/shared.ts",
|
|
1984
2019
|
"declarations": [
|
|
1985
2020
|
{
|
|
1986
|
-
"kind": "
|
|
1987
|
-
"name": "
|
|
1988
|
-
"
|
|
2021
|
+
"kind": "function",
|
|
2022
|
+
"name": "mockConfigurationCallSBX",
|
|
2023
|
+
"parameters": [
|
|
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
|
+
]
|
|
1989
2055
|
}
|
|
1990
2056
|
],
|
|
1991
2057
|
"exports": [
|
|
1992
2058
|
{
|
|
1993
2059
|
"kind": "js",
|
|
1994
|
-
"name": "
|
|
2060
|
+
"name": "mockConfigurationCallSBX",
|
|
1995
2061
|
"declaration": {
|
|
1996
|
-
"name": "
|
|
1997
|
-
"module": "
|
|
2062
|
+
"name": "mockConfigurationCallSBX",
|
|
2063
|
+
"module": "e2e/mocks/shared.ts"
|
|
2064
|
+
}
|
|
2065
|
+
},
|
|
2066
|
+
{
|
|
2067
|
+
"kind": "js",
|
|
2068
|
+
"name": "mockConfigurationCallSTG",
|
|
2069
|
+
"declaration": {
|
|
2070
|
+
"name": "mockConfigurationCallSTG",
|
|
2071
|
+
"module": "e2e/mocks/shared.ts"
|
|
1998
2072
|
}
|
|
1999
2073
|
}
|
|
2000
2074
|
]
|
|
2001
2075
|
},
|
|
2002
2076
|
{
|
|
2003
2077
|
"kind": "javascript-module",
|
|
2004
|
-
"path": "
|
|
2078
|
+
"path": "e2e/mocks/vaulted-paypal.ts",
|
|
2005
2079
|
"declarations": [
|
|
2006
2080
|
{
|
|
2007
2081
|
"kind": "variable",
|
|
2008
|
-
"name": "
|
|
2009
|
-
"
|
|
2082
|
+
"name": "settings",
|
|
2083
|
+
"type": {
|
|
2084
|
+
"text": "string"
|
|
2085
|
+
},
|
|
2086
|
+
"default": "'?settings=eyJjbGllbnRTZXNzaW9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lbnRGbG93IjoiUFJFRkVSX1ZBVUxUIn0sInZhdWx0Ijp7ImVuYWJsZWQiOnRydWV9LCJzZGtDb3JlIjpmYWxzZX19'"
|
|
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
|
+
]
|
|
2010
2119
|
}
|
|
2011
2120
|
],
|
|
2012
2121
|
"exports": [
|
|
2013
2122
|
{
|
|
2014
2123
|
"kind": "js",
|
|
2015
|
-
"name": "
|
|
2124
|
+
"name": "settings",
|
|
2016
2125
|
"declaration": {
|
|
2017
|
-
"name": "
|
|
2018
|
-
"module": "
|
|
2126
|
+
"name": "settings",
|
|
2127
|
+
"module": "e2e/mocks/vaulted-paypal.ts"
|
|
2019
2128
|
}
|
|
2020
|
-
}
|
|
2021
|
-
]
|
|
2022
|
-
},
|
|
2023
|
-
{
|
|
2024
|
-
"kind": "javascript-module",
|
|
2025
|
-
"path": "dist/chunks/et-EE.JBSFMKZ2.js",
|
|
2026
|
-
"declarations": [
|
|
2129
|
+
},
|
|
2027
2130
|
{
|
|
2028
|
-
"kind": "
|
|
2029
|
-
"name": "
|
|
2030
|
-
"
|
|
2031
|
-
|
|
2032
|
-
|
|
2033
|
-
|
|
2131
|
+
"kind": "js",
|
|
2132
|
+
"name": "CONFIGURATION_RESPONSE",
|
|
2133
|
+
"declaration": {
|
|
2134
|
+
"name": "CONFIGURATION_RESPONSE",
|
|
2135
|
+
"module": "e2e/mocks/vaulted-paypal.ts"
|
|
2136
|
+
}
|
|
2137
|
+
},
|
|
2034
2138
|
{
|
|
2035
2139
|
"kind": "js",
|
|
2036
|
-
"name": "
|
|
2140
|
+
"name": "mockExchangeCall",
|
|
2037
2141
|
"declaration": {
|
|
2038
|
-
"name": "
|
|
2039
|
-
"module": "
|
|
2142
|
+
"name": "mockExchangeCall",
|
|
2143
|
+
"module": "e2e/mocks/vaulted-paypal.ts"
|
|
2144
|
+
}
|
|
2145
|
+
},
|
|
2146
|
+
{
|
|
2147
|
+
"kind": "js",
|
|
2148
|
+
"name": "mockPaymentsCall",
|
|
2149
|
+
"declaration": {
|
|
2150
|
+
"name": "mockPaymentsCall",
|
|
2151
|
+
"module": "e2e/mocks/vaulted-paypal.ts"
|
|
2040
2152
|
}
|
|
2041
2153
|
}
|
|
2042
2154
|
]
|
|
2043
2155
|
},
|
|
2044
2156
|
{
|
|
2045
2157
|
"kind": "javascript-module",
|
|
2046
|
-
"path": "
|
|
2158
|
+
"path": "e2e/tests/card-3ds.spec.ts",
|
|
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",
|
|
2047
2177
|
"declarations": [
|
|
2048
2178
|
{
|
|
2049
2179
|
"kind": "variable",
|
|
2050
|
-
"name": "
|
|
2051
|
-
"
|
|
2180
|
+
"name": "settingsEnabled",
|
|
2181
|
+
"type": {
|
|
2182
|
+
"text": "string"
|
|
2183
|
+
},
|
|
2184
|
+
"default": "'?settings=eyJjbGllbnRTZXNzaW9uQ29uZmlnIjp7ImN1c3RvbWVySWQiOiJhaXJ3YWxsZXgtY3VzdG9tZXItaWQtZGVtbyIsIm9yZGVySWQiOiIzNDc3NSIsImFtb3VudCI6MTAwMCwiY3VycmVuY3lDb2RlIjoiRVVSIiwibWV0YWRhdGEiOnsid29ya2Zsb3ciOiJhaXJ3YWxsZXgifSwib3JkZXIiOnsiY291bnRyeUNvZGUiOiJHQiIsImxpbmVJdGVtcyI6W3siaXRlbUlkIjoicHJpbWVyLWhvb2RpZS1ncmF5IiwiZGVzY3JpcHRpb24iOiJQcmltZXIgSG9vZGllIiwiYW1vdW50IjoxMDAwLCJxdWFudGl0eSI6MX1dfSwiY3VzdG9tZXIiOnt9LCJwYXltZW50TWV0aG9kIjp7InZhdWx0T25TdWNjZXNzIjpmYWxzZSwidmF1bHRPbjNEUyI6ZmFsc2UsIm9wdGlvbnMiOnsiUEFZUEFMIjp7InN1cmNoYXJnZSI6eyJhbW91bnQiOjB9fSwiUEFZTUVOVF9DQVJEIjp7Im5ldHdvcmtzIjp7IlZJU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A4NTM0OWU5ZGEiLCJhcGlWZXJzaW9uIjoiMi4yIiwiZW52IjoiQ1VTVE9NX1NUQUdJTkcifSwiaGVhZGxlc3NPcHRpb25zIjp7fSwibGl0Q29tcG9uZW50c09wdGlvbnMiOnsiZGlzYWJsZWRQYXltZW50cyI6ZmFsc2UsInNka0NvcmUiOmZhbHNlfX0='"
|
|
2052
2185
|
}
|
|
2053
2186
|
],
|
|
2054
2187
|
"exports": [
|
|
2055
2188
|
{
|
|
2056
2189
|
"kind": "js",
|
|
2057
|
-
"name": "
|
|
2190
|
+
"name": "settingsEnabled",
|
|
2058
2191
|
"declaration": {
|
|
2059
|
-
"name": "
|
|
2060
|
-
"module": "
|
|
2192
|
+
"name": "settingsEnabled",
|
|
2193
|
+
"module": "e2e/tests/disabled-payments.spec.ts"
|
|
2061
2194
|
}
|
|
2062
2195
|
}
|
|
2063
2196
|
]
|
|
2064
2197
|
},
|
|
2065
2198
|
{
|
|
2066
2199
|
"kind": "javascript-module",
|
|
2067
|
-
"path": "
|
|
2068
|
-
"declarations": [
|
|
2069
|
-
|
|
2070
|
-
"kind": "variable",
|
|
2071
|
-
"name": "i",
|
|
2072
|
-
"default": "e"
|
|
2073
|
-
}
|
|
2074
|
-
],
|
|
2075
|
-
"exports": [
|
|
2076
|
-
{
|
|
2077
|
-
"kind": "js",
|
|
2078
|
-
"name": "templates",
|
|
2079
|
-
"declaration": {
|
|
2080
|
-
"name": "i",
|
|
2081
|
-
"module": "dist/chunks/fr.JBNP6RXT.js"
|
|
2082
|
-
}
|
|
2083
|
-
}
|
|
2084
|
-
]
|
|
2200
|
+
"path": "e2e/tests/klarna.spec.ts",
|
|
2201
|
+
"declarations": [],
|
|
2202
|
+
"exports": []
|
|
2085
2203
|
},
|
|
2086
2204
|
{
|
|
2087
2205
|
"kind": "javascript-module",
|
|
2088
|
-
"path": "
|
|
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",
|
|
2089
2213
|
"declarations": [
|
|
2090
2214
|
{
|
|
2091
2215
|
"kind": "variable",
|
|
@@ -2099,18 +2223,18 @@
|
|
|
2099
2223
|
"name": "templates",
|
|
2100
2224
|
"declaration": {
|
|
2101
2225
|
"name": "o",
|
|
2102
|
-
"module": "dist/chunks/
|
|
2226
|
+
"module": "dist/chunks/ar.KRXB3WQO.js"
|
|
2103
2227
|
}
|
|
2104
2228
|
}
|
|
2105
2229
|
]
|
|
2106
2230
|
},
|
|
2107
2231
|
{
|
|
2108
2232
|
"kind": "javascript-module",
|
|
2109
|
-
"path": "dist/chunks/
|
|
2233
|
+
"path": "dist/chunks/bg.6SKJRXIR.js",
|
|
2110
2234
|
"declarations": [
|
|
2111
2235
|
{
|
|
2112
2236
|
"kind": "variable",
|
|
2113
|
-
"name": "
|
|
2237
|
+
"name": "o",
|
|
2114
2238
|
"default": "e"
|
|
2115
2239
|
}
|
|
2116
2240
|
],
|
|
@@ -2119,19 +2243,19 @@
|
|
|
2119
2243
|
"kind": "js",
|
|
2120
2244
|
"name": "templates",
|
|
2121
2245
|
"declaration": {
|
|
2122
|
-
"name": "
|
|
2123
|
-
"module": "dist/chunks/
|
|
2246
|
+
"name": "o",
|
|
2247
|
+
"module": "dist/chunks/bg.6SKJRXIR.js"
|
|
2124
2248
|
}
|
|
2125
2249
|
}
|
|
2126
2250
|
]
|
|
2127
2251
|
},
|
|
2128
2252
|
{
|
|
2129
2253
|
"kind": "javascript-module",
|
|
2130
|
-
"path": "dist/chunks/
|
|
2254
|
+
"path": "dist/chunks/ca.SANDLFEK.js",
|
|
2131
2255
|
"declarations": [
|
|
2132
2256
|
{
|
|
2133
2257
|
"kind": "variable",
|
|
2134
|
-
"name": "
|
|
2258
|
+
"name": "i",
|
|
2135
2259
|
"default": "e"
|
|
2136
2260
|
}
|
|
2137
2261
|
],
|
|
@@ -2140,125 +2264,123 @@
|
|
|
2140
2264
|
"kind": "js",
|
|
2141
2265
|
"name": "templates",
|
|
2142
2266
|
"declaration": {
|
|
2143
|
-
"name": "
|
|
2144
|
-
"module": "dist/chunks/
|
|
2267
|
+
"name": "i",
|
|
2268
|
+
"module": "dist/chunks/ca.SANDLFEK.js"
|
|
2145
2269
|
}
|
|
2146
2270
|
}
|
|
2147
2271
|
]
|
|
2148
2272
|
},
|
|
2149
2273
|
{
|
|
2150
2274
|
"kind": "javascript-module",
|
|
2151
|
-
"path": "dist/chunks/
|
|
2275
|
+
"path": "dist/chunks/chunk.DV3REKZU.js",
|
|
2152
2276
|
"declarations": [
|
|
2277
|
+
{
|
|
2278
|
+
"kind": "function",
|
|
2279
|
+
"name": "k",
|
|
2280
|
+
"parameters": [
|
|
2281
|
+
{
|
|
2282
|
+
"name": "c"
|
|
2283
|
+
}
|
|
2284
|
+
]
|
|
2285
|
+
},
|
|
2153
2286
|
{
|
|
2154
2287
|
"kind": "variable",
|
|
2155
|
-
"name": "
|
|
2156
|
-
"default": "a"
|
|
2157
|
-
}
|
|
2158
|
-
],
|
|
2159
|
-
"exports": [
|
|
2288
|
+
"name": "b",
|
|
2289
|
+
"default": "c[a]"
|
|
2290
|
+
},
|
|
2160
2291
|
{
|
|
2161
|
-
"kind": "
|
|
2162
|
-
"name": "
|
|
2163
|
-
"
|
|
2164
|
-
|
|
2165
|
-
|
|
2166
|
-
|
|
2167
|
-
|
|
2168
|
-
|
|
2169
|
-
|
|
2170
|
-
|
|
2171
|
-
|
|
2172
|
-
|
|
2173
|
-
|
|
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
|
+
},
|
|
2174
2309
|
{
|
|
2175
|
-
"kind": "
|
|
2176
|
-
"name": "
|
|
2177
|
-
"
|
|
2310
|
+
"kind": "function",
|
|
2311
|
+
"name": "m",
|
|
2312
|
+
"parameters": [
|
|
2313
|
+
{
|
|
2314
|
+
"name": "c"
|
|
2315
|
+
},
|
|
2316
|
+
{
|
|
2317
|
+
"name": "a"
|
|
2318
|
+
},
|
|
2319
|
+
{
|
|
2320
|
+
"name": "b"
|
|
2321
|
+
}
|
|
2322
|
+
]
|
|
2178
2323
|
}
|
|
2179
2324
|
],
|
|
2180
2325
|
"exports": [
|
|
2181
2326
|
{
|
|
2182
2327
|
"kind": "js",
|
|
2183
|
-
"name": "
|
|
2328
|
+
"name": "a",
|
|
2184
2329
|
"declaration": {
|
|
2185
|
-
"name": "
|
|
2186
|
-
"module": "dist/chunks/
|
|
2330
|
+
"name": "k",
|
|
2331
|
+
"module": "dist/chunks/chunk.DV3REKZU.js"
|
|
2187
2332
|
}
|
|
2188
|
-
}
|
|
2189
|
-
]
|
|
2190
|
-
},
|
|
2191
|
-
{
|
|
2192
|
-
"kind": "javascript-module",
|
|
2193
|
-
"path": "dist/chunks/ja.QOC76SSC.js",
|
|
2194
|
-
"declarations": [
|
|
2195
|
-
{
|
|
2196
|
-
"kind": "variable",
|
|
2197
|
-
"name": "o",
|
|
2198
|
-
"default": "e"
|
|
2199
|
-
}
|
|
2200
|
-
],
|
|
2201
|
-
"exports": [
|
|
2333
|
+
},
|
|
2202
2334
|
{
|
|
2203
2335
|
"kind": "js",
|
|
2204
|
-
"name": "
|
|
2336
|
+
"name": "b",
|
|
2205
2337
|
"declaration": {
|
|
2206
|
-
"name": "
|
|
2207
|
-
"module": "dist/chunks/
|
|
2338
|
+
"name": "l",
|
|
2339
|
+
"module": "dist/chunks/chunk.DV3REKZU.js"
|
|
2208
2340
|
}
|
|
2209
|
-
}
|
|
2210
|
-
]
|
|
2211
|
-
},
|
|
2212
|
-
{
|
|
2213
|
-
"kind": "javascript-module",
|
|
2214
|
-
"path": "dist/chunks/ko.BANZIFNH.js",
|
|
2215
|
-
"declarations": [
|
|
2216
|
-
{
|
|
2217
|
-
"kind": "variable",
|
|
2218
|
-
"name": "o",
|
|
2219
|
-
"default": "e"
|
|
2220
|
-
}
|
|
2221
|
-
],
|
|
2222
|
-
"exports": [
|
|
2341
|
+
},
|
|
2223
2342
|
{
|
|
2224
2343
|
"kind": "js",
|
|
2225
|
-
"name": "
|
|
2344
|
+
"name": "c",
|
|
2226
2345
|
"declaration": {
|
|
2227
|
-
"name": "
|
|
2228
|
-
"module": "dist/chunks/
|
|
2346
|
+
"name": "m",
|
|
2347
|
+
"module": "dist/chunks/chunk.DV3REKZU.js"
|
|
2229
2348
|
}
|
|
2230
2349
|
}
|
|
2231
2350
|
]
|
|
2232
2351
|
},
|
|
2233
2352
|
{
|
|
2234
2353
|
"kind": "javascript-module",
|
|
2235
|
-
"path": "dist/chunks/
|
|
2354
|
+
"path": "dist/chunks/chunk.QMLIEEKM.js",
|
|
2236
2355
|
"declarations": [
|
|
2237
2356
|
{
|
|
2238
2357
|
"kind": "variable",
|
|
2239
2358
|
"name": "t",
|
|
2240
|
-
"
|
|
2359
|
+
"type": {
|
|
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\"}"
|
|
2241
2363
|
}
|
|
2242
2364
|
],
|
|
2243
2365
|
"exports": [
|
|
2244
2366
|
{
|
|
2245
2367
|
"kind": "js",
|
|
2246
|
-
"name": "
|
|
2368
|
+
"name": "a",
|
|
2247
2369
|
"declaration": {
|
|
2248
2370
|
"name": "t",
|
|
2249
|
-
"module": "dist/chunks/
|
|
2371
|
+
"module": "dist/chunks/chunk.QMLIEEKM.js"
|
|
2250
2372
|
}
|
|
2251
2373
|
}
|
|
2252
2374
|
]
|
|
2253
2375
|
},
|
|
2254
2376
|
{
|
|
2255
2377
|
"kind": "javascript-module",
|
|
2256
|
-
"path": "dist/chunks/
|
|
2378
|
+
"path": "dist/chunks/cs.FC4I5M3C.js",
|
|
2257
2379
|
"declarations": [
|
|
2258
2380
|
{
|
|
2259
2381
|
"kind": "variable",
|
|
2260
|
-
"name": "
|
|
2261
|
-
"default": "
|
|
2382
|
+
"name": "n",
|
|
2383
|
+
"default": "e"
|
|
2262
2384
|
}
|
|
2263
2385
|
],
|
|
2264
2386
|
"exports": [
|
|
@@ -2266,20 +2388,20 @@
|
|
|
2266
2388
|
"kind": "js",
|
|
2267
2389
|
"name": "templates",
|
|
2268
2390
|
"declaration": {
|
|
2269
|
-
"name": "
|
|
2270
|
-
"module": "dist/chunks/
|
|
2391
|
+
"name": "n",
|
|
2392
|
+
"module": "dist/chunks/cs.FC4I5M3C.js"
|
|
2271
2393
|
}
|
|
2272
2394
|
}
|
|
2273
2395
|
]
|
|
2274
2396
|
},
|
|
2275
2397
|
{
|
|
2276
2398
|
"kind": "javascript-module",
|
|
2277
|
-
"path": "dist/chunks/
|
|
2399
|
+
"path": "dist/chunks/da.YI32NZ7B.js",
|
|
2278
2400
|
"declarations": [
|
|
2279
2401
|
{
|
|
2280
2402
|
"kind": "variable",
|
|
2281
|
-
"name": "
|
|
2282
|
-
"default": "
|
|
2403
|
+
"name": "a",
|
|
2404
|
+
"default": "e"
|
|
2283
2405
|
}
|
|
2284
2406
|
],
|
|
2285
2407
|
"exports": [
|
|
@@ -2287,20 +2409,20 @@
|
|
|
2287
2409
|
"kind": "js",
|
|
2288
2410
|
"name": "templates",
|
|
2289
2411
|
"declaration": {
|
|
2290
|
-
"name": "
|
|
2291
|
-
"module": "dist/chunks/
|
|
2412
|
+
"name": "a",
|
|
2413
|
+
"module": "dist/chunks/da.YI32NZ7B.js"
|
|
2292
2414
|
}
|
|
2293
2415
|
}
|
|
2294
2416
|
]
|
|
2295
2417
|
},
|
|
2296
2418
|
{
|
|
2297
2419
|
"kind": "javascript-module",
|
|
2298
|
-
"path": "dist/chunks/
|
|
2420
|
+
"path": "dist/chunks/de.7M7UFQB7.js",
|
|
2299
2421
|
"declarations": [
|
|
2300
2422
|
{
|
|
2301
2423
|
"kind": "variable",
|
|
2302
2424
|
"name": "t",
|
|
2303
|
-
"default": "
|
|
2425
|
+
"default": "e"
|
|
2304
2426
|
}
|
|
2305
2427
|
],
|
|
2306
2428
|
"exports": [
|
|
@@ -2309,39 +2431,18 @@
|
|
|
2309
2431
|
"name": "templates",
|
|
2310
2432
|
"declaration": {
|
|
2311
2433
|
"name": "t",
|
|
2312
|
-
"module": "dist/chunks/
|
|
2313
|
-
}
|
|
2314
|
-
}
|
|
2315
|
-
]
|
|
2316
|
-
},
|
|
2317
|
-
{
|
|
2318
|
-
"kind": "javascript-module",
|
|
2319
|
-
"path": "dist/chunks/ms.FPTX4NM4.js",
|
|
2320
|
-
"declarations": [
|
|
2321
|
-
{
|
|
2322
|
-
"kind": "variable",
|
|
2323
|
-
"name": "i",
|
|
2324
|
-
"default": "a"
|
|
2325
|
-
}
|
|
2326
|
-
],
|
|
2327
|
-
"exports": [
|
|
2328
|
-
{
|
|
2329
|
-
"kind": "js",
|
|
2330
|
-
"name": "templates",
|
|
2331
|
-
"declaration": {
|
|
2332
|
-
"name": "i",
|
|
2333
|
-
"module": "dist/chunks/ms.FPTX4NM4.js"
|
|
2434
|
+
"module": "dist/chunks/de.7M7UFQB7.js"
|
|
2334
2435
|
}
|
|
2335
2436
|
}
|
|
2336
2437
|
]
|
|
2337
2438
|
},
|
|
2338
2439
|
{
|
|
2339
2440
|
"kind": "javascript-module",
|
|
2340
|
-
"path": "dist/chunks/
|
|
2441
|
+
"path": "dist/chunks/el.XSGTYDZR.js",
|
|
2341
2442
|
"declarations": [
|
|
2342
2443
|
{
|
|
2343
2444
|
"kind": "variable",
|
|
2344
|
-
"name": "
|
|
2445
|
+
"name": "o",
|
|
2345
2446
|
"default": "e"
|
|
2346
2447
|
}
|
|
2347
2448
|
],
|
|
@@ -2350,20 +2451,20 @@
|
|
|
2350
2451
|
"kind": "js",
|
|
2351
2452
|
"name": "templates",
|
|
2352
2453
|
"declaration": {
|
|
2353
|
-
"name": "
|
|
2354
|
-
"module": "dist/chunks/
|
|
2454
|
+
"name": "o",
|
|
2455
|
+
"module": "dist/chunks/el.XSGTYDZR.js"
|
|
2355
2456
|
}
|
|
2356
2457
|
}
|
|
2357
2458
|
]
|
|
2358
2459
|
},
|
|
2359
2460
|
{
|
|
2360
2461
|
"kind": "javascript-module",
|
|
2361
|
-
"path": "dist/chunks/
|
|
2462
|
+
"path": "dist/chunks/en-GB.VO4GDE3X.js",
|
|
2362
2463
|
"declarations": [
|
|
2363
2464
|
{
|
|
2364
2465
|
"kind": "variable",
|
|
2365
|
-
"name": "
|
|
2366
|
-
"default": "
|
|
2466
|
+
"name": "o",
|
|
2467
|
+
"default": "t"
|
|
2367
2468
|
}
|
|
2368
2469
|
],
|
|
2369
2470
|
"exports": [
|
|
@@ -2371,20 +2472,20 @@
|
|
|
2371
2472
|
"kind": "js",
|
|
2372
2473
|
"name": "templates",
|
|
2373
2474
|
"declaration": {
|
|
2374
|
-
"name": "
|
|
2375
|
-
"module": "dist/chunks/
|
|
2475
|
+
"name": "o",
|
|
2476
|
+
"module": "dist/chunks/en-GB.VO4GDE3X.js"
|
|
2376
2477
|
}
|
|
2377
2478
|
}
|
|
2378
2479
|
]
|
|
2379
2480
|
},
|
|
2380
2481
|
{
|
|
2381
2482
|
"kind": "javascript-module",
|
|
2382
|
-
"path": "dist/chunks/
|
|
2483
|
+
"path": "dist/chunks/en.MNFLVOE3.js",
|
|
2383
2484
|
"declarations": [
|
|
2384
2485
|
{
|
|
2385
|
-
"kind": "variable",
|
|
2386
|
-
"name": "
|
|
2387
|
-
"default": "
|
|
2486
|
+
"kind": "variable",
|
|
2487
|
+
"name": "o",
|
|
2488
|
+
"default": "t"
|
|
2388
2489
|
}
|
|
2389
2490
|
],
|
|
2390
2491
|
"exports": [
|
|
@@ -2392,20 +2493,20 @@
|
|
|
2392
2493
|
"kind": "js",
|
|
2393
2494
|
"name": "templates",
|
|
2394
2495
|
"declaration": {
|
|
2395
|
-
"name": "
|
|
2396
|
-
"module": "dist/chunks/
|
|
2496
|
+
"name": "o",
|
|
2497
|
+
"module": "dist/chunks/en.MNFLVOE3.js"
|
|
2397
2498
|
}
|
|
2398
2499
|
}
|
|
2399
2500
|
]
|
|
2400
2501
|
},
|
|
2401
2502
|
{
|
|
2402
2503
|
"kind": "javascript-module",
|
|
2403
|
-
"path": "dist/chunks/
|
|
2504
|
+
"path": "dist/chunks/es-AR.TBWVUZEF.js",
|
|
2404
2505
|
"declarations": [
|
|
2405
2506
|
{
|
|
2406
2507
|
"kind": "variable",
|
|
2407
2508
|
"name": "i",
|
|
2408
|
-
"default": "
|
|
2509
|
+
"default": "e"
|
|
2409
2510
|
}
|
|
2410
2511
|
],
|
|
2411
2512
|
"exports": [
|
|
@@ -2414,18 +2515,18 @@
|
|
|
2414
2515
|
"name": "templates",
|
|
2415
2516
|
"declaration": {
|
|
2416
2517
|
"name": "i",
|
|
2417
|
-
"module": "dist/chunks/
|
|
2518
|
+
"module": "dist/chunks/es-AR.TBWVUZEF.js"
|
|
2418
2519
|
}
|
|
2419
2520
|
}
|
|
2420
2521
|
]
|
|
2421
2522
|
},
|
|
2422
2523
|
{
|
|
2423
2524
|
"kind": "javascript-module",
|
|
2424
|
-
"path": "dist/chunks/
|
|
2525
|
+
"path": "dist/chunks/es-MX.6EMWUABR.js",
|
|
2425
2526
|
"declarations": [
|
|
2426
2527
|
{
|
|
2427
2528
|
"kind": "variable",
|
|
2428
|
-
"name": "
|
|
2529
|
+
"name": "i",
|
|
2429
2530
|
"default": "e"
|
|
2430
2531
|
}
|
|
2431
2532
|
],
|
|
@@ -2434,19 +2535,19 @@
|
|
|
2434
2535
|
"kind": "js",
|
|
2435
2536
|
"name": "templates",
|
|
2436
2537
|
"declaration": {
|
|
2437
|
-
"name": "
|
|
2438
|
-
"module": "dist/chunks/
|
|
2538
|
+
"name": "i",
|
|
2539
|
+
"module": "dist/chunks/es-MX.6EMWUABR.js"
|
|
2439
2540
|
}
|
|
2440
2541
|
}
|
|
2441
2542
|
]
|
|
2442
2543
|
},
|
|
2443
2544
|
{
|
|
2444
2545
|
"kind": "javascript-module",
|
|
2445
|
-
"path": "dist/chunks/
|
|
2546
|
+
"path": "dist/chunks/es.XZLDFHYI.js",
|
|
2446
2547
|
"declarations": [
|
|
2447
2548
|
{
|
|
2448
2549
|
"kind": "variable",
|
|
2449
|
-
"name": "
|
|
2550
|
+
"name": "i",
|
|
2450
2551
|
"default": "e"
|
|
2451
2552
|
}
|
|
2452
2553
|
],
|
|
@@ -2455,19 +2556,19 @@
|
|
|
2455
2556
|
"kind": "js",
|
|
2456
2557
|
"name": "templates",
|
|
2457
2558
|
"declaration": {
|
|
2458
|
-
"name": "
|
|
2459
|
-
"module": "dist/chunks/
|
|
2559
|
+
"name": "i",
|
|
2560
|
+
"module": "dist/chunks/es.XZLDFHYI.js"
|
|
2460
2561
|
}
|
|
2461
2562
|
}
|
|
2462
2563
|
]
|
|
2463
2564
|
},
|
|
2464
2565
|
{
|
|
2465
2566
|
"kind": "javascript-module",
|
|
2466
|
-
"path": "dist/chunks/
|
|
2567
|
+
"path": "dist/chunks/et-EE.JBSFMKZ2.js",
|
|
2467
2568
|
"declarations": [
|
|
2468
2569
|
{
|
|
2469
2570
|
"kind": "variable",
|
|
2470
|
-
"name": "
|
|
2571
|
+
"name": "r",
|
|
2471
2572
|
"default": "e"
|
|
2472
2573
|
}
|
|
2473
2574
|
],
|
|
@@ -2476,20 +2577,20 @@
|
|
|
2476
2577
|
"kind": "js",
|
|
2477
2578
|
"name": "templates",
|
|
2478
2579
|
"declaration": {
|
|
2479
|
-
"name": "
|
|
2480
|
-
"module": "dist/chunks/
|
|
2580
|
+
"name": "r",
|
|
2581
|
+
"module": "dist/chunks/et-EE.JBSFMKZ2.js"
|
|
2481
2582
|
}
|
|
2482
2583
|
}
|
|
2483
2584
|
]
|
|
2484
2585
|
},
|
|
2485
2586
|
{
|
|
2486
2587
|
"kind": "javascript-module",
|
|
2487
|
-
"path": "dist/chunks/
|
|
2588
|
+
"path": "dist/chunks/fi-FI.I75VK2ID.js",
|
|
2488
2589
|
"declarations": [
|
|
2489
2590
|
{
|
|
2490
2591
|
"kind": "variable",
|
|
2491
|
-
"name": "
|
|
2492
|
-
"default": "
|
|
2592
|
+
"name": "n",
|
|
2593
|
+
"default": "a"
|
|
2493
2594
|
}
|
|
2494
2595
|
],
|
|
2495
2596
|
"exports": [
|
|
@@ -2497,19 +2598,19 @@
|
|
|
2497
2598
|
"kind": "js",
|
|
2498
2599
|
"name": "templates",
|
|
2499
2600
|
"declaration": {
|
|
2500
|
-
"name": "
|
|
2501
|
-
"module": "dist/chunks/
|
|
2601
|
+
"name": "n",
|
|
2602
|
+
"module": "dist/chunks/fi-FI.I75VK2ID.js"
|
|
2502
2603
|
}
|
|
2503
2604
|
}
|
|
2504
2605
|
]
|
|
2505
2606
|
},
|
|
2506
2607
|
{
|
|
2507
2608
|
"kind": "javascript-module",
|
|
2508
|
-
"path": "dist/chunks/
|
|
2609
|
+
"path": "dist/chunks/fr.JBNP6RXT.js",
|
|
2509
2610
|
"declarations": [
|
|
2510
2611
|
{
|
|
2511
2612
|
"kind": "variable",
|
|
2512
|
-
"name": "
|
|
2613
|
+
"name": "i",
|
|
2513
2614
|
"default": "e"
|
|
2514
2615
|
}
|
|
2515
2616
|
],
|
|
@@ -2518,19 +2619,19 @@
|
|
|
2518
2619
|
"kind": "js",
|
|
2519
2620
|
"name": "templates",
|
|
2520
2621
|
"declaration": {
|
|
2521
|
-
"name": "
|
|
2522
|
-
"module": "dist/chunks/
|
|
2622
|
+
"name": "i",
|
|
2623
|
+
"module": "dist/chunks/fr.JBNP6RXT.js"
|
|
2523
2624
|
}
|
|
2524
2625
|
}
|
|
2525
2626
|
]
|
|
2526
2627
|
},
|
|
2527
2628
|
{
|
|
2528
2629
|
"kind": "javascript-module",
|
|
2529
|
-
"path": "dist/chunks/
|
|
2630
|
+
"path": "dist/chunks/he.PW253QAL.js",
|
|
2530
2631
|
"declarations": [
|
|
2531
2632
|
{
|
|
2532
2633
|
"kind": "variable",
|
|
2533
|
-
"name": "
|
|
2634
|
+
"name": "o",
|
|
2534
2635
|
"default": "e"
|
|
2535
2636
|
}
|
|
2536
2637
|
],
|
|
@@ -2539,19 +2640,19 @@
|
|
|
2539
2640
|
"kind": "js",
|
|
2540
2641
|
"name": "templates",
|
|
2541
2642
|
"declaration": {
|
|
2542
|
-
"name": "
|
|
2543
|
-
"module": "dist/chunks/
|
|
2643
|
+
"name": "o",
|
|
2644
|
+
"module": "dist/chunks/he.PW253QAL.js"
|
|
2544
2645
|
}
|
|
2545
2646
|
}
|
|
2546
2647
|
]
|
|
2547
2648
|
},
|
|
2548
2649
|
{
|
|
2549
2650
|
"kind": "javascript-module",
|
|
2550
|
-
"path": "dist/chunks/
|
|
2651
|
+
"path": "dist/chunks/hr.LM4RITYJ.js",
|
|
2551
2652
|
"declarations": [
|
|
2552
2653
|
{
|
|
2553
2654
|
"kind": "variable",
|
|
2554
|
-
"name": "
|
|
2655
|
+
"name": "t",
|
|
2555
2656
|
"default": "e"
|
|
2556
2657
|
}
|
|
2557
2658
|
],
|
|
@@ -2560,19 +2661,19 @@
|
|
|
2560
2661
|
"kind": "js",
|
|
2561
2662
|
"name": "templates",
|
|
2562
2663
|
"declaration": {
|
|
2563
|
-
"name": "
|
|
2564
|
-
"module": "dist/chunks/
|
|
2664
|
+
"name": "t",
|
|
2665
|
+
"module": "dist/chunks/hr.LM4RITYJ.js"
|
|
2565
2666
|
}
|
|
2566
2667
|
}
|
|
2567
2668
|
]
|
|
2568
2669
|
},
|
|
2569
2670
|
{
|
|
2570
2671
|
"kind": "javascript-module",
|
|
2571
|
-
"path": "dist/chunks/
|
|
2672
|
+
"path": "dist/chunks/hu.JGCKQA6J.js",
|
|
2572
2673
|
"declarations": [
|
|
2573
2674
|
{
|
|
2574
2675
|
"kind": "variable",
|
|
2575
|
-
"name": "
|
|
2676
|
+
"name": "s",
|
|
2576
2677
|
"default": "e"
|
|
2577
2678
|
}
|
|
2578
2679
|
],
|
|
@@ -2581,20 +2682,20 @@
|
|
|
2581
2682
|
"kind": "js",
|
|
2582
2683
|
"name": "templates",
|
|
2583
2684
|
"declaration": {
|
|
2584
|
-
"name": "
|
|
2585
|
-
"module": "dist/chunks/
|
|
2685
|
+
"name": "s",
|
|
2686
|
+
"module": "dist/chunks/hu.JGCKQA6J.js"
|
|
2586
2687
|
}
|
|
2587
2688
|
}
|
|
2588
2689
|
]
|
|
2589
2690
|
},
|
|
2590
2691
|
{
|
|
2591
2692
|
"kind": "javascript-module",
|
|
2592
|
-
"path": "dist/chunks/
|
|
2693
|
+
"path": "dist/chunks/id.VBXULDDY.js",
|
|
2593
2694
|
"declarations": [
|
|
2594
2695
|
{
|
|
2595
2696
|
"kind": "variable",
|
|
2596
|
-
"name": "
|
|
2597
|
-
"default": "
|
|
2697
|
+
"name": "r",
|
|
2698
|
+
"default": "a"
|
|
2598
2699
|
}
|
|
2599
2700
|
],
|
|
2600
2701
|
"exports": [
|
|
@@ -2602,19 +2703,19 @@
|
|
|
2602
2703
|
"kind": "js",
|
|
2603
2704
|
"name": "templates",
|
|
2604
2705
|
"declaration": {
|
|
2605
|
-
"name": "
|
|
2606
|
-
"module": "dist/chunks/
|
|
2706
|
+
"name": "r",
|
|
2707
|
+
"module": "dist/chunks/id.VBXULDDY.js"
|
|
2607
2708
|
}
|
|
2608
2709
|
}
|
|
2609
2710
|
]
|
|
2610
2711
|
},
|
|
2611
2712
|
{
|
|
2612
2713
|
"kind": "javascript-module",
|
|
2613
|
-
"path": "dist/chunks/
|
|
2714
|
+
"path": "dist/chunks/it.7Q6BFLDK.js",
|
|
2614
2715
|
"declarations": [
|
|
2615
2716
|
{
|
|
2616
2717
|
"kind": "variable",
|
|
2617
|
-
"name": "
|
|
2718
|
+
"name": "r",
|
|
2618
2719
|
"default": "e"
|
|
2619
2720
|
}
|
|
2620
2721
|
],
|
|
@@ -2623,15 +2724,15 @@
|
|
|
2623
2724
|
"kind": "js",
|
|
2624
2725
|
"name": "templates",
|
|
2625
2726
|
"declaration": {
|
|
2626
|
-
"name": "
|
|
2627
|
-
"module": "dist/chunks/
|
|
2727
|
+
"name": "r",
|
|
2728
|
+
"module": "dist/chunks/it.7Q6BFLDK.js"
|
|
2628
2729
|
}
|
|
2629
2730
|
}
|
|
2630
2731
|
]
|
|
2631
2732
|
},
|
|
2632
2733
|
{
|
|
2633
2734
|
"kind": "javascript-module",
|
|
2634
|
-
"path": "dist/chunks/
|
|
2735
|
+
"path": "dist/chunks/ja.QOC76SSC.js",
|
|
2635
2736
|
"declarations": [
|
|
2636
2737
|
{
|
|
2637
2738
|
"kind": "variable",
|
|
@@ -2645,19 +2746,19 @@
|
|
|
2645
2746
|
"name": "templates",
|
|
2646
2747
|
"declaration": {
|
|
2647
2748
|
"name": "o",
|
|
2648
|
-
"module": "dist/chunks/
|
|
2749
|
+
"module": "dist/chunks/ja.QOC76SSC.js"
|
|
2649
2750
|
}
|
|
2650
2751
|
}
|
|
2651
2752
|
]
|
|
2652
2753
|
},
|
|
2653
2754
|
{
|
|
2654
2755
|
"kind": "javascript-module",
|
|
2655
|
-
"path": "dist/chunks/
|
|
2756
|
+
"path": "dist/chunks/ko.BANZIFNH.js",
|
|
2656
2757
|
"declarations": [
|
|
2657
2758
|
{
|
|
2658
2759
|
"kind": "variable",
|
|
2659
|
-
"name": "
|
|
2660
|
-
"default": "
|
|
2760
|
+
"name": "o",
|
|
2761
|
+
"default": "e"
|
|
2661
2762
|
}
|
|
2662
2763
|
],
|
|
2663
2764
|
"exports": [
|
|
@@ -2665,20 +2766,20 @@
|
|
|
2665
2766
|
"kind": "js",
|
|
2666
2767
|
"name": "templates",
|
|
2667
2768
|
"declaration": {
|
|
2668
|
-
"name": "
|
|
2669
|
-
"module": "dist/chunks/
|
|
2769
|
+
"name": "o",
|
|
2770
|
+
"module": "dist/chunks/ko.BANZIFNH.js"
|
|
2670
2771
|
}
|
|
2671
2772
|
}
|
|
2672
2773
|
]
|
|
2673
2774
|
},
|
|
2674
2775
|
{
|
|
2675
2776
|
"kind": "javascript-module",
|
|
2676
|
-
"path": "dist/chunks/
|
|
2777
|
+
"path": "dist/chunks/lt-LT.Q2SRJOKH.js",
|
|
2677
2778
|
"declarations": [
|
|
2678
2779
|
{
|
|
2679
2780
|
"kind": "variable",
|
|
2680
|
-
"name": "
|
|
2681
|
-
"default": "
|
|
2781
|
+
"name": "t",
|
|
2782
|
+
"default": "a"
|
|
2682
2783
|
}
|
|
2683
2784
|
],
|
|
2684
2785
|
"exports": [
|
|
@@ -2686,20 +2787,20 @@
|
|
|
2686
2787
|
"kind": "js",
|
|
2687
2788
|
"name": "templates",
|
|
2688
2789
|
"declaration": {
|
|
2689
|
-
"name": "
|
|
2690
|
-
"module": "dist/chunks/
|
|
2790
|
+
"name": "t",
|
|
2791
|
+
"module": "dist/chunks/lt-LT.Q2SRJOKH.js"
|
|
2691
2792
|
}
|
|
2692
2793
|
}
|
|
2693
2794
|
]
|
|
2694
2795
|
},
|
|
2695
2796
|
{
|
|
2696
2797
|
"kind": "javascript-module",
|
|
2697
|
-
"path": "dist/chunks/
|
|
2798
|
+
"path": "dist/chunks/lt.XMNFEN5T.js",
|
|
2698
2799
|
"declarations": [
|
|
2699
2800
|
{
|
|
2700
2801
|
"kind": "variable",
|
|
2701
2802
|
"name": "o",
|
|
2702
|
-
"default": "
|
|
2803
|
+
"default": "a"
|
|
2703
2804
|
}
|
|
2704
2805
|
],
|
|
2705
2806
|
"exports": [
|
|
@@ -2708,19 +2809,19 @@
|
|
|
2708
2809
|
"name": "templates",
|
|
2709
2810
|
"declaration": {
|
|
2710
2811
|
"name": "o",
|
|
2711
|
-
"module": "dist/chunks/
|
|
2812
|
+
"module": "dist/chunks/lt.XMNFEN5T.js"
|
|
2712
2813
|
}
|
|
2713
2814
|
}
|
|
2714
2815
|
]
|
|
2715
2816
|
},
|
|
2716
2817
|
{
|
|
2717
2818
|
"kind": "javascript-module",
|
|
2718
|
-
"path": "dist/chunks/
|
|
2819
|
+
"path": "dist/chunks/lv-LV.3AJDTMU5.js",
|
|
2719
2820
|
"declarations": [
|
|
2720
2821
|
{
|
|
2721
2822
|
"kind": "variable",
|
|
2722
|
-
"name": "
|
|
2723
|
-
"default": "
|
|
2823
|
+
"name": "t",
|
|
2824
|
+
"default": "a"
|
|
2724
2825
|
}
|
|
2725
2826
|
],
|
|
2726
2827
|
"exports": [
|
|
@@ -2728,20 +2829,20 @@
|
|
|
2728
2829
|
"kind": "js",
|
|
2729
2830
|
"name": "templates",
|
|
2730
2831
|
"declaration": {
|
|
2731
|
-
"name": "
|
|
2732
|
-
"module": "dist/chunks/
|
|
2832
|
+
"name": "t",
|
|
2833
|
+
"module": "dist/chunks/lv-LV.3AJDTMU5.js"
|
|
2733
2834
|
}
|
|
2734
2835
|
}
|
|
2735
2836
|
]
|
|
2736
2837
|
},
|
|
2737
2838
|
{
|
|
2738
2839
|
"kind": "javascript-module",
|
|
2739
|
-
"path": "dist/chunks/
|
|
2840
|
+
"path": "dist/chunks/lv.TFPDXNEV.js",
|
|
2740
2841
|
"declarations": [
|
|
2741
2842
|
{
|
|
2742
2843
|
"kind": "variable",
|
|
2743
|
-
"name": "
|
|
2744
|
-
"default": "
|
|
2844
|
+
"name": "t",
|
|
2845
|
+
"default": "a"
|
|
2745
2846
|
}
|
|
2746
2847
|
],
|
|
2747
2848
|
"exports": [
|
|
@@ -2749,553 +2850,452 @@
|
|
|
2749
2850
|
"kind": "js",
|
|
2750
2851
|
"name": "templates",
|
|
2751
2852
|
"declaration": {
|
|
2752
|
-
"name": "
|
|
2753
|
-
"module": "dist/chunks/
|
|
2853
|
+
"name": "t",
|
|
2854
|
+
"module": "dist/chunks/lv.TFPDXNEV.js"
|
|
2754
2855
|
}
|
|
2755
2856
|
}
|
|
2756
2857
|
]
|
|
2757
2858
|
},
|
|
2758
2859
|
{
|
|
2759
2860
|
"kind": "javascript-module",
|
|
2760
|
-
"path": "
|
|
2861
|
+
"path": "dist/chunks/ms.FPTX4NM4.js",
|
|
2761
2862
|
"declarations": [
|
|
2762
2863
|
{
|
|
2763
2864
|
"kind": "variable",
|
|
2764
|
-
"name": "
|
|
2765
|
-
"
|
|
2766
|
-
"text": "string"
|
|
2767
|
-
},
|
|
2768
|
-
"default": "'?settings=eyJjbGllbnRTZXNzaW9uQ29uZmlnIjp7ImN1c3RvbWVySWQiOiJDdXN0b21lcjEyMyIsIm9yZGVySWQiOiIxMjU3NyIsImFtb3VudCI6MTA1MCwiY3VycmVuY3lDb2RlIjoiRVVSIiwibWV0YWRhdGEiOnsiZXhwcmVzc0NoZWNrb3V0IjoidHJ1ZSJ9L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|
|
2773
|
-
"type": {
|
|
2774
|
-
"text": "object"
|
|
2775
|
-
},
|
|
2776
|
-
"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: {}, }"
|
|
2777
|
-
},
|
|
2778
|
-
{
|
|
2779
|
-
"kind": "variable",
|
|
2780
|
-
"name": "CARD_NUMBER",
|
|
2781
|
-
"type": {
|
|
2782
|
-
"text": "string"
|
|
2783
|
-
},
|
|
2784
|
-
"default": "'4242 4242 4242 4242'"
|
|
2785
|
-
},
|
|
2786
|
-
{
|
|
2787
|
-
"kind": "function",
|
|
2788
|
-
"name": "mockBinData",
|
|
2789
|
-
"parameters": [
|
|
2790
|
-
{
|
|
2791
|
-
"name": "page",
|
|
2792
|
-
"type": {
|
|
2793
|
-
"text": "Page"
|
|
2794
|
-
}
|
|
2795
|
-
}
|
|
2796
|
-
]
|
|
2797
|
-
},
|
|
2798
|
-
{
|
|
2799
|
-
"kind": "function",
|
|
2800
|
-
"name": "mockPaymentInstruments",
|
|
2801
|
-
"parameters": [
|
|
2802
|
-
{
|
|
2803
|
-
"name": "page",
|
|
2804
|
-
"type": {
|
|
2805
|
-
"text": "Page"
|
|
2806
|
-
}
|
|
2807
|
-
}
|
|
2808
|
-
]
|
|
2809
|
-
},
|
|
2810
|
-
{
|
|
2811
|
-
"kind": "function",
|
|
2812
|
-
"name": "mockPayments",
|
|
2813
|
-
"parameters": [
|
|
2814
|
-
{
|
|
2815
|
-
"name": "page",
|
|
2816
|
-
"type": {
|
|
2817
|
-
"text": "Page"
|
|
2818
|
-
}
|
|
2819
|
-
}
|
|
2820
|
-
]
|
|
2865
|
+
"name": "i",
|
|
2866
|
+
"default": "a"
|
|
2821
2867
|
}
|
|
2822
2868
|
],
|
|
2823
2869
|
"exports": [
|
|
2824
2870
|
{
|
|
2825
2871
|
"kind": "js",
|
|
2826
|
-
"name": "
|
|
2827
|
-
"declaration": {
|
|
2828
|
-
"name": "settings",
|
|
2829
|
-
"module": "e2e/mocks/billing-address.ts"
|
|
2830
|
-
}
|
|
2831
|
-
},
|
|
2832
|
-
{
|
|
2833
|
-
"kind": "js",
|
|
2834
|
-
"name": "CONFIGURATION_RESPONSE",
|
|
2835
|
-
"declaration": {
|
|
2836
|
-
"name": "CONFIGURATION_RESPONSE",
|
|
2837
|
-
"module": "e2e/mocks/billing-address.ts"
|
|
2838
|
-
}
|
|
2839
|
-
},
|
|
2840
|
-
{
|
|
2841
|
-
"kind": "js",
|
|
2842
|
-
"name": "CARD_NUMBER",
|
|
2843
|
-
"declaration": {
|
|
2844
|
-
"name": "CARD_NUMBER",
|
|
2845
|
-
"module": "e2e/mocks/billing-address.ts"
|
|
2846
|
-
}
|
|
2847
|
-
},
|
|
2848
|
-
{
|
|
2849
|
-
"kind": "js",
|
|
2850
|
-
"name": "mockBinData",
|
|
2872
|
+
"name": "templates",
|
|
2851
2873
|
"declaration": {
|
|
2852
|
-
"name": "
|
|
2853
|
-
"module": "
|
|
2874
|
+
"name": "i",
|
|
2875
|
+
"module": "dist/chunks/ms.FPTX4NM4.js"
|
|
2854
2876
|
}
|
|
2855
|
-
}
|
|
2877
|
+
}
|
|
2878
|
+
]
|
|
2879
|
+
},
|
|
2880
|
+
{
|
|
2881
|
+
"kind": "javascript-module",
|
|
2882
|
+
"path": "dist/chunks/nb.CAFSKRQ2.js",
|
|
2883
|
+
"declarations": [
|
|
2856
2884
|
{
|
|
2857
|
-
"kind": "
|
|
2858
|
-
"name": "
|
|
2859
|
-
"
|
|
2860
|
-
|
|
2861
|
-
|
|
2862
|
-
|
|
2863
|
-
},
|
|
2885
|
+
"kind": "variable",
|
|
2886
|
+
"name": "a",
|
|
2887
|
+
"default": "e"
|
|
2888
|
+
}
|
|
2889
|
+
],
|
|
2890
|
+
"exports": [
|
|
2864
2891
|
{
|
|
2865
2892
|
"kind": "js",
|
|
2866
|
-
"name": "
|
|
2893
|
+
"name": "templates",
|
|
2867
2894
|
"declaration": {
|
|
2868
|
-
"name": "
|
|
2869
|
-
"module": "
|
|
2895
|
+
"name": "a",
|
|
2896
|
+
"module": "dist/chunks/nb.CAFSKRQ2.js"
|
|
2870
2897
|
}
|
|
2871
2898
|
}
|
|
2872
2899
|
]
|
|
2873
2900
|
},
|
|
2874
2901
|
{
|
|
2875
2902
|
"kind": "javascript-module",
|
|
2876
|
-
"path": "
|
|
2903
|
+
"path": "dist/chunks/nl.7BPSDYTC.js",
|
|
2877
2904
|
"declarations": [
|
|
2878
2905
|
{
|
|
2879
2906
|
"kind": "variable",
|
|
2880
|
-
"name": "
|
|
2881
|
-
"
|
|
2882
|
-
"text": "string"
|
|
2883
|
-
},
|
|
2884
|
-
"default": "'?settings=eyJjbGllbnRTZXNzaW9uQ29uZmlnIjp7ImN1c3RvbWVySWQiOiJFdWxlciBpcyB0aGUgYmVzdCIsIm9yZGVySWQiOiI3NDUyNyIsImFtb3VudCI6NjAwLCJjdXJyZW5jeUNvZGUiOiJFVVIiLCJtZXRhZGF0YSI6eyJzY2VuYXJpbyI6IkdPT0dMRV9QQVkifSwib3JkZXIiOnsiZmVlcyI6W3sidHlwZSI6IlNVUkNIQVJ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VYIiwiTUFFU1RSTyIsIlVOSU9OUEFZIiwiQ0FSVEVTX0JBTkNBSVJFUyIsIkRBTktPUlQiLCJESU5FUlNfQ0xVQiIsIkRJU0NPVkVSIiwiRU5ST1VURSIsIkVMTyIsIkhJUEVSIiwiSU5URVJBQyIsIkpDQiIsIk1JUiIsIk9USEVSIl19fSwiY2xpZW50T3B0aW9ucyI6eyJjYXJkIjp7InByZWZlcnJlZEZsb3ciOiJFTUJFRERFRF9JTl9IT01FIn0sImRpcmVjdERlYml0Ijp7ImN1c3RvbWVyQ291bnRyeUNvZGUiOiJGUiIsImNvbXBhbnlOYW1lIjoiUHJpbWVyIEFQSSBMVEQiLCJjb21wYW55QWRkcmVzcyI6IjEyMyBGYWtlIFN0LCBMb25kb24sIEVDMkEgOFhZIn0sInJlZGlyZWN0Ijp7ImZvcmNlUmVkaXJlY3QiOmZhbHNlfSwiZ29vZ2xlUGF5Ijp7ImNhcHR1cmVCaWxsaW5nQWRkcmVzcyI6dHJ1ZX19LCJhcGlDb25maWciOnsiYXBpS2V5IjoiMmI4NTM3YjItNDc4Yy00MzE1LTg4ZmItZjE5NTQ1MDBiNWZhIiwiYXBpVmVyc2lvbiI6IjIuMyIsImVudiI6IkNVU1RPTV9TQU5EQk9YIn0sImhlYWRsZXNzT3B0aW9ucyI6e30sImxpdENvbXBvbmVudHNPcHRpb25zIjp7InNka0NvcmUiOmZhbHNlfX0='"
|
|
2885
|
-
},
|
|
2886
|
-
{
|
|
2887
|
-
"kind": "variable",
|
|
2888
|
-
"name": "CONFIGURATION_RESPONSE",
|
|
2889
|
-
"type": {
|
|
2890
|
-
"text": "object"
|
|
2891
|
-
},
|
|
2892
|
-
"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: {}, }"
|
|
2907
|
+
"name": "n",
|
|
2908
|
+
"default": "e"
|
|
2893
2909
|
}
|
|
2894
2910
|
],
|
|
2895
2911
|
"exports": [
|
|
2896
2912
|
{
|
|
2897
2913
|
"kind": "js",
|
|
2898
|
-
"name": "
|
|
2914
|
+
"name": "templates",
|
|
2899
2915
|
"declaration": {
|
|
2900
|
-
"name": "
|
|
2901
|
-
"module": "
|
|
2916
|
+
"name": "n",
|
|
2917
|
+
"module": "dist/chunks/nl.7BPSDYTC.js"
|
|
2902
2918
|
}
|
|
2903
|
-
}
|
|
2919
|
+
}
|
|
2920
|
+
]
|
|
2921
|
+
},
|
|
2922
|
+
{
|
|
2923
|
+
"kind": "javascript-module",
|
|
2924
|
+
"path": "dist/chunks/nl_NL.6ZVCFPVW.js",
|
|
2925
|
+
"declarations": [
|
|
2926
|
+
{
|
|
2927
|
+
"kind": "variable",
|
|
2928
|
+
"name": "n",
|
|
2929
|
+
"default": "e"
|
|
2930
|
+
}
|
|
2931
|
+
],
|
|
2932
|
+
"exports": [
|
|
2904
2933
|
{
|
|
2905
2934
|
"kind": "js",
|
|
2906
|
-
"name": "
|
|
2935
|
+
"name": "templates",
|
|
2907
2936
|
"declaration": {
|
|
2908
|
-
"name": "
|
|
2909
|
-
"module": "
|
|
2937
|
+
"name": "n",
|
|
2938
|
+
"module": "dist/chunks/nl_NL.6ZVCFPVW.js"
|
|
2910
2939
|
}
|
|
2911
2940
|
}
|
|
2912
2941
|
]
|
|
2913
2942
|
},
|
|
2914
2943
|
{
|
|
2915
2944
|
"kind": "javascript-module",
|
|
2916
|
-
"path": "
|
|
2945
|
+
"path": "dist/chunks/pl.RF34QM23.js",
|
|
2917
2946
|
"declarations": [
|
|
2918
2947
|
{
|
|
2919
2948
|
"kind": "variable",
|
|
2920
|
-
"name": "
|
|
2921
|
-
"
|
|
2922
|
-
"text": "string"
|
|
2923
|
-
},
|
|
2924
|
-
"default": "'?settings=eyJjbGllbnRTZXNzaW9uQ29uZmlnIjp7ImN1c3RvbWVySWQiOiJhaXJ3YWxsZXgtY3VzdG9tZXItaWQtZGVtbyIsIm9yZGVySWQiOiIzNDc3NSIsImFtb3VudCI6MTAwMCwiY3VycmVuY3lDb2RlIjoiRVVSIiwibWV0YWRhdGEiOnsid29ya2Zsb3ciOiJhaXJ3YWxsZXgifSwib3JkZXIiOnsiY291bnRyeUNvZGUiOiJHQiIsImxpbmVJdGVtcyI6W3siaXRlbUlkIjoicHJpbWVyLWhvb2RpZS1ncmF5IiwiZGVzY3JpcHRpb24iOiJQcmltZXIgSG9vZGllIiwiYW1vdW50IjoxMDAwLCJxdWFudGl0eSI6MX1dfSwiY3VzdG9tZXIiOnt9LCJwYXltZW50TWV0aG9kIjp7InZhdWx0T25TdWNjZXNzIjpmYWxzZSwidmF1bHRPbjNEUyI6ZmFsc2UsIm9wdGlvbnMiOnsiUEFZUEFMIjp7InN1cmNoYXJnZSI6eyJhbW91bnQiOjB9fSwiUEFZTUVOVF9DQVJEIj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C1kZjA4LTRjNzktODU2ZC00MDA4NTM0OWU5ZGEiLCJhcGlWZXJzaW9uIjoiMi4yIiwiZW52IjoiQ1VTVE9NX1NUQUdJTkcifSwiaGVhZGxlc3NPcHRpb25zIjp7fSwibGl0Q29tcG9uZW50c09wdGlvbnMiOnsic2RrQ29yZSI6ZmFsc2V9fQ=='"
|
|
2925
|
-
},
|
|
2926
|
-
{
|
|
2927
|
-
"kind": "variable",
|
|
2928
|
-
"name": "CONFIGURATION_RESPONSE",
|
|
2929
|
-
"type": {
|
|
2930
|
-
"text": "object"
|
|
2931
|
-
},
|
|
2932
|
-
"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: {}, }"
|
|
2933
|
-
},
|
|
2934
|
-
{
|
|
2935
|
-
"kind": "variable",
|
|
2936
|
-
"name": "SUCCESSFUL_CARD_NUMBER",
|
|
2937
|
-
"type": {
|
|
2938
|
-
"text": "string"
|
|
2939
|
-
},
|
|
2940
|
-
"default": "'4035 5010 0000 0008'"
|
|
2941
|
-
},
|
|
2942
|
-
{
|
|
2943
|
-
"kind": "variable",
|
|
2944
|
-
"name": "FAILURE_CARD_NUMBER",
|
|
2945
|
-
"type": {
|
|
2946
|
-
"text": "string"
|
|
2947
|
-
},
|
|
2948
|
-
"default": "'4242 4242 4242 4242'"
|
|
2949
|
-
},
|
|
2950
|
-
{
|
|
2951
|
-
"kind": "function",
|
|
2952
|
-
"name": "mockPaymentInstruments",
|
|
2953
|
-
"parameters": [
|
|
2954
|
-
{
|
|
2955
|
-
"name": "page",
|
|
2956
|
-
"type": {
|
|
2957
|
-
"text": "Page"
|
|
2958
|
-
}
|
|
2959
|
-
}
|
|
2960
|
-
]
|
|
2961
|
-
},
|
|
2962
|
-
{
|
|
2963
|
-
"kind": "function",
|
|
2964
|
-
"name": "mockPayments",
|
|
2965
|
-
"parameters": [
|
|
2966
|
-
{
|
|
2967
|
-
"name": "page",
|
|
2968
|
-
"type": {
|
|
2969
|
-
"text": "Page"
|
|
2970
|
-
}
|
|
2971
|
-
}
|
|
2972
|
-
]
|
|
2973
|
-
},
|
|
2974
|
-
{
|
|
2975
|
-
"kind": "function",
|
|
2976
|
-
"name": "mockPaymentInstrumentsFailure",
|
|
2977
|
-
"parameters": [
|
|
2978
|
-
{
|
|
2979
|
-
"name": "page",
|
|
2980
|
-
"type": {
|
|
2981
|
-
"text": "Page"
|
|
2982
|
-
}
|
|
2983
|
-
}
|
|
2984
|
-
]
|
|
2985
|
-
},
|
|
2986
|
-
{
|
|
2987
|
-
"kind": "function",
|
|
2988
|
-
"name": "mockPaymentsFailure",
|
|
2989
|
-
"parameters": [
|
|
2990
|
-
{
|
|
2991
|
-
"name": "page",
|
|
2992
|
-
"type": {
|
|
2993
|
-
"text": "Page"
|
|
2994
|
-
}
|
|
2995
|
-
}
|
|
2996
|
-
]
|
|
2949
|
+
"name": "i",
|
|
2950
|
+
"default": "a"
|
|
2997
2951
|
}
|
|
2998
2952
|
],
|
|
2999
2953
|
"exports": [
|
|
3000
2954
|
{
|
|
3001
2955
|
"kind": "js",
|
|
3002
|
-
"name": "
|
|
2956
|
+
"name": "templates",
|
|
3003
2957
|
"declaration": {
|
|
3004
|
-
"name": "
|
|
3005
|
-
"module": "
|
|
2958
|
+
"name": "i",
|
|
2959
|
+
"module": "dist/chunks/pl.RF34QM23.js"
|
|
3006
2960
|
}
|
|
3007
|
-
}
|
|
2961
|
+
}
|
|
2962
|
+
]
|
|
2963
|
+
},
|
|
2964
|
+
{
|
|
2965
|
+
"kind": "javascript-module",
|
|
2966
|
+
"path": "dist/chunks/pt-BR.AKDHLRUA.js",
|
|
2967
|
+
"declarations": [
|
|
2968
|
+
{
|
|
2969
|
+
"kind": "variable",
|
|
2970
|
+
"name": "t",
|
|
2971
|
+
"default": "e"
|
|
2972
|
+
}
|
|
2973
|
+
],
|
|
2974
|
+
"exports": [
|
|
3008
2975
|
{
|
|
3009
2976
|
"kind": "js",
|
|
3010
|
-
"name": "
|
|
2977
|
+
"name": "templates",
|
|
3011
2978
|
"declaration": {
|
|
3012
|
-
"name": "
|
|
3013
|
-
"module": "
|
|
2979
|
+
"name": "t",
|
|
2980
|
+
"module": "dist/chunks/pt-BR.AKDHLRUA.js"
|
|
3014
2981
|
}
|
|
3015
|
-
}
|
|
2982
|
+
}
|
|
2983
|
+
]
|
|
2984
|
+
},
|
|
2985
|
+
{
|
|
2986
|
+
"kind": "javascript-module",
|
|
2987
|
+
"path": "dist/chunks/pt.VBALOWHZ.js",
|
|
2988
|
+
"declarations": [
|
|
2989
|
+
{
|
|
2990
|
+
"kind": "variable",
|
|
2991
|
+
"name": "t",
|
|
2992
|
+
"default": "e"
|
|
2993
|
+
}
|
|
2994
|
+
],
|
|
2995
|
+
"exports": [
|
|
3016
2996
|
{
|
|
3017
2997
|
"kind": "js",
|
|
3018
|
-
"name": "
|
|
2998
|
+
"name": "templates",
|
|
3019
2999
|
"declaration": {
|
|
3020
|
-
"name": "
|
|
3021
|
-
"module": "
|
|
3000
|
+
"name": "t",
|
|
3001
|
+
"module": "dist/chunks/pt.VBALOWHZ.js"
|
|
3022
3002
|
}
|
|
3023
|
-
}
|
|
3003
|
+
}
|
|
3004
|
+
]
|
|
3005
|
+
},
|
|
3006
|
+
{
|
|
3007
|
+
"kind": "javascript-module",
|
|
3008
|
+
"path": "dist/chunks/ro.WN7VCF27.js",
|
|
3009
|
+
"declarations": [
|
|
3010
|
+
{
|
|
3011
|
+
"kind": "variable",
|
|
3012
|
+
"name": "i",
|
|
3013
|
+
"default": "e"
|
|
3014
|
+
}
|
|
3015
|
+
],
|
|
3016
|
+
"exports": [
|
|
3024
3017
|
{
|
|
3025
3018
|
"kind": "js",
|
|
3026
|
-
"name": "
|
|
3019
|
+
"name": "templates",
|
|
3027
3020
|
"declaration": {
|
|
3028
|
-
"name": "
|
|
3029
|
-
"module": "
|
|
3021
|
+
"name": "i",
|
|
3022
|
+
"module": "dist/chunks/ro.WN7VCF27.js"
|
|
3030
3023
|
}
|
|
3031
|
-
}
|
|
3024
|
+
}
|
|
3025
|
+
]
|
|
3026
|
+
},
|
|
3027
|
+
{
|
|
3028
|
+
"kind": "javascript-module",
|
|
3029
|
+
"path": "dist/chunks/ru.ICXGVGRR.js",
|
|
3030
|
+
"declarations": [
|
|
3031
|
+
{
|
|
3032
|
+
"kind": "variable",
|
|
3033
|
+
"name": "o",
|
|
3034
|
+
"default": "e"
|
|
3035
|
+
}
|
|
3036
|
+
],
|
|
3037
|
+
"exports": [
|
|
3032
3038
|
{
|
|
3033
3039
|
"kind": "js",
|
|
3034
|
-
"name": "
|
|
3040
|
+
"name": "templates",
|
|
3035
3041
|
"declaration": {
|
|
3036
|
-
"name": "
|
|
3037
|
-
"module": "
|
|
3042
|
+
"name": "o",
|
|
3043
|
+
"module": "dist/chunks/ru.ICXGVGRR.js"
|
|
3038
3044
|
}
|
|
3039
|
-
}
|
|
3045
|
+
}
|
|
3046
|
+
]
|
|
3047
|
+
},
|
|
3048
|
+
{
|
|
3049
|
+
"kind": "javascript-module",
|
|
3050
|
+
"path": "dist/chunks/sk.SIP5JIOX.js",
|
|
3051
|
+
"declarations": [
|
|
3052
|
+
{
|
|
3053
|
+
"kind": "variable",
|
|
3054
|
+
"name": "r",
|
|
3055
|
+
"default": "e"
|
|
3056
|
+
}
|
|
3057
|
+
],
|
|
3058
|
+
"exports": [
|
|
3040
3059
|
{
|
|
3041
3060
|
"kind": "js",
|
|
3042
|
-
"name": "
|
|
3061
|
+
"name": "templates",
|
|
3043
3062
|
"declaration": {
|
|
3044
|
-
"name": "
|
|
3045
|
-
"module": "
|
|
3063
|
+
"name": "r",
|
|
3064
|
+
"module": "dist/chunks/sk.SIP5JIOX.js"
|
|
3046
3065
|
}
|
|
3047
|
-
}
|
|
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": [
|
|
3048
3080
|
{
|
|
3049
3081
|
"kind": "js",
|
|
3050
|
-
"name": "
|
|
3082
|
+
"name": "templates",
|
|
3051
3083
|
"declaration": {
|
|
3052
|
-
"name": "
|
|
3053
|
-
"module": "
|
|
3084
|
+
"name": "r",
|
|
3085
|
+
"module": "dist/chunks/sl.R77UEKCA.js"
|
|
3054
3086
|
}
|
|
3055
|
-
}
|
|
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": [
|
|
3056
3101
|
{
|
|
3057
3102
|
"kind": "js",
|
|
3058
|
-
"name": "
|
|
3103
|
+
"name": "templates",
|
|
3059
3104
|
"declaration": {
|
|
3060
|
-
"name": "
|
|
3061
|
-
"module": "
|
|
3105
|
+
"name": "o",
|
|
3106
|
+
"module": "dist/chunks/sr-RS.6M2YSTDX.js"
|
|
3062
3107
|
}
|
|
3063
3108
|
}
|
|
3064
3109
|
]
|
|
3065
3110
|
},
|
|
3066
3111
|
{
|
|
3067
3112
|
"kind": "javascript-module",
|
|
3068
|
-
"path": "
|
|
3113
|
+
"path": "dist/chunks/sv.33ZY4CDS.js",
|
|
3069
3114
|
"declarations": [
|
|
3070
3115
|
{
|
|
3071
3116
|
"kind": "variable",
|
|
3072
|
-
"name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iLCJBTUVYIiwiTUFFU1RSTyIsIlVOSU9OUEFZIiwiQ0FSVEVTX0JBTkNBSVJFUyIsIkRBTktPUlQiLCJESU5FUlNfQ0xVQiIsIkRJU0NPVkVSIiwiRU5ST1VURSIsIkVMTyIsIkhJUEVSIiwiSU5URVJBQyIsIkpDQiIsIk1JUiIsIk9USEVSIl19fSwiY2xpZW50T3B0aW9ucyI6eyJjYXJkIjp7InByZWZlcnJlZEZsb3ciOiJFTUJFRERFRF9JTl9IT01FIn0sImRpcmVjdERlYml0Ijp7ImN1c3RvbWVyQ291bnRyeUNvZGUiOiJGUiIsImNvbXBhbnlOYW1lIjoiUHJpbWVyIEFQSSBMVEQiLCJjb21wYW55QWRkcmVzcyI6IjEyMyBGYWtlIFN0LCBMb25kb24sIEVDMkEgOFhZIn0sInJlZGlyZWN0Ijp7ImZvcmNlUmVkaXJlY3QiOmZhbHNlfSwiZ29vZ2xlUGF5Ijp7ImNhcHR1cmVCaWxsaW5nQWRkcmVzcyI6dHJ1ZX19LCJhcGlDb25maWciOnsiYXBpS2V5IjoiMmI4NTM3YjItNDc4Yy00MzE1LTg4ZmItZjE5NTQ1MDBiNWZhIiwiYXBpVmVyc2lvbiI6IjIuMyIsImVudiI6IkNVU1RPTV9TQU5EQk9YIn0sImhlYWRsZXNzT3B0aW9ucyI6e30sImxpdENvbXBvbmVudHNPcHRpb25zIjp7InNka0NvcmUiOmZhbHNlfX0='"
|
|
3077
|
-
},
|
|
3078
|
-
{
|
|
3079
|
-
"kind": "variable",
|
|
3080
|
-
"name": "CONFIGURATION_RESPONSE",
|
|
3081
|
-
"type": {
|
|
3082
|
-
"text": "object"
|
|
3083
|
-
},
|
|
3084
|
-
"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: {}, }"
|
|
3117
|
+
"name": "n",
|
|
3118
|
+
"default": "e"
|
|
3085
3119
|
}
|
|
3086
3120
|
],
|
|
3087
3121
|
"exports": [
|
|
3088
3122
|
{
|
|
3089
3123
|
"kind": "js",
|
|
3090
|
-
"name": "
|
|
3124
|
+
"name": "templates",
|
|
3091
3125
|
"declaration": {
|
|
3092
|
-
"name": "
|
|
3093
|
-
"module": "
|
|
3126
|
+
"name": "n",
|
|
3127
|
+
"module": "dist/chunks/sv.33ZY4CDS.js"
|
|
3094
3128
|
}
|
|
3095
|
-
}
|
|
3129
|
+
}
|
|
3130
|
+
]
|
|
3131
|
+
},
|
|
3132
|
+
{
|
|
3133
|
+
"kind": "javascript-module",
|
|
3134
|
+
"path": "dist/chunks/th.M27YUIZC.js",
|
|
3135
|
+
"declarations": [
|
|
3136
|
+
{
|
|
3137
|
+
"kind": "variable",
|
|
3138
|
+
"name": "o",
|
|
3139
|
+
"default": "e"
|
|
3140
|
+
}
|
|
3141
|
+
],
|
|
3142
|
+
"exports": [
|
|
3096
3143
|
{
|
|
3097
3144
|
"kind": "js",
|
|
3098
|
-
"name": "
|
|
3145
|
+
"name": "templates",
|
|
3099
3146
|
"declaration": {
|
|
3100
|
-
"name": "
|
|
3101
|
-
"module": "
|
|
3147
|
+
"name": "o",
|
|
3148
|
+
"module": "dist/chunks/th.M27YUIZC.js"
|
|
3102
3149
|
}
|
|
3103
3150
|
}
|
|
3104
3151
|
]
|
|
3105
3152
|
},
|
|
3106
3153
|
{
|
|
3107
3154
|
"kind": "javascript-module",
|
|
3108
|
-
"path": "
|
|
3155
|
+
"path": "dist/chunks/tr.Q2SIY6NA.js",
|
|
3109
3156
|
"declarations": [
|
|
3110
3157
|
{
|
|
3111
|
-
"kind": "
|
|
3112
|
-
"name": "
|
|
3113
|
-
"
|
|
3114
|
-
{
|
|
3115
|
-
"name": "page",
|
|
3116
|
-
"type": {
|
|
3117
|
-
"text": "Page"
|
|
3118
|
-
}
|
|
3119
|
-
},
|
|
3120
|
-
{
|
|
3121
|
-
"name": "config",
|
|
3122
|
-
"type": {
|
|
3123
|
-
"text": "unknown"
|
|
3124
|
-
}
|
|
3125
|
-
}
|
|
3126
|
-
]
|
|
3127
|
-
},
|
|
3128
|
-
{
|
|
3129
|
-
"kind": "function",
|
|
3130
|
-
"name": "mockConfigurationCallSTG",
|
|
3131
|
-
"parameters": [
|
|
3132
|
-
{
|
|
3133
|
-
"name": "page",
|
|
3134
|
-
"type": {
|
|
3135
|
-
"text": "Page"
|
|
3136
|
-
}
|
|
3137
|
-
},
|
|
3138
|
-
{
|
|
3139
|
-
"name": "config",
|
|
3140
|
-
"type": {
|
|
3141
|
-
"text": "unknown"
|
|
3142
|
-
}
|
|
3143
|
-
}
|
|
3144
|
-
]
|
|
3158
|
+
"kind": "variable",
|
|
3159
|
+
"name": "n",
|
|
3160
|
+
"default": "e"
|
|
3145
3161
|
}
|
|
3146
3162
|
],
|
|
3147
3163
|
"exports": [
|
|
3148
3164
|
{
|
|
3149
3165
|
"kind": "js",
|
|
3150
|
-
"name": "
|
|
3166
|
+
"name": "templates",
|
|
3151
3167
|
"declaration": {
|
|
3152
|
-
"name": "
|
|
3153
|
-
"module": "
|
|
3168
|
+
"name": "n",
|
|
3169
|
+
"module": "dist/chunks/tr.Q2SIY6NA.js"
|
|
3154
3170
|
}
|
|
3155
|
-
}
|
|
3171
|
+
}
|
|
3172
|
+
]
|
|
3173
|
+
},
|
|
3174
|
+
{
|
|
3175
|
+
"kind": "javascript-module",
|
|
3176
|
+
"path": "dist/chunks/uk-UA.EJZOGSJR.js",
|
|
3177
|
+
"declarations": [
|
|
3178
|
+
{
|
|
3179
|
+
"kind": "variable",
|
|
3180
|
+
"name": "o",
|
|
3181
|
+
"default": "e"
|
|
3182
|
+
}
|
|
3183
|
+
],
|
|
3184
|
+
"exports": [
|
|
3156
3185
|
{
|
|
3157
3186
|
"kind": "js",
|
|
3158
|
-
"name": "
|
|
3187
|
+
"name": "templates",
|
|
3159
3188
|
"declaration": {
|
|
3160
|
-
"name": "
|
|
3161
|
-
"module": "
|
|
3189
|
+
"name": "o",
|
|
3190
|
+
"module": "dist/chunks/uk-UA.EJZOGSJR.js"
|
|
3162
3191
|
}
|
|
3163
3192
|
}
|
|
3164
3193
|
]
|
|
3165
3194
|
},
|
|
3166
3195
|
{
|
|
3167
3196
|
"kind": "javascript-module",
|
|
3168
|
-
"path": "
|
|
3197
|
+
"path": "dist/chunks/vi.3RROGLXM.js",
|
|
3169
3198
|
"declarations": [
|
|
3170
3199
|
{
|
|
3171
3200
|
"kind": "variable",
|
|
3172
|
-
"name": "
|
|
3173
|
-
"
|
|
3174
|
-
"text": "string"
|
|
3175
|
-
},
|
|
3176
|
-
"default": "'?settings=eyJjbGllbnRTZXNzaW9uQ29uZmlnIjp7ImN1c3RvbWVySWQiOiJFdWxlciBpcyB0aGUgYmVzdCIsIm9yZGVySWQiOiIwODkzNTcwMTgyNTM2NyIsImFtb3VudCI6NjAwLCJjdXJyZW5jeUNvZGUiOiJFVVIiLCJtZXRhZGF0YSI6eyJzY2VuYXJpbyI6IkdPT0dMRV9QQVkifSwib3JkZXIiOnsiZmVlcyI6W3sidHlwZSI6IlNVUkNI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184
|
-
"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: {}, }"
|
|
3185
|
-
},
|
|
3186
|
-
{
|
|
3187
|
-
"kind": "function",
|
|
3188
|
-
"name": "mockExchangeCall",
|
|
3189
|
-
"parameters": [
|
|
3190
|
-
{
|
|
3191
|
-
"name": "page",
|
|
3192
|
-
"type": {
|
|
3193
|
-
"text": "Page"
|
|
3194
|
-
}
|
|
3195
|
-
}
|
|
3196
|
-
]
|
|
3197
|
-
},
|
|
3198
|
-
{
|
|
3199
|
-
"kind": "function",
|
|
3200
|
-
"name": "mockPaymentsCall",
|
|
3201
|
-
"parameters": [
|
|
3202
|
-
{
|
|
3203
|
-
"name": "page",
|
|
3204
|
-
"type": {
|
|
3205
|
-
"text": "Page"
|
|
3206
|
-
}
|
|
3207
|
-
}
|
|
3208
|
-
]
|
|
3201
|
+
"name": "a",
|
|
3202
|
+
"default": "n"
|
|
3209
3203
|
}
|
|
3210
3204
|
],
|
|
3211
3205
|
"exports": [
|
|
3212
3206
|
{
|
|
3213
3207
|
"kind": "js",
|
|
3214
|
-
"name": "
|
|
3208
|
+
"name": "templates",
|
|
3215
3209
|
"declaration": {
|
|
3216
|
-
"name": "
|
|
3217
|
-
"module": "
|
|
3210
|
+
"name": "a",
|
|
3211
|
+
"module": "dist/chunks/vi.3RROGLXM.js"
|
|
3218
3212
|
}
|
|
3219
|
-
}
|
|
3213
|
+
}
|
|
3214
|
+
]
|
|
3215
|
+
},
|
|
3216
|
+
{
|
|
3217
|
+
"kind": "javascript-module",
|
|
3218
|
+
"path": "dist/chunks/zf.GGWFQ3Y7.js",
|
|
3219
|
+
"declarations": [
|
|
3220
3220
|
{
|
|
3221
|
-
"kind": "
|
|
3222
|
-
"name": "
|
|
3223
|
-
"
|
|
3224
|
-
|
|
3225
|
-
|
|
3226
|
-
|
|
3227
|
-
},
|
|
3221
|
+
"kind": "variable",
|
|
3222
|
+
"name": "a",
|
|
3223
|
+
"default": "t"
|
|
3224
|
+
}
|
|
3225
|
+
],
|
|
3226
|
+
"exports": [
|
|
3228
3227
|
{
|
|
3229
3228
|
"kind": "js",
|
|
3230
|
-
"name": "
|
|
3229
|
+
"name": "templates",
|
|
3231
3230
|
"declaration": {
|
|
3232
|
-
"name": "
|
|
3233
|
-
"module": "
|
|
3231
|
+
"name": "a",
|
|
3232
|
+
"module": "dist/chunks/zf.GGWFQ3Y7.js"
|
|
3234
3233
|
}
|
|
3235
|
-
}
|
|
3234
|
+
}
|
|
3235
|
+
]
|
|
3236
|
+
},
|
|
3237
|
+
{
|
|
3238
|
+
"kind": "javascript-module",
|
|
3239
|
+
"path": "dist/chunks/zh-CN.MQHNRMN4.js",
|
|
3240
|
+
"declarations": [
|
|
3241
|
+
{
|
|
3242
|
+
"kind": "variable",
|
|
3243
|
+
"name": "o",
|
|
3244
|
+
"default": "e"
|
|
3245
|
+
}
|
|
3246
|
+
],
|
|
3247
|
+
"exports": [
|
|
3236
3248
|
{
|
|
3237
3249
|
"kind": "js",
|
|
3238
|
-
"name": "
|
|
3250
|
+
"name": "templates",
|
|
3239
3251
|
"declaration": {
|
|
3240
|
-
"name": "
|
|
3241
|
-
"module": "
|
|
3252
|
+
"name": "o",
|
|
3253
|
+
"module": "dist/chunks/zh-CN.MQHNRMN4.js"
|
|
3242
3254
|
}
|
|
3243
3255
|
}
|
|
3244
3256
|
]
|
|
3245
3257
|
},
|
|
3246
3258
|
{
|
|
3247
3259
|
"kind": "javascript-module",
|
|
3248
|
-
"path": "
|
|
3249
|
-
"declarations": [],
|
|
3250
|
-
"exports": []
|
|
3251
|
-
},
|
|
3252
|
-
{
|
|
3253
|
-
"kind": "javascript-module",
|
|
3254
|
-
"path": "e2e/tests/card-basic.spec.ts",
|
|
3255
|
-
"declarations": [],
|
|
3256
|
-
"exports": []
|
|
3257
|
-
},
|
|
3258
|
-
{
|
|
3259
|
-
"kind": "javascript-module",
|
|
3260
|
-
"path": "e2e/tests/card-form-billing-address.spec.ts",
|
|
3261
|
-
"declarations": [],
|
|
3262
|
-
"exports": []
|
|
3263
|
-
},
|
|
3264
|
-
{
|
|
3265
|
-
"kind": "javascript-module",
|
|
3266
|
-
"path": "e2e/tests/disabled-payments.spec.ts",
|
|
3260
|
+
"path": "dist/chunks/zh-HK.WNR7XUSX.js",
|
|
3267
3261
|
"declarations": [
|
|
3268
3262
|
{
|
|
3269
3263
|
"kind": "variable",
|
|
3270
|
-
"name": "
|
|
3271
|
-
"
|
|
3272
|
-
"text": "string"
|
|
3273
|
-
},
|
|
3274
|
-
"default": "'?settings=eyJjbGllbnRTZXNzaW9uQ29uZmlnIjp7ImN1c3RvbWVySWQiOiJhaXJ3YWxsZXgtY3VzdG9tZXItaWQtZGVtbyIsIm9yZGVySWQiOiIzNDc3NSIsImFtb3VudCI6MTAwMCwiY3VycmVuY3lDb2RlIjoiRVVSIiwibWV0YWRhdGEiOnsid29ya2Zsb3ciOiJhaXJ3YWxsZXgifSwib3JkZXIiOnsiY291bnRyeUNvZGUiOiJHQiIsImxpbmVJdGVtcyI6W3siaXRlbUlkIjoicHJpbWVyLWhvb2RpZS1ncmF5IiwiZGVzY3JpcHRpb24iOiJQcmltZXIgSG9vZGllIiwiYW1vdW50IjoxMDAwLCJxdWFudGl0eSI6MX1dfSwiY3VzdG9tZXIiOnt9LCJwYXltZW50TWV0aG9kIjp7InZhdWx0T25TdWNjZXNzIjpmYWxzZSwidmF1bHRPbjNEUyI6ZmFsc2UsIm9wdGlvbnMiOnsiUEFZUEFMIjp7InN1cmNoYXJnZSI6eyJhbW91bnQiOjB9fSwiUEFZTUVOVF9DQVJEIjp7Im5ldHdvcmtzIjp7I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C00MDA4NTM0OWU5ZGEiLCJhcGlWZXJzaW9uIjoiMi4yIiwiZW52IjoiQ1VTVE9NX1NUQUdJTkcifSwiaGVhZGxlc3NPcHRpb25zIjp7fSwibGl0Q29tcG9uZW50c09wdGlvbnMiOnsiZGlzYWJsZWRQYXltZW50cyI6ZmFsc2UsInNka0NvcmUiOmZhbHNlfX0='"
|
|
3264
|
+
"name": "o",
|
|
3265
|
+
"default": "e"
|
|
3275
3266
|
}
|
|
3276
3267
|
],
|
|
3277
3268
|
"exports": [
|
|
3278
3269
|
{
|
|
3279
3270
|
"kind": "js",
|
|
3280
|
-
"name": "
|
|
3271
|
+
"name": "templates",
|
|
3281
3272
|
"declaration": {
|
|
3282
|
-
"name": "
|
|
3283
|
-
"module": "
|
|
3273
|
+
"name": "o",
|
|
3274
|
+
"module": "dist/chunks/zh-HK.WNR7XUSX.js"
|
|
3284
3275
|
}
|
|
3285
3276
|
}
|
|
3286
3277
|
]
|
|
3287
3278
|
},
|
|
3288
3279
|
{
|
|
3289
3280
|
"kind": "javascript-module",
|
|
3290
|
-
"path": "
|
|
3291
|
-
"declarations": [
|
|
3292
|
-
|
|
3293
|
-
|
|
3294
|
-
|
|
3295
|
-
|
|
3296
|
-
|
|
3297
|
-
|
|
3298
|
-
"exports": [
|
|
3281
|
+
"path": "dist/chunks/zh-TW.GNCY2PNY.js",
|
|
3282
|
+
"declarations": [
|
|
3283
|
+
{
|
|
3284
|
+
"kind": "variable",
|
|
3285
|
+
"name": "o",
|
|
3286
|
+
"default": "e"
|
|
3287
|
+
}
|
|
3288
|
+
],
|
|
3289
|
+
"exports": [
|
|
3290
|
+
{
|
|
3291
|
+
"kind": "js",
|
|
3292
|
+
"name": "templates",
|
|
3293
|
+
"declaration": {
|
|
3294
|
+
"name": "o",
|
|
3295
|
+
"module": "dist/chunks/zh-TW.GNCY2PNY.js"
|
|
3296
|
+
}
|
|
3297
|
+
}
|
|
3298
|
+
]
|
|
3299
3299
|
},
|
|
3300
3300
|
{
|
|
3301
3301
|
"kind": "javascript-module",
|
|
@@ -4721,6 +4721,25 @@
|
|
|
4721
4721
|
],
|
|
4722
4722
|
"description": "Dispatch vault methods update event.\nCalled when vaulted payment methods are loaded or updated."
|
|
4723
4723
|
},
|
|
4724
|
+
{
|
|
4725
|
+
"kind": "method",
|
|
4726
|
+
"name": "dispatchVaultSelectionChange",
|
|
4727
|
+
"return": {
|
|
4728
|
+
"type": {
|
|
4729
|
+
"text": "void"
|
|
4730
|
+
}
|
|
4731
|
+
},
|
|
4732
|
+
"parameters": [
|
|
4733
|
+
{
|
|
4734
|
+
"name": "paymentMethodId",
|
|
4735
|
+
"type": {
|
|
4736
|
+
"text": "string | null"
|
|
4737
|
+
},
|
|
4738
|
+
"description": "ID of the selected payment method, or null if deselected"
|
|
4739
|
+
}
|
|
4740
|
+
],
|
|
4741
|
+
"description": "Dispatch vault selection change event.\nCalled when a vaulted payment method is selected or deselected."
|
|
4742
|
+
},
|
|
4724
4743
|
{
|
|
4725
4744
|
"kind": "method",
|
|
4726
4745
|
"name": "dispatchVaultSubmit",
|
|
@@ -4803,6 +4822,25 @@
|
|
|
4803
4822
|
}
|
|
4804
4823
|
],
|
|
4805
4824
|
"description": "Handle external show other payments toggle events and forward them through the event system.\nThis method provides a centralized way to process external toggle events\nthat come from custom buttons or external triggers."
|
|
4825
|
+
},
|
|
4826
|
+
{
|
|
4827
|
+
"kind": "method",
|
|
4828
|
+
"name": "dispatchShowOtherPaymentsToggled",
|
|
4829
|
+
"return": {
|
|
4830
|
+
"type": {
|
|
4831
|
+
"text": "void"
|
|
4832
|
+
}
|
|
4833
|
+
},
|
|
4834
|
+
"parameters": [
|
|
4835
|
+
{
|
|
4836
|
+
"name": "expanded",
|
|
4837
|
+
"type": {
|
|
4838
|
+
"text": "boolean"
|
|
4839
|
+
},
|
|
4840
|
+
"description": "Whether the accordion is now expanded"
|
|
4841
|
+
}
|
|
4842
|
+
],
|
|
4843
|
+
"description": "Dispatch show other payments toggled event.\nCalled when the \"Show other ways to pay\" accordion state changes."
|
|
4806
4844
|
}
|
|
4807
4845
|
]
|
|
4808
4846
|
}
|
|
@@ -4854,6 +4892,15 @@
|
|
|
4854
4892
|
"privacy": "private",
|
|
4855
4893
|
"default": "null"
|
|
4856
4894
|
},
|
|
4895
|
+
{
|
|
4896
|
+
"kind": "field",
|
|
4897
|
+
"name": "vaultController",
|
|
4898
|
+
"type": {
|
|
4899
|
+
"text": "VaultManagerController | null"
|
|
4900
|
+
},
|
|
4901
|
+
"privacy": "private",
|
|
4902
|
+
"default": "null"
|
|
4903
|
+
},
|
|
4857
4904
|
{
|
|
4858
4905
|
"kind": "field",
|
|
4859
4906
|
"name": "onPaymentStart",
|
|
@@ -4919,14 +4966,64 @@
|
|
|
4919
4966
|
"text": "(data: VaultedMethodsUpdateData) => void | undefined"
|
|
4920
4967
|
},
|
|
4921
4968
|
"privacy": "public",
|
|
4922
|
-
"description": "Called when vaulted payment methods are loaded or updated.\nReceives filtered vaulted payment method data with minimal PII exposure.\n\nUse for:\n- Building custom vault UI\n- Analytics tracking for vault usage\n- Syncing vault state with backend",
|
|
4969
|
+
"description": "Called when vaulted payment methods are loaded or updated.\nReceives filtered vaulted payment method data with minimal PII exposure.\n\nUse for:\n- Building custom vault UI\n- Determining if CVV recapture is required (check cvvRecapture flag)\n- Analytics tracking for vault usage\n- Syncing vault state with backend",
|
|
4923
4970
|
"parameters": [
|
|
4924
4971
|
{
|
|
4925
|
-
"description": "Vault methods update data with filtered payment methods",
|
|
4972
|
+
"description": "Vault methods update data with filtered payment methods and cvvRecapture flag",
|
|
4926
4973
|
"name": "data"
|
|
4927
4974
|
}
|
|
4928
4975
|
]
|
|
4929
4976
|
},
|
|
4977
|
+
{
|
|
4978
|
+
"kind": "method",
|
|
4979
|
+
"name": "createCvvInput",
|
|
4980
|
+
"return": {
|
|
4981
|
+
"type": {
|
|
4982
|
+
"text": ""
|
|
4983
|
+
}
|
|
4984
|
+
},
|
|
4985
|
+
"parameters": [
|
|
4986
|
+
{
|
|
4987
|
+
"name": "options",
|
|
4988
|
+
"type": {
|
|
4989
|
+
"text": "CardSecurityCodeInputOptions"
|
|
4990
|
+
},
|
|
4991
|
+
"description": "CVV input configuration"
|
|
4992
|
+
}
|
|
4993
|
+
],
|
|
4994
|
+
"description": "Creates a CVV input for vaulted payment method CVV recapture.\n\n⚠️ Requires vault to be initialized. Check vault availability via\nthe onVaultedMethodsUpdate callback before calling."
|
|
4995
|
+
},
|
|
4996
|
+
{
|
|
4997
|
+
"kind": "method",
|
|
4998
|
+
"name": "startVaultPayment",
|
|
4999
|
+
"return": {
|
|
5000
|
+
"type": {
|
|
5001
|
+
"text": ""
|
|
5002
|
+
}
|
|
5003
|
+
},
|
|
5004
|
+
"parameters": [
|
|
5005
|
+
{
|
|
5006
|
+
"name": "paymentMethodId",
|
|
5007
|
+
"type": {
|
|
5008
|
+
"text": "string"
|
|
5009
|
+
},
|
|
5010
|
+
"description": "The ID of the vaulted payment method"
|
|
5011
|
+
},
|
|
5012
|
+
{
|
|
5013
|
+
"name": "options",
|
|
5014
|
+
"optional": true,
|
|
5015
|
+
"type": {
|
|
5016
|
+
"text": "{ cvv?: string }"
|
|
5017
|
+
},
|
|
5018
|
+
"description": "Optional payment options"
|
|
5019
|
+
},
|
|
5020
|
+
{
|
|
5021
|
+
"description": "CVV value token (required if cvvRecapture is true)",
|
|
5022
|
+
"name": "options.cvv"
|
|
5023
|
+
}
|
|
5024
|
+
],
|
|
5025
|
+
"description": "Initiates payment using a vaulted payment method.\n\nEnables headless vault flows where merchants build custom vault UIs.\nMirrors the legacy SDK's vaultManager.startPaymentFlow()."
|
|
5026
|
+
},
|
|
4930
5027
|
{
|
|
4931
5028
|
"kind": "method",
|
|
4932
5029
|
"name": "refreshSession",
|
|
@@ -6309,9 +6406,9 @@
|
|
|
6309
6406
|
"kind": "variable",
|
|
6310
6407
|
"name": "PaymentMethodType",
|
|
6311
6408
|
"type": {
|
|
6312
|
-
"text": "{\n WORLDPAY_IDEAL: 'WORLDPAY_IDEAL',\n STRIPE_ACH: 'STRIPE_ACH',\n STRIPE_IDEAL: 'STRIPE_IDEAL',\n ADYEN_KLARNA: 'ADYEN_KLARNA',\n ADYEN_BANCONTACT_CARD: 'ADYEN_BANCONTACT_CARD',\n PAY_NL_KAARTDIRECT: 'PAY_NL_KAARTDIRECT',\n ADYEN_EPS: 'ADYEN_EPS',\n ADYEN_BANCONTACT_PAYCONIQ: 'ADYEN_BANCONTACT_PAYCONIQ',\n OMISE_PROMPTPAY: 'OMISE_PROMPTPAY',\n OMISE_TRUEMONEY: 'OMISE_TRUEMONEY',\n ADYEN_MULTIBANCO: 'ADYEN_MULTIBANCO',\n PACYPAY_WECHAT: 'PACYPAY_WECHAT',\n PACYPAY_ALIPAY: 'PACYPAY_ALIPAY',\n ADYEN_MBWAY: 'ADYEN_MBWAY',\n XENDIT_DANA: 'XENDIT_DANA',\n XENDIT_SHOPEEPAY: 'XENDIT_SHOPEEPAY',\n ADYEN_PAYSHOP: 'ADYEN_PAYSHOP',\n ADYEN_PAYTRAIL: 'ADYEN_PAYTRAIL',\n CLEARPAY: 'CLEARPAY',\n RAPYD_FAST: 'RAPYD_FAST',\n RAPYD_PROMPTPAY: 'RAPYD_PROMPTPAY',\n RAPYD_GCASH: 'RAPYD_GCASH',\n RAPYD_POLI: 'RAPYD_POLI',\n RAPYD_GRABPAY: 'RAPYD_GRABPAY',\n PRIMER_PAYPAL: 'PRIMER_PAYPAL',\n TWOC2P: 'TWOC2P',\n NETS: 'NETS',\n STRIPE_GIROPAY: 'STRIPE_GIROPAY',\n MOLLIE_GIROPAY: 'MOLLIE_GIROPAY',\n MOLLIE_EPS: 'MOLLIE_EPS',\n PAY_NL_EPS: 'PAY_NL_EPS',\n PAY_NL_P24: 'PAY_NL_P24',\n MOLLIE_P24: 'MOLLIE_P24',\n MOLLIE_SOFORT: 'MOLLIE_SOFORT',\n COINBASE: 'COINBASE',\n OPENNODE: 'OPENNODE',\n MOLLIE_GIFT_CARD: 'MOLLIE_GIFTCARD',\n XFERS_PAYNOW: 'XFERS_PAYNOW',\n PAYMENT_CARD: 'PAYMENT_CARD',\n APPLE_PAY: 'APPLE_PAY',\n GOOGLE_PAY: 'GOOGLE_PAY',\n PAYPAL: 'PAYPAL',\n GO_CARDLESS: 'GOCARDLESS',\n KLARNA: 'KLARNA',\n PAY_NL_IDEAL: 'PAY_NL_IDEAL',\n PAY_NL_SOFORT_BANKING: 'PAY_NL_SOFORT_BANKING',\n PAY_NL_BANCONTACT: 'PAY_NL_BANCONTACT',\n PAY_NL_PAYPAL: 'PAY_NL_PAYPAL',\n PAY_NL_CREDIT_TRANSFER: 'PAY_NL_CREDIT_TRANSFER',\n PAY_NL_DIRECT_DEBIT: 'PAY_NL_DIRECT_DEBIT',\n PAY_NL_GIROPAY: 'PAY_NL_GIROPAY',\n PAY_NL_PAYCONIQ: 'PAY_NL_PAYCONIQ',\n PAY_NL_RIVERTY: 'PAY_NL_RIVERTY',\n HOOLAH: 'HOOLAH',\n ADYEN_BLIK: 'ADYEN_BLIK',\n ADYEN_MOBILEPAY: 'ADYEN_MOBILEPAY',\n ADYEN_VIPPS: 'ADYEN_VIPPS',\n ADYEN_GIROPAY: 'ADYEN_GIROPAY',\n ADYEN_SOFORT: 'ADYEN_SOFORT',\n ADYEN_IDEAL: 'ADYEN_IDEAL',\n ADYEN_TRUSTLY: 'ADYEN_TRUSTLY',\n ADYEN_ALIPAY: 'ADYEN_ALIPAY',\n ADYEN_TWINT: 'ADYEN_TWINT',\n ADYEN_BANK_TRANSFER: 'ADYEN_BANK_TRANSFER',\n MOLLIE_BANCONTACT: 'MOLLIE_BANCONTACT',\n MOLLIE_IDEAL: 'MOLLIE_IDEAL',\n BUCKAROO_GIROPAY: 'BUCKAROO_GIROPAY',\n BUCKAROO_EPS: 'BUCKAROO_EPS',\n BUCKAROO_SOFORT: 'BUCKAROO_SOFORT',\n BUCKAROO_BANCONTACT: 'BUCKAROO_BANCONTACT',\n BUCKAROO_IDEAL: 'BUCKAROO_IDEAL',\n ATOME: 'ATOME',\n DLOCAL_PIX: 'DLOCAL_PIX',\n ALMA: 'ALMA',\n}"
|
|
6409
|
+
"text": "{\n WORLDPAY_IDEAL: 'WORLDPAY_IDEAL',\n STRIPE_ACH: 'STRIPE_ACH',\n STRIPE_IDEAL: 'STRIPE_IDEAL',\n ADYEN_KLARNA: 'ADYEN_KLARNA',\n ADYEN_BANCONTACT_CARD: 'ADYEN_BANCONTACT_CARD',\n PAY_NL_KAARTDIRECT: 'PAY_NL_KAARTDIRECT',\n ADYEN_EPS: 'ADYEN_EPS',\n ADYEN_BANCONTACT_PAYCONIQ: 'ADYEN_BANCONTACT_PAYCONIQ',\n OMISE_PROMPTPAY: 'OMISE_PROMPTPAY',\n OMISE_TRUEMONEY: 'OMISE_TRUEMONEY',\n ADYEN_MULTIBANCO: 'ADYEN_MULTIBANCO',\n PACYPAY_WECHAT: 'PACYPAY_WECHAT',\n PACYPAY_ALIPAY: 'PACYPAY_ALIPAY',\n ADYEN_MBWAY: 'ADYEN_MBWAY',\n XENDIT_DANA: 'XENDIT_DANA',\n XENDIT_SHOPEEPAY: 'XENDIT_SHOPEEPAY',\n ADYEN_PAYSHOP: 'ADYEN_PAYSHOP',\n ADYEN_PAYTRAIL: 'ADYEN_PAYTRAIL',\n CLEARPAY: 'CLEARPAY',\n RAPYD_FAST: 'RAPYD_FAST',\n RAPYD_PROMPTPAY: 'RAPYD_PROMPTPAY',\n RAPYD_GCASH: 'RAPYD_GCASH',\n RAPYD_POLI: 'RAPYD_POLI',\n RAPYD_GRABPAY: 'RAPYD_GRABPAY',\n PRIMER_PAYPAL: 'PRIMER_PAYPAL',\n TWOC2P: 'TWOC2P',\n NETS: 'NETS',\n STRIPE_GIROPAY: 'STRIPE_GIROPAY',\n MOLLIE_GIROPAY: 'MOLLIE_GIROPAY',\n MOLLIE_EPS: 'MOLLIE_EPS',\n PAY_NL_EPS: 'PAY_NL_EPS',\n PAY_NL_P24: 'PAY_NL_P24',\n MOLLIE_P24: 'MOLLIE_P24',\n MOLLIE_SOFORT: 'MOLLIE_SOFORT',\n COINBASE: 'COINBASE',\n OPENNODE: 'OPENNODE',\n MOLLIE_GIFT_CARD: 'MOLLIE_GIFTCARD',\n XFERS_PAYNOW: 'XFERS_PAYNOW',\n PAYMENT_CARD: 'PAYMENT_CARD',\n APPLE_PAY: 'APPLE_PAY',\n GOOGLE_PAY: 'GOOGLE_PAY',\n PAYPAL: 'PAYPAL',\n GO_CARDLESS: 'GOCARDLESS',\n KLARNA: 'KLARNA',\n PAY_NL_IDEAL: 'PAY_NL_IDEAL',\n PAY_NL_SOFORT_BANKING: 'PAY_NL_SOFORT_BANKING',\n PAY_NL_BANCONTACT: 'PAY_NL_BANCONTACT',\n PAY_NL_PAYPAL: 'PAY_NL_PAYPAL',\n PAY_NL_CREDIT_TRANSFER: 'PAY_NL_CREDIT_TRANSFER',\n PAY_NL_DIRECT_DEBIT: 'PAY_NL_DIRECT_DEBIT',\n PAY_NL_GIROPAY: 'PAY_NL_GIROPAY',\n PAY_NL_PAYCONIQ: 'PAY_NL_PAYCONIQ',\n PAY_NL_RIVERTY: 'PAY_NL_RIVERTY',\n HOOLAH: 'HOOLAH',\n ADYEN_BLIK: 'ADYEN_BLIK',\n ADYEN_MOBILEPAY: 'ADYEN_MOBILEPAY',\n ADYEN_VIPPS: 'ADYEN_VIPPS',\n ADYEN_GIROPAY: 'ADYEN_GIROPAY',\n ADYEN_SOFORT: 'ADYEN_SOFORT',\n ADYEN_IDEAL: 'ADYEN_IDEAL',\n ADYEN_TRUSTLY: 'ADYEN_TRUSTLY',\n ADYEN_ALIPAY: 'ADYEN_ALIPAY',\n ADYEN_TWINT: 'ADYEN_TWINT',\n ADYEN_BANK_TRANSFER: 'ADYEN_BANK_TRANSFER',\n MOLLIE_BANCONTACT: 'MOLLIE_BANCONTACT',\n MOLLIE_IDEAL: 'MOLLIE_IDEAL',\n BUCKAROO_GIROPAY: 'BUCKAROO_GIROPAY',\n BUCKAROO_EPS: 'BUCKAROO_EPS',\n BUCKAROO_SOFORT: 'BUCKAROO_SOFORT',\n BUCKAROO_BANCONTACT: 'BUCKAROO_BANCONTACT',\n BUCKAROO_IDEAL: 'BUCKAROO_IDEAL',\n ATOME: 'ATOME',\n DLOCAL_PIX: 'DLOCAL_PIX',\n ALMA: 'ALMA',\n ADYEN_CASHAPP: 'ADYEN_CASHAPP',\n ADYEN_AFFIRM: 'ADYEN_AFFIRM',\n}"
|
|
6313
6410
|
},
|
|
6314
|
-
"default": "{ WORLDPAY_IDEAL: 'WORLDPAY_IDEAL', STRIPE_ACH: 'STRIPE_ACH', STRIPE_IDEAL: 'STRIPE_IDEAL', ADYEN_KLARNA: 'ADYEN_KLARNA', ADYEN_BANCONTACT_CARD: 'ADYEN_BANCONTACT_CARD', PAY_NL_KAARTDIRECT: 'PAY_NL_KAARTDIRECT', ADYEN_EPS: 'ADYEN_EPS', ADYEN_BANCONTACT_PAYCONIQ: 'ADYEN_BANCONTACT_PAYCONIQ', OMISE_PROMPTPAY: 'OMISE_PROMPTPAY', OMISE_TRUEMONEY: 'OMISE_TRUEMONEY', ADYEN_MULTIBANCO: 'ADYEN_MULTIBANCO', PACYPAY_WECHAT: 'PACYPAY_WECHAT', PACYPAY_ALIPAY: 'PACYPAY_ALIPAY', ADYEN_MBWAY: 'ADYEN_MBWAY', XENDIT_DANA: 'XENDIT_DANA', XENDIT_SHOPEEPAY: 'XENDIT_SHOPEEPAY', ADYEN_PAYSHOP: 'ADYEN_PAYSHOP', ADYEN_PAYTRAIL: 'ADYEN_PAYTRAIL', CLEARPAY: 'CLEARPAY', RAPYD_FAST: 'RAPYD_FAST', RAPYD_PROMPTPAY: 'RAPYD_PROMPTPAY', RAPYD_GCASH: 'RAPYD_GCASH', RAPYD_POLI: 'RAPYD_POLI', RAPYD_GRABPAY: 'RAPYD_GRABPAY', PRIMER_PAYPAL: 'PRIMER_PAYPAL', TWOC2P: 'TWOC2P', NETS: 'NETS', STRIPE_GIROPAY: 'STRIPE_GIROPAY', MOLLIE_GIROPAY: 'MOLLIE_GIROPAY', MOLLIE_EPS: 'MOLLIE_EPS', PAY_NL_EPS: 'PAY_NL_EPS', PAY_NL_P24: 'PAY_NL_P24', MOLLIE_P24: 'MOLLIE_P24', MOLLIE_SOFORT: 'MOLLIE_SOFORT', COINBASE: 'COINBASE', OPENNODE: 'OPENNODE', MOLLIE_GIFT_CARD: 'MOLLIE_GIFTCARD', XFERS_PAYNOW: 'XFERS_PAYNOW', PAYMENT_CARD: 'PAYMENT_CARD', APPLE_PAY: 'APPLE_PAY', GOOGLE_PAY: 'GOOGLE_PAY', PAYPAL: 'PAYPAL', GO_CARDLESS: 'GOCARDLESS', KLARNA: 'KLARNA', PAY_NL_IDEAL: 'PAY_NL_IDEAL', PAY_NL_SOFORT_BANKING: 'PAY_NL_SOFORT_BANKING', PAY_NL_BANCONTACT: 'PAY_NL_BANCONTACT', PAY_NL_PAYPAL: 'PAY_NL_PAYPAL', PAY_NL_CREDIT_TRANSFER: 'PAY_NL_CREDIT_TRANSFER', PAY_NL_DIRECT_DEBIT: 'PAY_NL_DIRECT_DEBIT', PAY_NL_GIROPAY: 'PAY_NL_GIROPAY', PAY_NL_PAYCONIQ: 'PAY_NL_PAYCONIQ', PAY_NL_RIVERTY: 'PAY_NL_RIVERTY', HOOLAH: 'HOOLAH', ADYEN_BLIK: 'ADYEN_BLIK', ADYEN_MOBILEPAY: 'ADYEN_MOBILEPAY', ADYEN_VIPPS: 'ADYEN_VIPPS', ADYEN_GIROPAY: 'ADYEN_GIROPAY', ADYEN_SOFORT: 'ADYEN_SOFORT', ADYEN_IDEAL: 'ADYEN_IDEAL', ADYEN_TRUSTLY: 'ADYEN_TRUSTLY', ADYEN_ALIPAY: 'ADYEN_ALIPAY', ADYEN_TWINT: 'ADYEN_TWINT', ADYEN_BANK_TRANSFER: 'ADYEN_BANK_TRANSFER', MOLLIE_BANCONTACT: 'MOLLIE_BANCONTACT', MOLLIE_IDEAL: 'MOLLIE_IDEAL', BUCKAROO_GIROPAY: 'BUCKAROO_GIROPAY', BUCKAROO_EPS: 'BUCKAROO_EPS', BUCKAROO_SOFORT: 'BUCKAROO_SOFORT', BUCKAROO_BANCONTACT: 'BUCKAROO_BANCONTACT', BUCKAROO_IDEAL: 'BUCKAROO_IDEAL', ATOME: 'ATOME', DLOCAL_PIX: 'DLOCAL_PIX', ALMA: 'ALMA', }"
|
|
6411
|
+
"default": "{ WORLDPAY_IDEAL: 'WORLDPAY_IDEAL', STRIPE_ACH: 'STRIPE_ACH', STRIPE_IDEAL: 'STRIPE_IDEAL', ADYEN_KLARNA: 'ADYEN_KLARNA', ADYEN_BANCONTACT_CARD: 'ADYEN_BANCONTACT_CARD', PAY_NL_KAARTDIRECT: 'PAY_NL_KAARTDIRECT', ADYEN_EPS: 'ADYEN_EPS', ADYEN_BANCONTACT_PAYCONIQ: 'ADYEN_BANCONTACT_PAYCONIQ', OMISE_PROMPTPAY: 'OMISE_PROMPTPAY', OMISE_TRUEMONEY: 'OMISE_TRUEMONEY', ADYEN_MULTIBANCO: 'ADYEN_MULTIBANCO', PACYPAY_WECHAT: 'PACYPAY_WECHAT', PACYPAY_ALIPAY: 'PACYPAY_ALIPAY', ADYEN_MBWAY: 'ADYEN_MBWAY', XENDIT_DANA: 'XENDIT_DANA', XENDIT_SHOPEEPAY: 'XENDIT_SHOPEEPAY', ADYEN_PAYSHOP: 'ADYEN_PAYSHOP', ADYEN_PAYTRAIL: 'ADYEN_PAYTRAIL', CLEARPAY: 'CLEARPAY', RAPYD_FAST: 'RAPYD_FAST', RAPYD_PROMPTPAY: 'RAPYD_PROMPTPAY', RAPYD_GCASH: 'RAPYD_GCASH', RAPYD_POLI: 'RAPYD_POLI', RAPYD_GRABPAY: 'RAPYD_GRABPAY', PRIMER_PAYPAL: 'PRIMER_PAYPAL', TWOC2P: 'TWOC2P', NETS: 'NETS', STRIPE_GIROPAY: 'STRIPE_GIROPAY', MOLLIE_GIROPAY: 'MOLLIE_GIROPAY', MOLLIE_EPS: 'MOLLIE_EPS', PAY_NL_EPS: 'PAY_NL_EPS', PAY_NL_P24: 'PAY_NL_P24', MOLLIE_P24: 'MOLLIE_P24', MOLLIE_SOFORT: 'MOLLIE_SOFORT', COINBASE: 'COINBASE', OPENNODE: 'OPENNODE', MOLLIE_GIFT_CARD: 'MOLLIE_GIFTCARD', XFERS_PAYNOW: 'XFERS_PAYNOW', PAYMENT_CARD: 'PAYMENT_CARD', APPLE_PAY: 'APPLE_PAY', GOOGLE_PAY: 'GOOGLE_PAY', PAYPAL: 'PAYPAL', GO_CARDLESS: 'GOCARDLESS', KLARNA: 'KLARNA', PAY_NL_IDEAL: 'PAY_NL_IDEAL', PAY_NL_SOFORT_BANKING: 'PAY_NL_SOFORT_BANKING', PAY_NL_BANCONTACT: 'PAY_NL_BANCONTACT', PAY_NL_PAYPAL: 'PAY_NL_PAYPAL', PAY_NL_CREDIT_TRANSFER: 'PAY_NL_CREDIT_TRANSFER', PAY_NL_DIRECT_DEBIT: 'PAY_NL_DIRECT_DEBIT', PAY_NL_GIROPAY: 'PAY_NL_GIROPAY', PAY_NL_PAYCONIQ: 'PAY_NL_PAYCONIQ', PAY_NL_RIVERTY: 'PAY_NL_RIVERTY', HOOLAH: 'HOOLAH', ADYEN_BLIK: 'ADYEN_BLIK', ADYEN_MOBILEPAY: 'ADYEN_MOBILEPAY', ADYEN_VIPPS: 'ADYEN_VIPPS', ADYEN_GIROPAY: 'ADYEN_GIROPAY', ADYEN_SOFORT: 'ADYEN_SOFORT', ADYEN_IDEAL: 'ADYEN_IDEAL', ADYEN_TRUSTLY: 'ADYEN_TRUSTLY', ADYEN_ALIPAY: 'ADYEN_ALIPAY', ADYEN_TWINT: 'ADYEN_TWINT', ADYEN_BANK_TRANSFER: 'ADYEN_BANK_TRANSFER', MOLLIE_BANCONTACT: 'MOLLIE_BANCONTACT', MOLLIE_IDEAL: 'MOLLIE_IDEAL', BUCKAROO_GIROPAY: 'BUCKAROO_GIROPAY', BUCKAROO_EPS: 'BUCKAROO_EPS', BUCKAROO_SOFORT: 'BUCKAROO_SOFORT', BUCKAROO_BANCONTACT: 'BUCKAROO_BANCONTACT', BUCKAROO_IDEAL: 'BUCKAROO_IDEAL', ATOME: 'ATOME', DLOCAL_PIX: 'DLOCAL_PIX', ALMA: 'ALMA', ADYEN_CASHAPP: 'ADYEN_CASHAPP', ADYEN_AFFIRM: 'ADYEN_AFFIRM', }"
|
|
6315
6412
|
}
|
|
6316
6413
|
],
|
|
6317
6414
|
"exports": [
|
|
@@ -12936,7 +13033,7 @@
|
|
|
12936
13033
|
}
|
|
12937
13034
|
}
|
|
12938
13035
|
],
|
|
12939
|
-
"description": "Determines if a button is a toggle button based on its
|
|
13036
|
+
"description": "Determines if a button is a toggle button based on its slot assignment\nOnly buttons in the 'show-other-payments-toggle-button' slot are toggle buttons\nThis prevents accidentally capturing other buttons like submit buttons"
|
|
12940
13037
|
},
|
|
12941
13038
|
{
|
|
12942
13039
|
"kind": "field",
|
|
@@ -13033,7 +13130,7 @@
|
|
|
13033
13130
|
],
|
|
13034
13131
|
"events": [
|
|
13035
13132
|
{
|
|
13036
|
-
"name": "show-other-payments-toggled",
|
|
13133
|
+
"name": "primer:show-other-payments-toggled",
|
|
13037
13134
|
"type": {
|
|
13038
13135
|
"text": "CustomEvent"
|
|
13039
13136
|
}
|
|
@@ -13786,7 +13883,7 @@
|
|
|
13786
13883
|
"type": {
|
|
13787
13884
|
"text": "VaultManagerState"
|
|
13788
13885
|
},
|
|
13789
|
-
"default": "{ enabled: false, isLoading: false, isUpdating: false, cvvRecapture: false, showEmptyState:
|
|
13886
|
+
"default": "{ enabled: false, isLoading: false, isUpdating: false, cvvRecapture: false, showEmptyState: false, headless: false, vaultedPaymentMethods: [], createCvvInput: null, deleteVaultedPaymentMethod: () => Promise.resolve(), startVaultedPaymentFlow: () => Promise.resolve(), }",
|
|
13790
13887
|
"description": "Initial state for the VaultManager (core functionality)"
|
|
13791
13888
|
},
|
|
13792
13889
|
{
|
|
@@ -14002,6 +14099,21 @@
|
|
|
14002
14099
|
"name": "setSelectedVaultedPaymentMethod",
|
|
14003
14100
|
"description": "Set the selected vaulted payment method - updates form state only"
|
|
14004
14101
|
},
|
|
14102
|
+
{
|
|
14103
|
+
"kind": "field",
|
|
14104
|
+
"name": "startVaultPaymentById",
|
|
14105
|
+
"description": "Start vaulted payment flow by payment method ID",
|
|
14106
|
+
"parameters": [
|
|
14107
|
+
{
|
|
14108
|
+
"description": "The ID of the vaulted payment method",
|
|
14109
|
+
"name": "paymentMethodId"
|
|
14110
|
+
},
|
|
14111
|
+
{
|
|
14112
|
+
"description": "Optional payment options including CVV token",
|
|
14113
|
+
"name": "options"
|
|
14114
|
+
}
|
|
14115
|
+
]
|
|
14116
|
+
},
|
|
14005
14117
|
{
|
|
14006
14118
|
"kind": "field",
|
|
14007
14119
|
"name": "_controllers",
|
|
@@ -14180,7 +14292,7 @@
|
|
|
14180
14292
|
"type": {
|
|
14181
14293
|
"text": "VaultManagerState"
|
|
14182
14294
|
},
|
|
14183
|
-
"default": "{ enabled: false, isLoading: false, isUpdating: false, cvvRecapture: false, showEmptyState:
|
|
14295
|
+
"default": "{ enabled: false, isLoading: false, isUpdating: false, cvvRecapture: false, showEmptyState: false, headless: false, vaultedPaymentMethods: [], createCvvInput: null, deleteVaultedPaymentMethod: () => Promise.resolve(), startVaultedPaymentFlow: () => Promise.resolve(), }",
|
|
14184
14296
|
"description": "Initial state for the VaultManager (core functionality)"
|
|
14185
14297
|
},
|
|
14186
14298
|
{
|
|
@@ -18355,71 +18467,6 @@
|
|
|
18355
18467
|
}
|
|
18356
18468
|
]
|
|
18357
18469
|
},
|
|
18358
|
-
{
|
|
18359
|
-
"kind": "javascript-module",
|
|
18360
|
-
"path": "src/containers/vault-manager/components/vault-empty-state/vault-empty-state.component.ts",
|
|
18361
|
-
"declarations": [
|
|
18362
|
-
{
|
|
18363
|
-
"kind": "class",
|
|
18364
|
-
"description": "VaultEmptyStateComponent - displays when no payment methods are available",
|
|
18365
|
-
"name": "VaultEmptyStateComponent",
|
|
18366
|
-
"members": [],
|
|
18367
|
-
"superclass": {
|
|
18368
|
-
"name": "LitElement",
|
|
18369
|
-
"package": "lit"
|
|
18370
|
-
},
|
|
18371
|
-
"tagName": "primer-vault-empty-state",
|
|
18372
|
-
"customElement": true
|
|
18373
|
-
}
|
|
18374
|
-
],
|
|
18375
|
-
"exports": [
|
|
18376
|
-
{
|
|
18377
|
-
"kind": "js",
|
|
18378
|
-
"name": "VaultEmptyStateComponent",
|
|
18379
|
-
"declaration": {
|
|
18380
|
-
"name": "VaultEmptyStateComponent",
|
|
18381
|
-
"module": "src/containers/vault-manager/components/vault-empty-state/vault-empty-state.component.ts"
|
|
18382
|
-
}
|
|
18383
|
-
},
|
|
18384
|
-
{
|
|
18385
|
-
"kind": "custom-element-definition",
|
|
18386
|
-
"name": "primer-vault-empty-state",
|
|
18387
|
-
"declaration": {
|
|
18388
|
-
"name": "VaultEmptyStateComponent",
|
|
18389
|
-
"module": "src/containers/vault-manager/components/vault-empty-state/vault-empty-state.component.ts"
|
|
18390
|
-
}
|
|
18391
|
-
}
|
|
18392
|
-
]
|
|
18393
|
-
},
|
|
18394
|
-
{
|
|
18395
|
-
"kind": "javascript-module",
|
|
18396
|
-
"path": "src/containers/vault-manager/components/vault-empty-state/vault-empty-state.styles.ts",
|
|
18397
|
-
"declarations": [],
|
|
18398
|
-
"exports": [
|
|
18399
|
-
{
|
|
18400
|
-
"kind": "js",
|
|
18401
|
-
"name": "default",
|
|
18402
|
-
"declaration": {
|
|
18403
|
-
"module": "src/containers/vault-manager/components/vault-empty-state/vault-empty-state.styles.ts"
|
|
18404
|
-
}
|
|
18405
|
-
}
|
|
18406
|
-
]
|
|
18407
|
-
},
|
|
18408
|
-
{
|
|
18409
|
-
"kind": "javascript-module",
|
|
18410
|
-
"path": "src/containers/vault-manager/components/vault-empty-state/vault-empty-state.ts",
|
|
18411
|
-
"declarations": [],
|
|
18412
|
-
"exports": [
|
|
18413
|
-
{
|
|
18414
|
-
"kind": "js",
|
|
18415
|
-
"name": "VaultEmptyState",
|
|
18416
|
-
"declaration": {
|
|
18417
|
-
"name": "VaultEmptyStateComponent",
|
|
18418
|
-
"module": "src/containers/vault-manager/components/vault-empty-state/vault-empty-state.ts"
|
|
18419
|
-
}
|
|
18420
|
-
}
|
|
18421
|
-
]
|
|
18422
|
-
},
|
|
18423
18470
|
{
|
|
18424
18471
|
"kind": "javascript-module",
|
|
18425
18472
|
"path": "src/containers/vault-manager/components/vault-error-message/vault-error-message.component.ts",
|
|
@@ -18528,6 +18575,71 @@
|
|
|
18528
18575
|
}
|
|
18529
18576
|
]
|
|
18530
18577
|
},
|
|
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
|
+
},
|
|
18531
18643
|
{
|
|
18532
18644
|
"kind": "javascript-module",
|
|
18533
18645
|
"path": "src/containers/vault-manager/components/vault-manager-header/vault-manager-header.component.ts",
|