@alipay/ams-checkout 0.0.1730878287-dev.6 → 0.0.1730878287-dev.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/umd/ams-checkout.min.js +1 -1
- package/esm/config/index.d.ts +4 -4
- package/esm/config/index.js +4 -4
- package/esm/core/component/element/components/auth.js +2 -1
- package/esm/core/component/element/index.js +52 -16
- package/esm/core/component/element/mock.d.ts +1 -0
- package/esm/core/component/element/mock.js +331 -996
- package/esm/core/component/element/type.d.ts +1 -0
- package/esm/core/component/element/type.js +1 -0
- package/esm/plugin/component/index.d.ts +1 -0
- package/esm/plugin/component/index.js +42 -10
- package/package.json +1 -1
- package/esm/core/component/element/element-mock.d.ts +0 -2
- package/esm/core/component/element/element-mock.js +0 -263
@@ -1,211 +1,67 @@
|
|
1
1
|
export var sdkAction = {
|
2
|
+
accountInfo: {
|
3
|
+
accountStatus: 'EFFECTIVE',
|
4
|
+
email: 'test10@test.com'
|
5
|
+
},
|
2
6
|
amountConfirmRequired: false,
|
3
7
|
autoDebitWithToken: false,
|
4
8
|
errorActions: {},
|
5
|
-
|
6
|
-
shippingPhoneNo: '18909667590',
|
7
|
-
shippingName: {
|
8
|
-
firstName: 'Li',
|
9
|
-
middleName: 'add',
|
10
|
-
lastName: 'sdd',
|
11
|
-
fullName: 'fo'
|
12
|
-
},
|
13
|
-
shippingFee: {
|
14
|
-
amount: '1000',
|
15
|
-
currency: 'KRW',
|
16
|
-
currencyLabel: '₩',
|
17
|
-
formattedAmount: '1,000',
|
18
|
-
formattedAmountWithCurrency: '₩ 1,000',
|
19
|
-
value: '1000'
|
20
|
-
},
|
21
|
-
shippingFeeView: {
|
22
|
-
currency: 'KRW',
|
23
|
-
currencyDivider: ' ',
|
24
|
-
currencyLabel: '¥',
|
25
|
-
currencySymbolPosition: 'L',
|
26
|
-
formattedValue: '1,000',
|
27
|
-
value: '1000'
|
28
|
-
},
|
29
|
-
shippingFeeId: '1213132132131',
|
30
|
-
shippingDescription: 'delivdery in 3 ~ 7 days',
|
31
|
-
deliveryEstimate: {
|
32
|
-
minimum: {
|
33
|
-
unit: 'DAY',
|
34
|
-
value: 3
|
35
|
-
},
|
36
|
-
maximum: {
|
37
|
-
unit: 'DAY',
|
38
|
-
value: 7
|
39
|
-
}
|
40
|
-
}
|
41
|
-
},
|
42
|
-
extendInfo: '{"displayLayout":"RIGHT_ORDER_AND_LEFT_PAYMENT","displayAntomLogo":"true","themeType":"LIGHT","OPEN_MULTI_PAYMENT_ABILITY":"true"}',
|
43
|
-
pageStyle: {
|
44
|
-
storePolicies: '["{\\"title\\":\\"Legal\\",\\"content\\":[{\\"title\\":\\"Brand legal policies\\",\\"content\\":\\"<ol><li>View Brand’s <a href=\\\\\\"https://www.baidu.com/\\\\\\"target=\\\\\\"_blank\\\\\\">terms of sevice</a>and <a href=\\\\\\"https://www.baidu.com/\\\\\\"target=\\\\\\"_blank\\\\\\">privacy policy.</a></li></ol>\\"},{\\"title\\":\\"Payment terms\\",\\"content\\":\\"<ol><li>VAll payments are securely processed by Antom. View Antom’s <a href=\\\\\\"https://www.baidu.com/\\\\\\"target=\\\\\\"_blank\\\\\\">terms and privacy policies</a></li></ol>\\"}]}","{\\"title\\":\\"Returns\\",\\"content\\":[{\\"title\\":\\"Returns\\",\\"content\\":\\"<ol><li>• eligible for a full refund or exchange</li><li>• Returns accepted within 60 days of delivery</li><li>• Instant return label provided</li><li>• Exceptions apply on certain items</li><li>• <a href=\\\\\\"https://www.baidu.com/\\\\\\"target=\\\\\\"_blank\\\\\\">terms of sevice</a>and <a href=\\\\\\"https://www.baidu.com/\\\\\\"target=\\\\\\"_blank\\\\\\">View full Policy</a></li></ol>\\"}]}","{\\"title\\":\\"Delivery\\",\\"content\\":[{\\"title\\":\\"Delivery service\\",\\"content\\":\\"<ol><li>• Delivery fee is covered by merchant</li><li>• It will be shipped out within<a href=\\\\\\"https://www.baidu.com/\\\\\\"target=\\\\\\"_blank\\\\\\"> 48 hours after purchase</a></li></ol>\\"}]}","{\\"title\\":\\"Contact\\",\\"content\\":[{\\"title\\":\\"Contact support\\",\\"content\\":\\"<ol><li>If you have questions, visit<a href=\\\\\\"https://www.baidu.com/\\\\\\"target=\\\\\\"_blank\\\\\\"> our website.</a></li><li>You can also email us at<a href=\\\\\\"https://www.baidu.com/\\\\\\"tar get=\\\\\\"_blank\\\\\\"> Support@Brand.com</a> or call <a href=\\\\\\"https://www.baidu.com/\\\\\\"target=\\\\\\"_blank\\\\\\"> our website.</a></li><li>You can also email us at<a href=\\\\\\"https://www.baidu.com/\\\\\\"target=\\\\\\"_blank\\\\\\">+63 1234567890</a></li></ol>\\"}]}"]',
|
45
|
-
displayModules: '["PAYMENT_METHOD","ORDER_SUMMARY"]',
|
46
|
-
checkoutSettings: {
|
47
|
-
addressAutoComplete: true,
|
48
|
-
publicDetail: {
|
49
|
-
legalBusinessName: 'Lazada Group',
|
50
|
-
businessName: 'Lazada'
|
51
|
-
},
|
52
|
-
paymentSettings: {
|
53
|
-
displayExpressCheckout: true,
|
54
|
-
allowPromotion: true,
|
55
|
-
collectCustomerEmail: true,
|
56
|
-
collectCustomerPhoneNo: true,
|
57
|
-
collectShippingPhoneNo: true,
|
58
|
-
collectShipping: false,
|
59
|
-
displayAntomLogo: false,
|
60
|
-
displayLanguage: true,
|
61
|
-
defaultLanguage: 'en_US',
|
62
|
-
redirectToMerchant: true,
|
63
|
-
paymentRedirectUrl: 'https://www.baidu.com',
|
64
|
-
customFields: '[{"labelCondition":"REQUIRED","labelName":"Email","labelType":"TEXT"},{"labelCondition":"REQUIRED","labelName":"Phone","labelType":"TEXT","maxLength":"10"},{"labelCondition":"OPTIONAL","labelName":"text","labelType":"TEXT","picLink":"http://100.88.104.107:8081/download?bucketName=ipay-ipaycrm-attachment&key=20240409009064IMHfddb5c80546255ba3fbf3e863143c033_f5Y666Uq_20240402143510.jpg&expires=2028168020&accessKeyId=FM49eWrrO8EFqUO4&signature=Kv14cuWEiKfJaIfIG2oq5g5xIaw%3D&signatureType=OBJECT","picTip":"测试","maxLength":"24"},{"labelCondition":"REQUIRED","labelName":"Region","labelType":"DROPDOWN","options":["US","CHINA","EU","SG","SU"],"picLink":"http://100.88.104.107:8081/download?bucketName=ipay-ipaycrm-attachment&key=20240409009064IMH981c1b61ecd035fc2eb43422e7b7d0fb_S5Lq34L8_20240313104238.jpg&expires=2028168113&accessKeyId=FM49eWrrO8EFqUO4&signature=Grdi5EIWHJ8rX64dZnQfPwBrLn0%3D&signatureType=OBJECT","picTip":"ss"}]'
|
65
|
-
},
|
66
|
-
displaySettings: {
|
67
|
-
useLogo: false,
|
68
|
-
themeType: 'NIGHT',
|
69
|
-
backgroundColor: '#1e2953',
|
70
|
-
accentColor: '#669671',
|
71
|
-
font: 'INTER',
|
72
|
-
shape: 'SHARP',
|
73
|
-
displayLayout: 'RIGHT_ORDER_AND_LEFT_PAYMENT'
|
74
|
-
}
|
75
|
-
}
|
76
|
-
},
|
9
|
+
extendInfo: {},
|
77
10
|
links: {
|
78
|
-
policyInfo: '[{"title":"法律","content":[{"icon":"https://cdn.marmot-cloud.com/storage/2024/6/18/b24b3e10-d2af-4041-8e21-61b7e736d7a8.svg","title":"商店的法律政策","content":"<p>长文案长文案长文案长文案长文案长文案长文案长文案长文案长文案长文案长文案长文案长文案长文案长文案长文案长文案长文案长文案长文案长文案长文案长文案长文案长文案长文案长文案长文案长文案长文案长文案长文案长文案长文案长文案长文案长文案长文案长文案长文案长文案长文案长文案长文案长文案长文案长文案长文案长文案长文案长文案长文案长文案长文案长文案长文案长文案长文案长文案长文案长文案长文案长文案长文案长文案长文案长文案长文案长文案长文案长文案长文案长文案长文案长文案长文案长文案长文案长文案长文案长文案长文案长文案长文案长文案长文案长文案长文案长文案长文案长文案长文案长文案长文案长文案长文案长文案长文案长文案长文案长文案长文案长文案长文案长文案长文案长文案长文案长文案长文案长文案长文案长文案长文案长文案长文案长文案长文案长文案长文案长文案长文案长文案长文案长文案长文案长文案长文案长文案长文案长文案长文案长文案长文案长文案长文案长文案长文案长文案长文案长文案长文案长文案长文案长文案长文案长文案长文案长文案长文案长文案长文案长文案长文案长文案长文案长文案长文案长文案长文案长文案长文案长文案长文案长文案长文案长文案长文案长文案长文案长文案长文案长文案长文案长文案长文案长文案长文案长文案长文案长文案长文案长文案长文案长文案长文案长文案长文案长文案长文案长文案长文案长文案长文案长文案长文案长文案长文案长文案长文案长文案长文案长文案长文案长文案长文案长文案长文案长文案长文案长文案长文案长文案长文案长文案长文案长文案查看商店的 <a href=https://www.baidu.com target=\\"_blank\\">Terms of service</a> 和 <a href=https://www.baidu.com target=\\"_blank\\">Privacy policy</a>.</p>"}]},{"title":"退换商品","content":[{"icon":"https://cdn.marmot-cloud.com/storage/2024/6/18/a4914c45-f5e3-4c58-9a06-d84faf20efed.svg","title":"退货和换货","content":"<ul><li>Items are eligible for a 14–day free return.</li><li>Items are eligible for a 30–day free exchange.</li><li>在某些情况下提供退款.</li><li>查看我们的全额退货和退款政策 <a href=https://www.baidu.com target=\\"_blank\\">HERE</a></li><li>例外情况可能适用于某些项目.</li><li>提供要在“商店策略”页面下显示的其他退货策略.</li></ul>"}]},{"title":"联系我们","content":[{"icon":"https://cdn.marmot-cloud.com/storage/2024/6/18/1dc4577a-234f-4014-92ef-63f34ca916e8.svg","title":"客户支持联系人","content":"<p>如果您有问题,请访问 <a href=https://www.souhu.com target=\\"_blank\\">our website</a>. 您也可以发送电子邮件至 <a href=mailto:support@gmail.com target=\\"_blank\\">Support@Brand.com</a> 或者打电话给我们 <a href=tel:86-13564789076 target=\\"_blank\\">86-13564789076</a> 寻求进一步协助.</p>"}]}]',
|
79
11
|
privacyLink: 'https://render.alipay.com/p/c/180021490000000150/index.html?agreementId=GL00100002',
|
80
12
|
cookieLink: 'https://render.alipay.com/p/c/180021490000000147/index.html?agreementId=GL00100001'
|
81
13
|
},
|
82
14
|
needInstallmentAbility: false,
|
83
|
-
needOtherElements:
|
15
|
+
needOtherElements: true,
|
16
|
+
openPopPaymentRetryAbility: 'Y',
|
84
17
|
orderAmount: {
|
85
|
-
amount: '
|
86
|
-
currency: '
|
87
|
-
currencyLabel: '
|
88
|
-
formattedAmount: '
|
89
|
-
formattedAmountWithCurrency: '
|
90
|
-
value: '
|
18
|
+
amount: '289.86',
|
19
|
+
currency: 'USD',
|
20
|
+
currencyLabel: 'US $',
|
21
|
+
formattedAmount: '289.86',
|
22
|
+
formattedAmountWithCurrency: 'US $289.86',
|
23
|
+
value: '28986'
|
91
24
|
},
|
92
25
|
orderAmountView: {
|
93
|
-
currency: '
|
26
|
+
currency: 'USD',
|
94
27
|
currencyDivider: ' ',
|
95
|
-
currencyLabel: '
|
96
|
-
currencySymbolPosition: '
|
97
|
-
formattedValue: '
|
98
|
-
value: '
|
28
|
+
currencyLabel: '$',
|
29
|
+
currencySymbolPosition: 'L',
|
30
|
+
formattedValue: '289.86',
|
31
|
+
value: '289.86'
|
99
32
|
},
|
100
33
|
paymentAmount: {
|
101
|
-
amount: '
|
102
|
-
currency: '
|
103
|
-
currencyLabel: '
|
104
|
-
formattedAmount: '
|
105
|
-
formattedAmountWithCurrency: '
|
106
|
-
value: '
|
34
|
+
amount: '289.86',
|
35
|
+
currency: 'USD',
|
36
|
+
currencyLabel: 'US $',
|
37
|
+
formattedAmount: '289.86',
|
38
|
+
formattedAmountWithCurrency: 'US $289.86',
|
39
|
+
value: '28986'
|
107
40
|
},
|
108
41
|
paymentAmountView: {
|
109
|
-
currency: '
|
42
|
+
currency: 'USD',
|
110
43
|
currencyDivider: ' ',
|
111
|
-
currencyLabel: '
|
112
|
-
currencySymbolPosition: '
|
113
|
-
formattedValue: '
|
114
|
-
value: '
|
115
|
-
},
|
116
|
-
payByLinkInfo: {
|
117
|
-
linkId: '20240320190954001000188520500037457',
|
118
|
-
linkType: 'ITEM',
|
119
|
-
userCustomizeInfo: '{"customizeFields":[{"labelCondition":"REQUIRED","labelName":"Email","labelType":"TEXT","picLink":"https://xxxxxx","picTip":"Input your email.","picTitle":"emailTitle."}]}'
|
120
|
-
},
|
121
|
-
paymentMethodView: {
|
122
|
-
antomPage: 'paymentMetaPage',
|
123
|
-
category: 'VA',
|
124
|
-
icon: 'https://gw.alipay.com/antom/icon/medium/default/blik.svg',
|
125
|
-
paymentElements: [{
|
126
|
-
defaultText: '6 digit code',
|
127
|
-
elementMandatory: true,
|
128
|
-
elementRegx: '^\\d{6}$',
|
129
|
-
elementType: 'DIGIT_6',
|
130
|
-
paramIllegalText: 'Invalid Blik code format,Please check again',
|
131
|
-
paymentElementKey: 'blikCode',
|
132
|
-
title: 'Please fill in your Blik code'
|
133
|
-
}],
|
134
|
-
paymentMethod: 'BLIK',
|
135
|
-
redirectUrl: 'http://gol.alipay.net:8080/amsdemo/result?paymentRequestId=amsdmpay_wty01345475_20221011_134401_401'
|
44
|
+
currencyLabel: '$',
|
45
|
+
currencySymbolPosition: 'L',
|
46
|
+
formattedValue: '289.86',
|
47
|
+
value: '289.86'
|
136
48
|
},
|
137
49
|
paymentMethods: [{
|
138
50
|
antomPage: 'paymentMetaPage',
|
139
51
|
category: 'CARD',
|
140
|
-
|
52
|
+
expressCheckout: false,
|
53
|
+
icon: 'https://cdn.marmot-cloud.com/storage/2024/07/15/c77c0d3d-a3d0-48ad-8a40-cb3e777a2608.svg',
|
141
54
|
iconName: 'Card',
|
142
55
|
links: [],
|
143
56
|
logoList: [{
|
144
|
-
cardBrand: 'HYUNDAI'
|
145
|
-
}, {
|
146
|
-
cardBrand: 'KEBHANA',
|
147
|
-
logoUrl: 'https://cdn.marmot-cloud.com/storage/2024/3/25/882f5e88-2796-4afa-8908-885c9a7dc595.svg'
|
148
|
-
}, {
|
149
|
-
cardBrand: 'BC',
|
150
|
-
logoUrl: 'https://cdn.marmot-cloud.com/storage/2024/3/25/5e1cb58f-905c-4e0e-90cf-1de3acbc233f.svg'
|
151
|
-
}, {
|
152
|
-
cardBrand: 'LOTTE',
|
153
|
-
logoUrl: 'https://cdn.marmot-cloud.com/storage/2024/3/25/e818f9d8-d75e-4d61-bd40-00b7b1c3b0a3.svg'
|
154
|
-
}, {
|
155
|
-
cardBrand: 'NONGHYUP',
|
156
|
-
logoUrl: 'https://cdn.marmot-cloud.com/storage/2024/3/25/32836da3-9311-412d-b549-144d96bff159.svg'
|
157
|
-
}, {
|
158
|
-
cardBrand: 'KOOKMIN',
|
159
|
-
logoUrl: 'https://cdn.marmot-cloud.com/storage/2024/3/25/ce1a7c17-2b7e-4b2f-9a3e-fd5cf01b0b1f.svg'
|
160
|
-
}, {
|
161
|
-
cardBrand: 'SAMSUNG',
|
162
|
-
logoUrl: 'https://cdn.marmot-cloud.com/storage/2024/3/25/c41055c3-f0a7-4db9-9243-013383df9340.svg'
|
163
|
-
}, {
|
164
|
-
cardBrand: 'AMEX',
|
165
|
-
logoUrl: 'https://cdn.marmot-cloud.com/storage/2024/3/25/c41055c3-f0a7-4db9-9243-013383df9340.svg'
|
166
|
-
}, {
|
167
57
|
cardBrand: 'VISA',
|
168
|
-
logoUrl: 'https://cdn.marmot-cloud.com/storage/2024/
|
169
|
-
}, {
|
170
|
-
cardBrand: 'HYUNDAI'
|
171
|
-
}, {
|
172
|
-
cardBrand: 'KEBHANA',
|
173
|
-
logoUrl: 'https://cdn.marmot-cloud.com/storage/2024/3/25/882f5e88-2796-4afa-8908-885c9a7dc595.svg'
|
174
|
-
}, {
|
175
|
-
cardBrand: 'BC',
|
176
|
-
logoUrl: 'https://cdn.marmot-cloud.com/storage/2024/3/25/5e1cb58f-905c-4e0e-90cf-1de3acbc233f.svg'
|
177
|
-
}, {
|
178
|
-
cardBrand: 'LOTTE',
|
179
|
-
logoUrl: 'https://cdn.marmot-cloud.com/storage/2024/3/25/e818f9d8-d75e-4d61-bd40-00b7b1c3b0a3.svg'
|
180
|
-
}, {
|
181
|
-
cardBrand: 'NONGHYUP',
|
182
|
-
logoUrl: 'https://cdn.marmot-cloud.com/storage/2024/3/25/32836da3-9311-412d-b549-144d96bff159.svg'
|
183
|
-
}, {
|
184
|
-
cardBrand: 'KOOKMIN',
|
185
|
-
logoUrl: 'https://cdn.marmot-cloud.com/storage/2024/3/25/ce1a7c17-2b7e-4b2f-9a3e-fd5cf01b0b1f.svg'
|
186
|
-
}, {
|
187
|
-
cardBrand: 'SAMSUNG',
|
188
|
-
logoUrl: 'https://cdn.marmot-cloud.com/storage/2024/3/25/c41055c3-f0a7-4db9-9243-013383df9340.svg'
|
189
|
-
}, {
|
190
|
-
cardBrand: 'HYUNDAI'
|
191
|
-
}, {
|
192
|
-
cardBrand: 'KEBHANA',
|
193
|
-
logoUrl: 'https://cdn.marmot-cloud.com/storage/2024/3/25/882f5e88-2796-4afa-8908-885c9a7dc595.svg'
|
58
|
+
logoUrl: 'https://cdn.marmot-cloud.com/storage/2024/7/2/fb4ab30f-8f49-4632-8bb1-fd64b2f21861.svg'
|
194
59
|
}, {
|
195
|
-
cardBrand: '
|
196
|
-
logoUrl: 'https://cdn.marmot-cloud.com/storage/2024/
|
60
|
+
cardBrand: 'MASTERCARD',
|
61
|
+
logoUrl: 'https://cdn.marmot-cloud.com/storage/2024/05/15/e9fc0f9a-14cb-4c32-9039-a746afa1a815.svg'
|
197
62
|
}, {
|
198
|
-
cardBrand: '
|
199
|
-
logoUrl: 'https://cdn.marmot-cloud.com/storage/2024/
|
200
|
-
}, {
|
201
|
-
cardBrand: 'NONGHYUP',
|
202
|
-
logoUrl: 'https://cdn.marmot-cloud.com/storage/2024/3/25/32836da3-9311-412d-b549-144d96bff159.svg'
|
203
|
-
}, {
|
204
|
-
cardBrand: 'KOOKMIN',
|
205
|
-
logoUrl: 'https://cdn.marmot-cloud.com/storage/2024/3/25/ce1a7c17-2b7e-4b2f-9a3e-fd5cf01b0b1f.svg'
|
206
|
-
}, {
|
207
|
-
cardBrand: 'SAMSUNG',
|
208
|
-
logoUrl: 'https://cdn.marmot-cloud.com/storage/2024/3/25/c41055c3-f0a7-4db9-9243-013383df9340.svg'
|
63
|
+
cardBrand: 'CARTEBANCAIRE',
|
64
|
+
logoUrl: 'https://cdn.marmot-cloud.com/storage/2024/2/23/dc4e43c8-0de1-421b-92b2-3c85f5f5a209.svg'
|
209
65
|
}],
|
210
66
|
paymentElements: [{
|
211
67
|
defaultValue: '',
|
@@ -214,914 +70,332 @@ export var sdkAction = {
|
|
214
70
|
extendInfo: '{"needOtherElements":true,"isTempTokenization":"true"}',
|
215
71
|
paymentElementKey: 'paymentMethodId',
|
216
72
|
subPaymentElementView: [{
|
217
|
-
defaultText: 'Card
|
73
|
+
defaultText: 'Card number',
|
218
74
|
defaultValue: '',
|
219
75
|
elementMandatory: true,
|
220
76
|
elementRegx: '^\\d{14,19}$',
|
221
77
|
elementType: 'DIGIT_18',
|
222
78
|
extendInfo: '{"completeKey":"cc-number"}',
|
223
|
-
paramIllegalText: '
|
79
|
+
paramIllegalText: 'Enter a valid 14- to 19-digit card number.',
|
224
80
|
paymentElementKey: 'cardNo',
|
225
|
-
title: '
|
81
|
+
title: 'Enter card number',
|
226
82
|
validateFunction: '^\\d{14,19}$'
|
83
|
+
}, {
|
84
|
+
defaultText: 'Exp date (MM/YY)',
|
85
|
+
defaultValue: '',
|
86
|
+
elementMandatory: true,
|
87
|
+
elementType: 'DIGIT_4',
|
88
|
+
extendInfo: '{"completeKey":"cc-exp"}',
|
89
|
+
isPart: 'true',
|
90
|
+
paramIllegalText: 'Enter a valid expiry date.',
|
91
|
+
paymentElementKey: 'expiryYear'
|
92
|
+
}, {
|
93
|
+
defaultText: 'Exp date (MM/YY)',
|
94
|
+
defaultValue: '',
|
95
|
+
elementMandatory: true,
|
96
|
+
elementType: 'DIGIT_4',
|
97
|
+
extendInfo: '{"completeKey":"cc-exp"}',
|
98
|
+
isPart: 'true',
|
99
|
+
paramIllegalText: 'Enter a valid expiry date.',
|
100
|
+
paymentElementKey: 'expiryMonth'
|
101
|
+
}, {
|
102
|
+
defaultText: 'CVV',
|
103
|
+
defaultValue: '',
|
104
|
+
elementMandatory: true,
|
105
|
+
elementRegx: '^\\d{3,4}$',
|
106
|
+
elementType: 'TEXT',
|
107
|
+
extendInfo: '{}',
|
108
|
+
isPartEnd: 'true',
|
109
|
+
paramIllegalText: 'Enter a valid 3- or 4-digit CVV number.',
|
110
|
+
paymentElementKey: 'cardCVV',
|
111
|
+
validateFunction: '^\\d{3,4}$'
|
112
|
+
}, {
|
113
|
+
defaultText: 'Name on card',
|
114
|
+
defaultValue: '',
|
115
|
+
elementMandatory: true,
|
116
|
+
elementRegx: '^[\\w\\s]{1,128}$',
|
117
|
+
elementType: 'TEXT',
|
118
|
+
extendInfo: '{"completeKey":"cc-name"}',
|
119
|
+
paramIllegalText: 'Enter cardholder name as displayed on the card.',
|
120
|
+
paymentElementKey: 'cardHolderName',
|
121
|
+
validateFunction: '^[\\w\\s]{1,128}$'
|
227
122
|
}],
|
228
|
-
title: 'Card
|
229
|
-
}, {
|
230
|
-
defaultText: 'Save this payment method for future use.',
|
231
|
-
elementMandatory: false,
|
232
|
-
elementType: 'CHECKBOX',
|
233
|
-
extendInfo: '{}',
|
234
|
-
paymentElementKey: 'bindPaymentMethod'
|
123
|
+
title: 'Card information'
|
235
124
|
}],
|
236
125
|
paymentMethod: 'CARD',
|
237
126
|
paymentMethodName: 'Card',
|
238
127
|
paymentMethodType: 'CARD',
|
239
|
-
|
240
|
-
|
241
|
-
recommend: true
|
128
|
+
recommend: false,
|
129
|
+
webRedirectType: 'PAGE_REFRESH'
|
242
130
|
}, {
|
243
131
|
antomPage: 'paymentMetaPage',
|
244
|
-
category: '
|
132
|
+
category: 'AC_WALLET',
|
245
133
|
expressCheckout: false,
|
246
|
-
icon: 'https://cdn.marmot-cloud.com/storage/2024/05/15/
|
247
|
-
iconName: '
|
248
|
-
|
249
|
-
|
250
|
-
|
251
|
-
elementRegx: '^[0-9]{10,11}$',
|
252
|
-
elementType: 'DIGIT_11',
|
253
|
-
extendInfo: '{"maxLength":"11"}',
|
254
|
-
paramIllegalText: 'Please enter a valid phone number',
|
255
|
-
paymentElementKey: 'payerPhoneNo',
|
256
|
-
title: 'Phone number',
|
257
|
-
validateFunction: '^[0-9]{10,11}$'
|
258
|
-
}, {
|
259
|
-
defaultText: 'Email address',
|
260
|
-
elementMandatory: true,
|
261
|
-
elementRegx: '^(([\\w-+.]+)@(([[0-9]{1,3}.[0-9]{1,3}.[0-9]{1,3}.)|(([\\w-]+.)+))([a-zA-Z]{2,18}|[0-9]{1,3})(]?))$',
|
262
|
-
elementType: 'TEXT',
|
263
|
-
paramIllegalText: 'Please enter a valid email address',
|
264
|
-
paymentElementKey: 'payerEmail',
|
265
|
-
title: 'Email address',
|
266
|
-
validateFunction: '^(([\\w-+.]+)@(([[0-9]{1,3}.[0-9]{1,3}.[0-9]{1,3}.)|(([\\w-]+.)+))([a-zA-Z]{2,18}|[0-9]{1,3})(]?))$'
|
267
|
-
}, {
|
268
|
-
defaultText: 'First name',
|
269
|
-
elementMandatory: true,
|
270
|
-
elementRegx: '^\\S{1,32}$',
|
271
|
-
elementType: 'TEXT',
|
272
|
-
paramIllegalText: 'Please enter a first name with a max. of 32 characters',
|
273
|
-
paymentElementKey: 'firstName',
|
274
|
-
title: 'First name',
|
275
|
-
validateFunction: '^\\S{1,32}$'
|
276
|
-
}, {
|
277
|
-
defaultText: 'Last name',
|
278
|
-
elementMandatory: true,
|
279
|
-
elementRegx: '^\\S{1,32}$',
|
280
|
-
elementType: 'TEXT',
|
281
|
-
paramIllegalText: 'Please enter a last name with a max. of 32 characters',
|
282
|
-
paymentElementKey: 'lastName',
|
283
|
-
title: 'Last name',
|
284
|
-
validateFunction: '^\\S{1,32}$'
|
285
|
-
}],
|
286
|
-
paymentMethodName: 'Konbini',
|
287
|
-
paymentMethodType: 'KONBINI',
|
134
|
+
icon: 'https://cdn.marmot-cloud.com/storage/2024/05/15/8c2df293-4ff8-4a1c-bd39-457c26937acb.svg',
|
135
|
+
iconName: 'Rabbit LINE Pay',
|
136
|
+
interActionType: 'REDIRECT',
|
137
|
+
paymentMethodName: 'Rabbit LINE Pay',
|
138
|
+
paymentMethodType: 'RABBIT_LINE_PAY',
|
288
139
|
recommend: false,
|
289
140
|
webRedirectType: 'PAGE_REFRESH'
|
290
141
|
}, {
|
291
142
|
antomPage: 'paymentMetaPage',
|
292
|
-
category: '
|
293
|
-
|
294
|
-
|
295
|
-
|
296
|
-
|
297
|
-
|
298
|
-
|
299
|
-
elementType: 'DIGIT_6',
|
300
|
-
paramIllegalText: 'Invalid Blik code format,Please check again',
|
301
|
-
paymentElementKey: 'blikCode',
|
302
|
-
title: 'Please fill in your Blik code'
|
303
|
-
}],
|
304
|
-
paymentMethodType: 'BANKTRANSFER_PAYEASY',
|
143
|
+
category: 'AC_WALLET',
|
144
|
+
expressCheckout: false,
|
145
|
+
icon: 'https://cdn.marmot-cloud.com/storage/2024/05/15/72aa8973-7638-4f3f-b657-7af0ae02e6cf.svg',
|
146
|
+
iconName: 'BPI',
|
147
|
+
interActionType: 'REDIRECT',
|
148
|
+
paymentMethodName: 'BPI',
|
149
|
+
paymentMethodType: 'BPI',
|
305
150
|
recommend: false,
|
306
|
-
webRedirectType: 'PAGE_REFRESH'
|
307
|
-
paymentMethod: 'BLIK',
|
308
|
-
paymentMethodName: 'BLIK',
|
309
|
-
redirectUrl: 'http://gol.alipay.net:8080/amsdemo/result?paymentRequestId=amsdmpay_wty01345475_20221011_134401_401'
|
151
|
+
webRedirectType: 'PAGE_REFRESH'
|
310
152
|
}, {
|
311
153
|
antomPage: 'paymentMetaPage',
|
312
|
-
category: '
|
313
|
-
|
314
|
-
|
315
|
-
|
316
|
-
|
317
|
-
|
318
|
-
|
319
|
-
|
154
|
+
category: 'AC_WALLET',
|
155
|
+
expressCheckout: true,
|
156
|
+
icon: 'https://cdn.marmot-cloud.com/storage/2024/05/15/5b829130-42d9-46e7-a23d-6774f7352900.svg',
|
157
|
+
iconName: 'Alipay',
|
158
|
+
interActionType: 'REDIRECT',
|
159
|
+
paymentMethodName: 'Alipay',
|
160
|
+
paymentMethodType: 'ALIPAY_CN',
|
161
|
+
recommend: false,
|
162
|
+
webRedirectType: 'PAGE_REFRESH'
|
320
163
|
}, {
|
321
164
|
antomPage: 'paymentMetaPage',
|
322
|
-
category: '
|
165
|
+
category: 'AC_WALLET',
|
323
166
|
expressCheckout: false,
|
324
|
-
icon: '',
|
325
|
-
iconName: '
|
326
|
-
|
327
|
-
|
328
|
-
|
329
|
-
extendInfo: '{"bankInfos":"[{\\"bankIdentifierCode\\":\\"SHINHAN\\",\\"bankShortName\\":\\"Shinhan Card\\",\\"logoUrl\\":\\"https://cdn.marmot-cloud.com/storage/2024/3/25/cc7d86e1-52a2-4255-8b31-1bc03b81a7af.svg\\"},{\\"bankIdentifierCode\\":\\"SHINHAN\\",\\"bankShortName\\":\\"Shinhan Card\\",\\"logoUrl\\":\\"https://cdn.marmot-cloud.com/storage/2024/3/25/cc7d86e1-52a2-4255-8b31-1bc03b81a7af.svg\\"},{\\"bankIdentifierCode\\":\\"SHINHAN\\",\\"bankShortName\\":\\"Shinhan Card\\",\\"logoUrl\\":\\"https://cdn.marmot-cloud.com/storage/2024/3/25/cc7d86e1-52a2-4255-8b31-1bc03b81a7af.svg\\"},{\\"bankIdentifierCode\\":\\"HYUNDAI\\",\\"bankShortName\\":\\"Hyundai Card\\",\\"logoUrl\\":\\"https://cdn.marmot-cloud.com/storage/2024/3/25/63dcffa5-245b-430a-ae33-d62ad75e5711.svg\\"},{\\"bankIdentifierCode\\":\\"SAMSUNG\\",\\"bankShortName\\":\\"Samsung Card\\",\\"logoUrl\\":\\"https://cdn.marmot-cloud.com/storage/2024/3/25/c41055c3-f0a7-4db9-9243-013383df9340.svg\\"},{\\"bankIdentifierCode\\":\\"LOTTE\\",\\"bankShortName\\":\\"Lotte Card\\",\\"logoUrl\\":\\"https://cdn.marmot-cloud.com/storage/2024/3/25/e818f9d8-d75e-4d61-bd40-00b7b1c3b0a3.svg\\"},{\\"bankIdentifierCode\\":\\"KEBHANA\\",\\"bankShortName\\":\\"Hana Card\\",\\"logoUrl\\":\\"https://cdn.marmot-cloud.com/storage/2024/3/25/882f5e88-2796-4afa-8908-885c9a7dc595.svg\\"},{\\"bankIdentifierCode\\":\\"KOOKMIN\\",\\"bankShortName\\":\\"KB Kookmin Card\\",\\"logoUrl\\":\\"https://cdn.marmot-cloud.com/storage/2024/3/25/ce1a7c17-2b7e-4b2f-9a3e-fd5cf01b0b1f.svg\\"},{\\"bankIdentifierCode\\":\\"BC\\",\\"bankShortName\\":\\"BC Card\\",\\"logoUrl\\":\\"https://cdn.marmot-cloud.com/storage/2024/3/25/5e1cb58f-905c-4e0e-90cf-1de3acbc233f.svg\\"},{\\"bankIdentifierCode\\":\\"NONGHYUP\\",\\"bankShortName\\":\\"NH Nonghyup Card\\",\\"logoUrl\\":\\"https://cdn.marmot-cloud.com/storage/2024/3/25/32836da3-9311-412d-b549-144d96bff159.svg\\"}]"}',
|
330
|
-
paramIllegalText: 'paymentElement.selectedCardBrand.paramIllegalText',
|
331
|
-
paymentElementKey: 'selectedCardBrand',
|
332
|
-
title: 'Please select your card'
|
333
|
-
}],
|
334
|
-
paymentMethod: 'CARD',
|
335
|
-
paymentMethodDetail: {
|
336
|
-
requireIssuerAuthentication: 'true'
|
337
|
-
},
|
338
|
-
paymentMethodName: 'Korea-issued cards',
|
339
|
-
paymentMethodType: 'CARD',
|
167
|
+
icon: 'https://cdn.marmot-cloud.com/storage/2024/05/15/ed012d1a-06c4-4606-a493-0d81ead685b6.svg',
|
168
|
+
iconName: 'Akulaku PayLater',
|
169
|
+
interActionType: 'REDIRECT',
|
170
|
+
paymentMethodName: 'Akulaku PayLater PH',
|
171
|
+
paymentMethodType: 'AKULAKU_PAYLATER_PH',
|
340
172
|
recommend: false,
|
341
173
|
webRedirectType: 'PAGE_REFRESH'
|
342
174
|
}, {
|
343
175
|
antomPage: 'paymentMetaPage',
|
344
|
-
category: '
|
176
|
+
category: 'AC_WALLET',
|
345
177
|
expressCheckout: false,
|
346
|
-
icon: 'https://cdn.marmot-cloud.com/storage/2024/05/15/
|
347
|
-
iconName: '
|
348
|
-
|
349
|
-
|
350
|
-
|
351
|
-
elementType: 'CHECKLIST',
|
352
|
-
extendInfo: '{"excludeMetaDataCodes":"null"}',
|
353
|
-
paymentElementKey: 'bankIdentifierCode',
|
354
|
-
title: 'Please select a bank',
|
355
|
-
validateFunction: ''
|
356
|
-
}],
|
357
|
-
paymentMethodName: 'FPX',
|
358
|
-
paymentMethodType: 'ONLINEBANKING_FPX',
|
178
|
+
icon: 'https://cdn.marmot-cloud.com/storage/2024/05/15/ed012d1a-06c4-4606-a493-0d81ead685b6.svg',
|
179
|
+
iconName: 'Akulaku PayLater',
|
180
|
+
interActionType: 'REDIRECT',
|
181
|
+
paymentMethodName: 'Akulaku PayLater',
|
182
|
+
paymentMethodType: 'AKULAKU_PAYLATER',
|
359
183
|
recommend: false,
|
360
184
|
webRedirectType: 'PAGE_REFRESH'
|
361
185
|
}, {
|
362
186
|
antomPage: 'paymentMetaPage',
|
363
187
|
category: 'AC_WALLET',
|
364
|
-
icon: 'https://resource.alipayplus.com/storage/ipaymentmngfd5e514400714344/2023/08/14/47ec1c65-ccb3-4fb0-9f1d-93a9a9469ded.svg',
|
365
|
-
iconName: 'Toss Pay',
|
366
|
-
interActionType: 'REDIRECT',
|
367
|
-
paymentMethodName: 'Toss Pay',
|
368
|
-
paymentMethodType: 'TOSSPAY',
|
369
|
-
webRedirectType: 'PAGE_REFRESH',
|
370
188
|
expressCheckout: false,
|
371
|
-
|
189
|
+
icon: 'https://cdn.marmot-cloud.com/storage/2024/05/15/fcf9ba5e-b2b4-4c33-a041-f21bcf1539e4.svg',
|
190
|
+
iconName: 'BillEase',
|
191
|
+
interActionType: 'REDIRECT',
|
192
|
+
paymentMethodName: 'BILLEASE',
|
193
|
+
paymentMethodType: 'BILLEASE',
|
194
|
+
recommend: false,
|
195
|
+
webRedirectType: 'PAGE_REFRESH'
|
372
196
|
}, {
|
373
197
|
antomPage: 'paymentMetaPage',
|
374
198
|
category: 'AC_WALLET',
|
375
|
-
|
376
|
-
|
377
|
-
|
378
|
-
|
379
|
-
|
380
|
-
|
199
|
+
expressCheckout: false,
|
200
|
+
icon: 'https://cdn.marmot-cloud.com/storage/2024/05/15/dfcedf07-3135-49b6-9e39-6ab89b5ba5a1.svg',
|
201
|
+
iconName: 'Kredivo',
|
202
|
+
interActionType: 'REDIRECT',
|
203
|
+
paymentMethodName: 'KREDIVO',
|
204
|
+
paymentMethodType: 'KREDIVO_ID',
|
205
|
+
recommend: false,
|
206
|
+
webRedirectType: 'PAGE_REFRESH'
|
381
207
|
}, {
|
382
208
|
antomPage: 'paymentMetaPage',
|
383
209
|
category: 'AC_WALLET',
|
384
|
-
|
385
|
-
|
386
|
-
|
387
|
-
|
388
|
-
|
389
|
-
|
210
|
+
expressCheckout: false,
|
211
|
+
icon: 'https://cdn.marmot-cloud.com/storage/2024/05/15/6c7baedf-cb9e-47b1-8c2e-d2477b0d3018.svg',
|
212
|
+
iconName: 'Toss Pay',
|
213
|
+
interActionType: 'REDIRECT',
|
214
|
+
paymentMethodName: 'Toss Pay',
|
215
|
+
paymentMethodType: 'TOSSPAY',
|
216
|
+
recommend: false,
|
217
|
+
webRedirectType: 'PAGE_REFRESH'
|
390
218
|
}, {
|
391
219
|
antomPage: 'paymentMetaPage',
|
392
220
|
category: 'AC_WALLET',
|
393
|
-
|
394
|
-
|
221
|
+
expressCheckout: false,
|
222
|
+
icon: 'https://cdn.marmot-cloud.com/storage/2024/05/15/89c1063e-c7d3-4b60-82a0-6e4c40426612.svg',
|
223
|
+
iconName: 'Kakao Pay',
|
395
224
|
interActionType: 'REDIRECT',
|
396
225
|
paymentMethodName: 'KAKAOPAY',
|
397
226
|
paymentMethodType: 'KAKAOPAY',
|
398
|
-
|
399
|
-
|
227
|
+
recommend: false,
|
228
|
+
webRedirectType: 'PAGE_REFRESH'
|
400
229
|
}, {
|
401
230
|
antomPage: 'paymentMetaPage',
|
402
231
|
category: 'AC_WALLET',
|
403
|
-
|
232
|
+
expressCheckout: false,
|
233
|
+
icon: 'https://cdn.marmot-cloud.com/storage/2024/05/15/46ac203c-21fd-4feb-80c6-fd19faf1a9b7.svg',
|
404
234
|
iconName: 'GCash',
|
235
|
+
interActionType: 'REDIRECT',
|
405
236
|
paymentMethodName: 'GCash',
|
406
237
|
paymentMethodType: 'GCASH',
|
407
|
-
|
408
|
-
|
238
|
+
recommend: false,
|
239
|
+
webRedirectType: 'PAGE_REFRESH'
|
409
240
|
}, {
|
410
241
|
antomPage: 'paymentMetaPage',
|
411
242
|
category: 'AC_WALLET',
|
412
|
-
|
413
|
-
|
414
|
-
|
415
|
-
|
416
|
-
|
417
|
-
|
243
|
+
expressCheckout: false,
|
244
|
+
icon: 'https://cdn.marmot-cloud.com/storage/2024/05/15/8409ec96-3153-4d31-9bcb-a6b60f6ce11f.svg',
|
245
|
+
iconName: 'Boost',
|
246
|
+
interActionType: 'REDIRECT',
|
247
|
+
paymentMethodName: 'Boost',
|
248
|
+
paymentMethodType: 'BOOST',
|
249
|
+
recommend: false,
|
250
|
+
webRedirectType: 'PAGE_REFRESH'
|
418
251
|
}, {
|
419
252
|
antomPage: 'paymentMetaPage',
|
420
253
|
category: 'AC_WALLET',
|
421
|
-
|
422
|
-
|
423
|
-
|
424
|
-
|
425
|
-
|
426
|
-
|
254
|
+
expressCheckout: false,
|
255
|
+
icon: 'https://cdn.marmot-cloud.com/storage/2024/05/15/dd81e7d9-d845-434e-95b8-87b726d44aa4.svg',
|
256
|
+
iconName: 'DOKU',
|
257
|
+
interActionType: 'REDIRECT',
|
258
|
+
paymentMethodName: 'DOKU',
|
259
|
+
paymentMethodType: 'DOKU',
|
260
|
+
recommend: false,
|
261
|
+
webRedirectType: 'PAGE_REFRESH'
|
262
|
+
}, {
|
263
|
+
antomPage: 'paymentMetaPage',
|
264
|
+
category: 'AC_WALLET',
|
265
|
+
expressCheckout: false,
|
266
|
+
icon: 'https://cdn.marmot-cloud.com/storage/2024/05/15/2ec693a8-2c42-4efe-8acd-efdeeabd3210.svg',
|
267
|
+
iconName: 'K PLUS',
|
268
|
+
interActionType: 'REDIRECT',
|
269
|
+
paymentMethodName: 'KPLUS',
|
270
|
+
paymentMethodType: 'KPLUS',
|
271
|
+
recommend: false,
|
272
|
+
webRedirectType: 'PAGE_REFRESH'
|
427
273
|
}, {
|
428
274
|
antomPage: 'paymentMetaPage',
|
429
275
|
category: 'AC_WALLET',
|
430
|
-
|
276
|
+
expressCheckout: false,
|
277
|
+
icon: 'https://cdn.marmot-cloud.com/storage/2024/05/15/82288753-bc33-4f4c-9c07-e54c5da5c8f8.svg',
|
278
|
+
iconName: "Touch'n Go eWallet",
|
279
|
+
interActionType: 'REDIRECT',
|
280
|
+
paymentMethodName: 'TNG',
|
281
|
+
paymentMethodType: 'TNG',
|
282
|
+
recommend: false,
|
283
|
+
webRedirectType: 'PAGE_REFRESH'
|
284
|
+
}, {
|
285
|
+
antomPage: 'paymentMetaPage',
|
286
|
+
category: 'AC_WALLET',
|
287
|
+
expressCheckout: false,
|
288
|
+
icon: 'https://cdn.marmot-cloud.com/storage/2024/05/15/db94babb-71db-42c4-80be-a65de641631a.svg',
|
431
289
|
iconName: 'NAVER Pay',
|
432
290
|
interActionType: 'REDIRECT',
|
433
291
|
paymentMethodName: 'NAVER Pay',
|
434
292
|
paymentMethodType: 'NAVERPAY',
|
435
|
-
|
436
|
-
|
437
|
-
}],
|
438
|
-
goods: [{
|
439
|
-
goodsImageUrl: 'https://img01-gms.17zwd.com/imgextra/62827423/i2/3c075920-50e1-443b-a912-6d1d156212d7.jpeg',
|
440
|
-
goodsDescription: '这是一个很长的商品描述dsesarqreqtrrtyryttttqreqtrrtyryttqreqtrrtyryttttqreqtrrtyryttttttqreqtrrtyryttttqreqtrrtyryttttttwfsywfdstywrtwrwtrw哈哈😀😂😂😅,看下去看下去看下去看😇😉😉😉😉😉😊下去看下去看下去看下去看下去看下去看下去看下去',
|
441
|
-
goodsName: 'GoodsNo.2是长长长长长长长长长长长longlonglong的名字',
|
442
|
-
goodsQuantity: '1',
|
443
|
-
promotionCode: '12',
|
444
|
-
promotionId: '202406171914641190001000000000010833000008037',
|
445
|
-
promotionName: '40.00%',
|
446
|
-
adjustableQuantity: {
|
447
|
-
maximum: 10,
|
448
|
-
minimum: 1
|
449
|
-
},
|
450
|
-
goodsTotalAmount: {
|
451
|
-
amount: '820',
|
452
|
-
currency: 'KRW',
|
453
|
-
currencyLabel: '₩',
|
454
|
-
formattedAmount: '820',
|
455
|
-
formattedAmountWithCurrency: '₩820',
|
456
|
-
value: '820'
|
457
|
-
},
|
458
|
-
goodsTotalAmountView: {
|
459
|
-
currency: 'KRW',
|
460
|
-
currencyDivider: '',
|
461
|
-
currencyLabel: '₩',
|
462
|
-
currencySymbolPosition: 'R',
|
463
|
-
formattedValue: '820',
|
464
|
-
value: '820'
|
465
|
-
},
|
466
|
-
goodsUnitAmount: {
|
467
|
-
amount: '30000',
|
468
|
-
currency: 'KRW',
|
469
|
-
currencyLabel: '₩',
|
470
|
-
formattedAmount: '30,000',
|
471
|
-
formattedAmountWithCurrency: '₩ 30,000',
|
472
|
-
value: '30000'
|
473
|
-
},
|
474
|
-
goodsUnitAmountView: {
|
475
|
-
currency: '¥',
|
476
|
-
currencyDivider: '',
|
477
|
-
currencyLabel: '¥',
|
478
|
-
currencySymbolPosition: 'R',
|
479
|
-
formattedValue: '450',
|
480
|
-
value: '410'
|
481
|
-
},
|
482
|
-
crossSell: {
|
483
|
-
adjustableQuantity: {
|
484
|
-
maximum: 1,
|
485
|
-
minimum: 0
|
486
|
-
},
|
487
|
-
goodsBrand: 'AMSDM',
|
488
|
-
goodsCategory: 'card/ssr/adc',
|
489
|
-
goodsImageUrl: '111',
|
490
|
-
goodsName: '唯一交叉商品',
|
491
|
-
goodsQuantity: '0',
|
492
|
-
goodsSkuName: 'SKU1',
|
493
|
-
goodsUnitAmount: {
|
494
|
-
amount: '410',
|
495
|
-
currency: 'KRW',
|
496
|
-
currencyLabel: '₩',
|
497
|
-
formattedAmount: '410',
|
498
|
-
formattedAmountWithCurrency: '₩410',
|
499
|
-
value: '410'
|
500
|
-
},
|
501
|
-
goodsUnitAmountView: {
|
502
|
-
currency: 'KRW',
|
503
|
-
currencyDivider: ' ',
|
504
|
-
currencyLabel: '₩',
|
505
|
-
currencySymbolPosition: 'R',
|
506
|
-
formattedValue: '300',
|
507
|
-
value: '300'
|
508
|
-
},
|
509
|
-
goodsUrl: 'HangZhouLeiFenTa',
|
510
|
-
referenceGoodsId: '20240517190954004000188050000010008'
|
511
|
-
},
|
512
|
-
referenceGoodsId: '20240517190954004000188050000010003'
|
513
|
-
}, {
|
514
|
-
crossSell: {
|
515
|
-
adjustableQuantity: {
|
516
|
-
maximum: 15,
|
517
|
-
minimum: 0
|
518
|
-
},
|
519
|
-
goodsBrand: 'AMSDM',
|
520
|
-
goodsDescription: '我要上下居中',
|
521
|
-
goodsCategory: 'card/ssr/adc',
|
522
|
-
goodsImageUrl: 'https://img01-gms.17zwd.com/imgextra/62827423/i2/3c075920-50e1-443b-a912-6d1d156212d7.jpeg',
|
523
|
-
goodsName: 'crossSellNo.1',
|
524
|
-
goodsQuantity: '0',
|
525
|
-
goodsSkuName: 'SKU1',
|
526
|
-
goodsUnitAmount: {
|
527
|
-
amount: '410',
|
528
|
-
currency: 'KRW',
|
529
|
-
currencyLabel: '₩',
|
530
|
-
formattedAmount: '410',
|
531
|
-
formattedAmountWithCurrency: '₩410',
|
532
|
-
value: '410'
|
533
|
-
},
|
534
|
-
goodsUnitAmountView: {
|
535
|
-
currency: 'KRW',
|
536
|
-
currencyDivider: ' ',
|
537
|
-
currencyLabel: '₩',
|
538
|
-
currencySymbolPosition: 'R',
|
539
|
-
formattedValue: '300',
|
540
|
-
value: '300'
|
541
|
-
},
|
542
|
-
goodsUrl: 'HangZhouLeiFenTa',
|
543
|
-
referenceGoodsId: '20240517190954004000188050000010008'
|
544
|
-
},
|
545
|
-
goodsImageUrl: 'h1111ttps://img01-gms.17zwd.com/imgextra/62827423/i2/3c075920-50e1-443b-a912-6d1d156212d7.jpeg',
|
546
|
-
goodsName: 'GoodsNo.1',
|
547
|
-
goodsQuantity: '2',
|
548
|
-
adjustableQuantity: {
|
549
|
-
maximum: 15,
|
550
|
-
minimum: 1
|
551
|
-
},
|
552
|
-
goodsTotalAmount: {
|
553
|
-
amount: '820',
|
554
|
-
currency: 'KRW',
|
555
|
-
currencyLabel: '₩',
|
556
|
-
formattedAmount: '820',
|
557
|
-
formattedAmountWithCurrency: '₩820',
|
558
|
-
value: '820'
|
559
|
-
},
|
560
|
-
goodsTotalAmountView: {
|
561
|
-
currency: 'KRW',
|
562
|
-
currencyDivider: '',
|
563
|
-
currencyLabel: '₩',
|
564
|
-
currencySymbolPosition: 'R',
|
565
|
-
formattedValue: '820',
|
566
|
-
value: '820'
|
567
|
-
},
|
568
|
-
goodsUnitAmount: {
|
569
|
-
amount: '410',
|
570
|
-
currency: 'KRW',
|
571
|
-
currencyLabel: '₩',
|
572
|
-
formattedAmount: '410',
|
573
|
-
formattedAmountWithCurrency: '₩410',
|
574
|
-
value: '410'
|
575
|
-
},
|
576
|
-
goodsUnitAmountView: {
|
577
|
-
currency: 'KRW',
|
578
|
-
currencyDivider: '',
|
579
|
-
currencyLabel: '₩',
|
580
|
-
currencySymbolPosition: 'R',
|
581
|
-
formattedValue: '410',
|
582
|
-
value: '410'
|
583
|
-
},
|
584
|
-
priceId: '20240517190954005000188059400010002',
|
585
|
-
referenceGoodsId: '20240517190954004000188050000010002'
|
586
|
-
}, {
|
587
|
-
goodsImageUrl: '1111https://img01-gms.17zwd.com/imgextra/62827423/i2/3c075920-50e1-443b-a912-6d1d156212d7.jpeg',
|
588
|
-
goodsName: 'GoodsNo.3相同名字',
|
589
|
-
goodsDescription: '我要上下居中',
|
590
|
-
goodsQuantity: '2',
|
591
|
-
adjustableQuantity: {
|
592
|
-
maximum: 1,
|
593
|
-
minimum: 4
|
594
|
-
},
|
595
|
-
goodsTotalAmount: {
|
596
|
-
amount: '820',
|
597
|
-
currency: 'KRW',
|
598
|
-
currencyLabel: '₩',
|
599
|
-
formattedAmount: '820',
|
600
|
-
formattedAmountWithCurrency: '₩820',
|
601
|
-
value: '820'
|
602
|
-
},
|
603
|
-
goodsTotalAmountView: {
|
604
|
-
currency: 'KRW',
|
605
|
-
currencyDivider: '',
|
606
|
-
currencyLabel: '₩',
|
607
|
-
currencySymbolPosition: 'L',
|
608
|
-
formattedValue: '820',
|
609
|
-
value: '820'
|
610
|
-
},
|
611
|
-
goodsUnitAmount: {
|
612
|
-
amount: '30000',
|
613
|
-
currency: 'KRW',
|
614
|
-
currencyLabel: '₩',
|
615
|
-
formattedAmount: '30,000',
|
616
|
-
formattedAmountWithCurrency: '₩ 30,000',
|
617
|
-
value: '30000'
|
618
|
-
},
|
619
|
-
goodsUnitAmountView: {
|
620
|
-
currency: '¥',
|
621
|
-
currencyDivider: '',
|
622
|
-
currencyLabel: '¥',
|
623
|
-
currencySymbolPosition: 'L',
|
624
|
-
formattedValue: '450',
|
625
|
-
value: '410'
|
626
|
-
},
|
627
|
-
crossSell: {
|
628
|
-
adjustableQuantity: {
|
629
|
-
maximum: 1,
|
630
|
-
minimum: 0
|
631
|
-
},
|
632
|
-
goodsBrand: 'AMSDM',
|
633
|
-
goodsCategory: 'card/ssr/adc',
|
634
|
-
goodsImageUrl: 'https://img10.360buyimg.com/imgzone/jfs/t1/192562/31/11171/360708/60de8e12E054f4c62/a4060dbbe4beb45b.jpg',
|
635
|
-
goodsName: 'crossSellNo.3333',
|
636
|
-
goodsQuantity: '0',
|
637
|
-
goodsSkuName: 'SKU1',
|
638
|
-
goodsUnitAmount: {
|
639
|
-
amount: '410',
|
640
|
-
currency: 'KRW',
|
641
|
-
currencyLabel: '₩',
|
642
|
-
formattedAmount: '410',
|
643
|
-
formattedAmountWithCurrency: '₩410',
|
644
|
-
value: '410'
|
645
|
-
},
|
646
|
-
goodsUnitAmountView: {
|
647
|
-
currency: 'KRW',
|
648
|
-
currencyDivider: ' ',
|
649
|
-
currencyLabel: '₩',
|
650
|
-
currencySymbolPosition: 'L',
|
651
|
-
formattedValue: '300',
|
652
|
-
value: '300'
|
653
|
-
},
|
654
|
-
goodsUrl: 'HangZhouLeiFenTa',
|
655
|
-
referenceGoodsId: '20240517190954004000188050000010008'
|
656
|
-
},
|
657
|
-
referenceGoodsId: '20240517190954004000188050000010008'
|
658
|
-
}, {
|
659
|
-
crossSell: {
|
660
|
-
adjustableQuantity: {
|
661
|
-
maximum: 15,
|
662
|
-
minimum: 0
|
663
|
-
},
|
664
|
-
goodsBrand: 'AMSDM',
|
665
|
-
goodsCategory: 'card/ssr/adc',
|
666
|
-
goodsImageUrl: 'https://img10.360buyimg.com/imgzone/jfs/t1/192562/31/11171/360708/60de8e12E054f4c62/a4060dbbe4beb45b.jpg',
|
667
|
-
goodsName: '不应该显示的交叉商品',
|
668
|
-
goodsQuantity: '2',
|
669
|
-
goodsSkuName: 'SKU1',
|
670
|
-
goodsUnitAmount: {
|
671
|
-
amount: '410',
|
672
|
-
currency: 'KRW',
|
673
|
-
currencyLabel: '₩',
|
674
|
-
formattedAmount: '410',
|
675
|
-
formattedAmountWithCurrency: '₩410',
|
676
|
-
value: '410'
|
677
|
-
},
|
678
|
-
goodsUnitAmountView: {
|
679
|
-
currency: 'KRW',
|
680
|
-
currencyDivider: ' ',
|
681
|
-
currencyLabel: '₩',
|
682
|
-
currencySymbolPosition: 'L',
|
683
|
-
formattedValue: '300',
|
684
|
-
value: '300'
|
685
|
-
},
|
686
|
-
goodsUrl: 'HangZhouLeiFenTa',
|
687
|
-
referenceGoodsId: '20240517190954004000188050000010008'
|
688
|
-
},
|
689
|
-
goodsImageUrl: 'https://img01-gms.17zwd.com/imgextra/62827423/i2/3c075920-50e1-443b-a912-6d1d156212d7.jpeg',
|
690
|
-
goodsDescription: '我要上下居中',
|
691
|
-
goodsName: 'GoodsNo.4',
|
692
|
-
goodsQuantity: '2',
|
693
|
-
adjustableQuantity: {
|
694
|
-
maximum: 15,
|
695
|
-
minimum: 1
|
696
|
-
},
|
697
|
-
goodsTotalAmount: {
|
698
|
-
amount: '820',
|
699
|
-
currency: 'KRW',
|
700
|
-
currencyLabel: '₩',
|
701
|
-
formattedAmount: '820',
|
702
|
-
formattedAmountWithCurrency: '₩820',
|
703
|
-
value: '820'
|
704
|
-
},
|
705
|
-
goodsTotalAmountView: {
|
706
|
-
currency: 'KRW',
|
707
|
-
currencyDivider: '',
|
708
|
-
currencyLabel: '₩',
|
709
|
-
currencySymbolPosition: 'L',
|
710
|
-
formattedValue: '820',
|
711
|
-
value: '820'
|
712
|
-
},
|
713
|
-
goodsUnitAmount: {
|
714
|
-
amount: '410',
|
715
|
-
currency: 'KRW',
|
716
|
-
currencyLabel: '₩',
|
717
|
-
formattedAmount: '410',
|
718
|
-
formattedAmountWithCurrency: '₩410',
|
719
|
-
value: '410'
|
720
|
-
},
|
721
|
-
goodsUnitAmountView: {
|
722
|
-
currency: 'KRW',
|
723
|
-
currencyDivider: '',
|
724
|
-
currencyLabel: '₩',
|
725
|
-
currencySymbolPosition: 'L',
|
726
|
-
formattedValue: '410',
|
727
|
-
value: '410'
|
728
|
-
},
|
729
|
-
referenceGoodsId: '20240517190954004000188050000010006'
|
730
|
-
}, {
|
731
|
-
goodsImageUrl: 'https://img01-gms.17zwd.com/imgextra/62827423/i2/3c075920-50e1-443b-a912-6d1d156212d7.jpeg',
|
732
|
-
goodsName: 'GoodsNo.2',
|
733
|
-
goodsQuantity: '1',
|
734
|
-
adjustableQuantity: {
|
735
|
-
maximum: 1,
|
736
|
-
minimum: 1
|
737
|
-
},
|
738
|
-
goodsTotalAmount: {
|
739
|
-
amount: '820',
|
740
|
-
currency: 'KRW',
|
741
|
-
currencyLabel: '₩',
|
742
|
-
formattedAmount: '820',
|
743
|
-
formattedAmountWithCurrency: '₩820',
|
744
|
-
value: '820'
|
745
|
-
},
|
746
|
-
goodsTotalAmountView: {
|
747
|
-
currency: 'KRW',
|
748
|
-
currencyDivider: '',
|
749
|
-
currencyLabel: '₩',
|
750
|
-
currencySymbolPosition: 'L',
|
751
|
-
formattedValue: '820',
|
752
|
-
value: '820'
|
753
|
-
},
|
754
|
-
goodsUnitAmount: {
|
755
|
-
amount: '30000',
|
756
|
-
currency: 'KRW',
|
757
|
-
currencyLabel: '₩',
|
758
|
-
formattedAmount: '30,000',
|
759
|
-
formattedAmountWithCurrency: '₩ 30,000',
|
760
|
-
value: '30000'
|
761
|
-
},
|
762
|
-
goodsUnitAmountView: {
|
763
|
-
currency: '¥',
|
764
|
-
currencyDivider: '',
|
765
|
-
currencyLabel: '¥',
|
766
|
-
currencySymbolPosition: 'L',
|
767
|
-
formattedValue: '450',
|
768
|
-
value: '410'
|
769
|
-
},
|
770
|
-
crossSell: {
|
771
|
-
adjustableQuantity: {
|
772
|
-
maximum: 1,
|
773
|
-
minimum: 0
|
774
|
-
},
|
775
|
-
goodsBrand: 'AMSDM',
|
776
|
-
goodsCategory: 'card/ssr/adc',
|
777
|
-
goodsImageUrl: 'https://img10.360buyimg.com/imgzone/jfs/t1/192562/31/11171/360708/60de8e12E054f4c62/a4060dbbe4beb45b.jpg',
|
778
|
-
goodsName: 'crossSellNo.555',
|
779
|
-
goodsQuantity: '0',
|
780
|
-
goodsSkuName: 'SKU1',
|
781
|
-
goodsUnitAmount: {
|
782
|
-
amount: '410',
|
783
|
-
currency: 'KRW',
|
784
|
-
currencyLabel: '₩',
|
785
|
-
formattedAmount: '410',
|
786
|
-
formattedAmountWithCurrency: '₩410',
|
787
|
-
value: '410'
|
788
|
-
},
|
789
|
-
goodsUnitAmountView: {
|
790
|
-
currency: 'KRW',
|
791
|
-
currencyDivider: ' ',
|
792
|
-
currencyLabel: '₩',
|
793
|
-
currencySymbolPosition: 'L',
|
794
|
-
formattedValue: '300',
|
795
|
-
value: '300'
|
796
|
-
},
|
797
|
-
goodsUrl: 'HangZhouLeiFenTa',
|
798
|
-
referenceGoodsId: '20240517190954004000188050000010008'
|
799
|
-
},
|
800
|
-
referenceGoodsId: '20240517190954004000188050000010003'
|
293
|
+
recommend: false,
|
294
|
+
webRedirectType: 'PAGE_REFRESH'
|
801
295
|
}, {
|
802
|
-
|
803
|
-
|
804
|
-
|
805
|
-
|
806
|
-
|
807
|
-
|
808
|
-
|
809
|
-
|
810
|
-
|
811
|
-
|
812
|
-
goodsSkuName: 'SKU1',
|
813
|
-
goodsUnitAmount: {
|
814
|
-
amount: '410',
|
815
|
-
currency: 'KRW',
|
816
|
-
currencyLabel: '₩',
|
817
|
-
formattedAmount: '410',
|
818
|
-
formattedAmountWithCurrency: '₩410',
|
819
|
-
value: '410'
|
820
|
-
},
|
821
|
-
goodsUnitAmountView: {
|
822
|
-
currency: 'KRW',
|
823
|
-
currencyDivider: ' ',
|
824
|
-
currencyLabel: '₩',
|
825
|
-
currencySymbolPosition: 'L',
|
826
|
-
formattedValue: '300',
|
827
|
-
value: '300'
|
828
|
-
},
|
829
|
-
goodsUrl: 'HangZhouLeiFenTa',
|
830
|
-
referenceGoodsId: '20240517190954004000188050000010008'
|
831
|
-
},
|
832
|
-
goodsImageUrl: 'https://img01-gms.17zwd.com/imgextra/62827423/i2/3c075920-50e1-443b-a912-6d1d156212d7.jpeg',
|
833
|
-
goodsName: 'GoodsNo.1',
|
834
|
-
goodsQuantity: '2',
|
835
|
-
adjustableQuantity: {
|
836
|
-
maximum: 15,
|
837
|
-
minimum: 1
|
838
|
-
},
|
839
|
-
goodsTotalAmount: {
|
840
|
-
amount: '820',
|
841
|
-
currency: 'KRW',
|
842
|
-
currencyLabel: '₩',
|
843
|
-
formattedAmount: '820',
|
844
|
-
formattedAmountWithCurrency: '₩820',
|
845
|
-
value: '820'
|
846
|
-
},
|
847
|
-
goodsTotalAmountView: {
|
848
|
-
currency: 'KRW',
|
849
|
-
currencyDivider: '',
|
850
|
-
currencyLabel: '₩',
|
851
|
-
currencySymbolPosition: 'L',
|
852
|
-
formattedValue: '820',
|
853
|
-
value: '820'
|
854
|
-
},
|
855
|
-
goodsUnitAmount: {
|
856
|
-
amount: '410',
|
857
|
-
currency: 'KRW',
|
858
|
-
currencyLabel: '₩',
|
859
|
-
formattedAmount: '410',
|
860
|
-
formattedAmountWithCurrency: '₩410',
|
861
|
-
value: '410'
|
862
|
-
},
|
863
|
-
goodsUnitAmountView: {
|
864
|
-
currency: 'KRW',
|
865
|
-
currencyDivider: '',
|
866
|
-
currencyLabel: '₩',
|
867
|
-
currencySymbolPosition: 'L',
|
868
|
-
formattedValue: '410',
|
869
|
-
value: '410'
|
870
|
-
},
|
871
|
-
referenceGoodsId: '20240517190954004000188050000010007'
|
872
|
-
}],
|
873
|
-
supportedLanguages: [{
|
874
|
-
locale: 'en_US',
|
875
|
-
preferred: true,
|
876
|
-
title: 'English'
|
296
|
+
antomPage: 'paymentMetaPage',
|
297
|
+
category: 'AC_WALLET',
|
298
|
+
expressCheckout: false,
|
299
|
+
icon: 'https://cdn.marmot-cloud.com/storage/2024/05/15/5b1ec246-b49f-4390-b356-3af2af5acf09.svg',
|
300
|
+
iconName: 'TrueMoney',
|
301
|
+
interActionType: 'REDIRECT',
|
302
|
+
paymentMethodName: 'TrueMoney Wallet',
|
303
|
+
paymentMethodType: 'TRUEMONEY',
|
304
|
+
recommend: false,
|
305
|
+
webRedirectType: 'PAGE_REFRESH'
|
877
306
|
}, {
|
878
|
-
|
879
|
-
|
880
|
-
|
881
|
-
|
882
|
-
|
883
|
-
|
884
|
-
|
885
|
-
|
886
|
-
|
887
|
-
|
888
|
-
accountStatus: 'EFFECTIVE'
|
889
|
-
},
|
890
|
-
goods: {
|
891
|
-
goodsName: 'xxxxxxx',
|
892
|
-
goodsImageUrl: '',
|
893
|
-
goodsQuantity: 100,
|
894
|
-
goodsUnitAmount: {
|
895
|
-
currency: 'EUR',
|
896
|
-
value: 100,
|
897
|
-
currencyLabel: ''
|
898
|
-
}
|
899
|
-
},
|
900
|
-
paymentMethods: [{
|
901
|
-
paymentMethodType: 'card',
|
902
|
-
iconName: '**** **** 4242',
|
903
|
-
icon: 'https://cdn.marmot-cloud.com/storage/2022/8/2/bc7cb991-c8e2-4379-945f-aadae2bdf932.svg',
|
904
|
-
paymentMethodId: 'card-id'
|
307
|
+
antomPage: 'paymentMetaPage',
|
308
|
+
category: 'AC_WALLET',
|
309
|
+
expressCheckout: false,
|
310
|
+
icon: 'https://cdn.marmot-cloud.com/storage/2024/05/15/97dbcec8-7bdd-464b-b49a-5d9af6d98c0b.svg',
|
311
|
+
iconName: 'AlipayHK',
|
312
|
+
interActionType: 'REDIRECT',
|
313
|
+
paymentMethodName: 'ALIPAY_HK',
|
314
|
+
paymentMethodType: 'ALIPAY_HK',
|
315
|
+
recommend: false,
|
316
|
+
webRedirectType: 'PAGE_REFRESH'
|
905
317
|
}, {
|
906
|
-
|
318
|
+
antomPage: 'paymentMetaPage',
|
319
|
+
category: 'AC_WALLET',
|
320
|
+
expressCheckout: false,
|
321
|
+
icon: 'https://cdn.marmot-cloud.com/storage/2024/05/15/6148dd94-9d28-43d5-9073-c99bfb8e7ace.svg',
|
907
322
|
iconName: 'DANA',
|
908
|
-
|
909
|
-
|
910
|
-
|
911
|
-
|
912
|
-
|
913
|
-
icon: 'https://cdn.marmot-cloud.com/storage/2022/8/2/bc7cb991-c8e2-4379-945f-aadae2bdf932.svg',
|
914
|
-
paymentMethodElements: {}
|
915
|
-
}, {
|
916
|
-
paymentMethodType: 'dana1',
|
917
|
-
iconName: 'DANA3',
|
918
|
-
icon: 'https://cdn.marmot-cloud.com/storage/2022/8/2/bc7cb991-c8e2-4379-945f-aadae2bdf932.svg',
|
919
|
-
paymentMethodElements: {}
|
323
|
+
interActionType: 'REDIRECT',
|
324
|
+
paymentMethodName: 'DANA',
|
325
|
+
paymentMethodType: 'DANA',
|
326
|
+
recommend: false,
|
327
|
+
webRedirectType: 'PAGE_REFRESH'
|
920
328
|
}],
|
921
|
-
|
922
|
-
|
923
|
-
|
924
|
-
},
|
925
|
-
shippings: [{
|
926
|
-
prefer: '0',
|
329
|
+
redirectUrl: 'https://www.baidu.com',
|
330
|
+
savedPaymentMethods: [],
|
331
|
+
shippingInfo: {
|
927
332
|
shippingAddress: {
|
928
|
-
address1: '
|
333
|
+
address1: "06 Raffles Place Cecil Marina People's Park",
|
929
334
|
address2: 'USD',
|
930
335
|
city: '',
|
931
336
|
region: 'SG',
|
932
337
|
state: '',
|
933
|
-
zipCode: '
|
338
|
+
zipCode: '068898'
|
934
339
|
},
|
935
|
-
|
936
|
-
|
937
|
-
|
938
|
-
|
340
|
+
shippingFee: {
|
341
|
+
amount: '1.00',
|
342
|
+
currency: 'USD',
|
343
|
+
currencyLabel: 'US $',
|
344
|
+
formattedAmount: '1.00',
|
345
|
+
formattedAmountWithCurrency: 'US $1.00',
|
346
|
+
value: '100'
|
939
347
|
},
|
940
|
-
|
941
|
-
|
942
|
-
|
943
|
-
|
944
|
-
|
945
|
-
|
946
|
-
|
947
|
-
address2: '',
|
948
|
-
city: '',
|
949
|
-
region: 'CN',
|
950
|
-
state: '',
|
951
|
-
zipCode: '242322'
|
348
|
+
shippingFeeView: {
|
349
|
+
currency: 'USD',
|
350
|
+
currencyDivider: ' ',
|
351
|
+
currencyLabel: '$',
|
352
|
+
currencySymbolPosition: 'L',
|
353
|
+
formattedValue: '1.00',
|
354
|
+
value: '1.00'
|
952
355
|
},
|
953
|
-
shippingId: '20240710190000000600000000001591453',
|
954
356
|
shippingName: {
|
955
|
-
firstName: '
|
357
|
+
firstName: 'swd',
|
956
358
|
lastName: ''
|
957
359
|
},
|
958
|
-
shippingPhoneNo: '+
|
959
|
-
|
960
|
-
|
961
|
-
|
962
|
-
|
360
|
+
shippingPhoneNo: '+651234571'
|
361
|
+
},
|
362
|
+
success: true
|
363
|
+
};
|
364
|
+
export var oneAccount = {
|
365
|
+
accountInfo: {
|
366
|
+
accountStatus: 'EFFECTIVE',
|
367
|
+
email: 'test10@test.com',
|
368
|
+
oneAccountId: '20241107190000000200000000000079939'
|
369
|
+
},
|
370
|
+
actionForm: {
|
371
|
+
challengeAutoTriggered: false,
|
372
|
+
challengeRetrySupported: true,
|
373
|
+
estimatedDuration: 0,
|
374
|
+
resendLeftTimes: 0
|
375
|
+
},
|
376
|
+
errorActions: {},
|
377
|
+
extendInfo: {},
|
378
|
+
paymentMethods: [],
|
379
|
+
shippings: [{
|
380
|
+
notes: '',
|
381
|
+
prefer: '1',
|
963
382
|
shippingAddress: {
|
964
|
-
address1: '
|
383
|
+
address1: "06 Raffles Place Cecil Marina People's Park",
|
965
384
|
address2: 'USD',
|
966
385
|
city: '',
|
967
|
-
region: '
|
386
|
+
region: 'SG',
|
968
387
|
state: '',
|
969
|
-
zipCode: ''
|
388
|
+
zipCode: '068898'
|
970
389
|
},
|
971
|
-
shippingId: '
|
390
|
+
shippingId: '20241109190000000600000000009947475',
|
972
391
|
shippingName: {
|
973
|
-
firstName: '
|
392
|
+
firstName: 'swd',
|
974
393
|
lastName: ''
|
975
394
|
},
|
976
|
-
shippingPhoneNo: '+
|
977
|
-
userId: '
|
978
|
-
}, {
|
979
|
-
notes: 'notes',
|
980
|
-
prefer: '0',
|
981
|
-
shippingAddress: {
|
982
|
-
address1: '6Jalan Bukit Merah',
|
983
|
-
address2: 'USD',
|
984
|
-
city: 'abc',
|
985
|
-
region: 'SG',
|
986
|
-
state: 'ZC3Cim',
|
987
|
-
zipCode: '150006'
|
988
|
-
},
|
989
|
-
shippingId: '20241009190000000600000000006315577',
|
990
|
-
shippingName: {
|
991
|
-
firstName: 'andy',
|
992
|
-
lastName: 'liu'
|
993
|
-
},
|
994
|
-
shippingPhoneNo: '18812341234',
|
995
|
-
userId: '20240507190000000300000000000724776'
|
996
|
-
}, {
|
997
|
-
notes: 'notes',
|
998
|
-
prefer: '0',
|
999
|
-
shippingAddress: {
|
1000
|
-
address1: '6Jalan Bukit Merah',
|
1001
|
-
address2: 'USD',
|
1002
|
-
city: 'abc',
|
1003
|
-
region: 'SG',
|
1004
|
-
state: 'NkZPVi',
|
1005
|
-
zipCode: '150006'
|
1006
|
-
},
|
1007
|
-
shippingId: '20241009190000000600000000006315578',
|
1008
|
-
shippingName: {
|
1009
|
-
firstName: 'andy',
|
1010
|
-
lastName: 'liu'
|
1011
|
-
},
|
1012
|
-
shippingPhoneNo: '18812341234',
|
1013
|
-
userId: '20240507190000000300000000000724776'
|
1014
|
-
}, {
|
1015
|
-
notes: 'notes',
|
1016
|
-
prefer: '0',
|
1017
|
-
shippingAddress: {
|
1018
|
-
address1: '6Jalan Bukit Merah',
|
1019
|
-
address2: 'USD',
|
1020
|
-
city: 'abc',
|
1021
|
-
region: 'SG',
|
1022
|
-
state: 'JfACKz',
|
1023
|
-
zipCode: '150006'
|
1024
|
-
},
|
1025
|
-
shippingId: '20241009190000000600000000006315579',
|
1026
|
-
shippingName: {
|
1027
|
-
firstName: 'andy',
|
1028
|
-
lastName: 'liu'
|
1029
|
-
},
|
1030
|
-
shippingPhoneNo: '18812341234',
|
1031
|
-
userId: '20240507190000000300000000000724776'
|
1032
|
-
}, {
|
1033
|
-
notes: 'notes',
|
1034
|
-
prefer: '1',
|
1035
|
-
shippingAddress: {
|
1036
|
-
address1: '6Jalan Bukit Merah',
|
1037
|
-
address2: 'USD',
|
1038
|
-
city: 'abc',
|
1039
|
-
region: 'SG',
|
1040
|
-
state: 'r5FYjZ',
|
1041
|
-
zipCode: '150006'
|
1042
|
-
},
|
1043
|
-
shippingId: '20241009190000000600000000006410848',
|
1044
|
-
shippingName: {
|
1045
|
-
firstName: 'andy',
|
1046
|
-
lastName: 'liu'
|
1047
|
-
},
|
1048
|
-
shippingPhoneNo: '18812341234',
|
1049
|
-
userId: '20240507190000000300000000000724776'
|
1050
|
-
}],
|
1051
|
-
metaData: {
|
1052
|
-
countryList: [{
|
1053
|
-
countryName: 'China',
|
1054
|
-
default: true
|
1055
|
-
}, {
|
1056
|
-
countryName: 'Singapore',
|
1057
|
-
default: false
|
1058
|
-
}]
|
1059
|
-
},
|
1060
|
-
errorActions: {},
|
1061
|
-
extendInfo: {},
|
1062
|
-
merchantId: '111xT8bLnciQgqcy20+oOJoWUEbPMTwI0YILNBIicpASIs=',
|
1063
|
-
needInstallmentAbility: false,
|
1064
|
-
needOtherElements: false,
|
1065
|
-
orderDescription: 'AMSDM_GIFT',
|
1066
|
-
success: true,
|
1067
|
-
supportedLanguages: [{
|
1068
|
-
locale: 'en_US',
|
1069
|
-
preferred: true,
|
1070
|
-
title: 'English'
|
1071
|
-
}, {
|
1072
|
-
country: 'BR',
|
1073
|
-
locale: 'pt_BR',
|
1074
|
-
preferred: false,
|
1075
|
-
title: 'Português'
|
1076
|
-
}, {
|
1077
|
-
country: 'KR',
|
1078
|
-
locale: 'ko_KR',
|
1079
|
-
preferred: false,
|
1080
|
-
title: '한국어'
|
1081
|
-
}, {
|
1082
|
-
country: 'MX,CL,PE',
|
1083
|
-
locale: 'es_ES',
|
1084
|
-
preferred: false,
|
1085
|
-
title: 'Español'
|
395
|
+
shippingPhoneNo: '+651234571',
|
396
|
+
userId: '20241107190000000300000000010741992'
|
1086
397
|
}],
|
1087
|
-
|
1088
|
-
shippingAddress: {
|
1089
|
-
address1: 'Bãi Khem',
|
1090
|
-
address2: 'USD',
|
1091
|
-
city: 'Tp. Phú Quốc',
|
1092
|
-
region: 'VN',
|
1093
|
-
state: 'Kiên Giang',
|
1094
|
-
zipCode: ''
|
1095
|
-
},
|
1096
|
-
shippingFee: {
|
1097
|
-
amount: '1000',
|
1098
|
-
currency: 'KRW',
|
1099
|
-
currencyLabel: '₩',
|
1100
|
-
formattedAmount: '1,000',
|
1101
|
-
formattedAmountWithCurrency: '₩ 1,000',
|
1102
|
-
value: '1000'
|
1103
|
-
},
|
1104
|
-
shippingFeeView: {
|
1105
|
-
currency: 'KRW',
|
1106
|
-
currencyDivider: ' ',
|
1107
|
-
currencyLabel: '₩',
|
1108
|
-
currencySymbolPosition: 'L',
|
1109
|
-
formattedValue: '1,000',
|
1110
|
-
value: '1000'
|
1111
|
-
},
|
1112
|
-
shippingFeeId: '1213132132131',
|
1113
|
-
shippingDescription: 'delivdery in 3 ~ 7 days',
|
1114
|
-
deliveryEstimate: {
|
1115
|
-
minimum: {
|
1116
|
-
unit: 'DAY',
|
1117
|
-
value: 3
|
1118
|
-
},
|
1119
|
-
maximum: {
|
1120
|
-
unit: 'DAY',
|
1121
|
-
value: 7
|
1122
|
-
}
|
1123
|
-
}
|
1124
|
-
}
|
398
|
+
success: true
|
1125
399
|
};
|
1126
400
|
export var paymentResult = {
|
1127
401
|
success: true,
|
@@ -1153,4 +427,65 @@ export var paymentResult = {
|
|
1153
427
|
},
|
1154
428
|
source: 'PAYMENT_ELEMENT',
|
1155
429
|
target: 'CONTAINER_ELEMENT'
|
430
|
+
};
|
431
|
+
export var submitResult = {
|
432
|
+
"actionForm": {
|
433
|
+
"actionFormType": "RedirectActionForm",
|
434
|
+
"method": "GET",
|
435
|
+
"normalUrl": "https://open-sea.alipayplus.com/api/open/v1/ac/cashier/self/codevalue/checkout.htm?codeValue=https%3A%2F%2Fglobal.alipay.com%2F281002040090a3UF2tUgl1k6RA7PQ4q32RRT",
|
436
|
+
"redirectUrl": "https://open-sea.alipayplus.com/api/open/v1/ac/cashier/self/codevalue/checkout.htm?codeValue=https%3A%2F%2Fglobal.alipay.com%2F281002040090a3UF2tUgl1k6RA7PQ4q32RRT"
|
437
|
+
},
|
438
|
+
"codeFormViews": [{
|
439
|
+
"code": "https://global.alipay.com/281002040090a3UF2tUgl1k6RA7PQ4q32RRT",
|
440
|
+
"codeExpireTime": "1731493927000",
|
441
|
+
"displayType": "QRCODE"
|
442
|
+
}],
|
443
|
+
"errorActions": {},
|
444
|
+
"extendInfo": {
|
445
|
+
"iconName": "AlipayHK",
|
446
|
+
"paymentRedirectUrl": "https://www.baidu.com",
|
447
|
+
"icon": "https://cdn.marmot-cloud.com/storage/2024/05/15/97dbcec8-7bdd-464b-b49a-5d9af6d98c0b.svg",
|
448
|
+
"paymentMethod": "ALIPAY_HK"
|
449
|
+
},
|
450
|
+
"orderAmount": {
|
451
|
+
"amount": "289.86",
|
452
|
+
"currency": "USD",
|
453
|
+
"currencyLabel": "US $",
|
454
|
+
"formattedAmount": "289.86",
|
455
|
+
"formattedAmountWithCurrency": "US $289.86",
|
456
|
+
"value": "28986"
|
457
|
+
},
|
458
|
+
"orderAmountView": {
|
459
|
+
"currency": "USD",
|
460
|
+
"currencyDivider": " ",
|
461
|
+
"currencyLabel": "$",
|
462
|
+
"currencySymbolPosition": "L",
|
463
|
+
"formattedValue": "289.86",
|
464
|
+
"value": "289.86"
|
465
|
+
},
|
466
|
+
"paymentAmount": {
|
467
|
+
"amount": "289.86",
|
468
|
+
"currency": "USD",
|
469
|
+
"currencyLabel": "US $",
|
470
|
+
"formattedAmount": "289.86",
|
471
|
+
"formattedAmountWithCurrency": "US $289.86",
|
472
|
+
"value": "28986"
|
473
|
+
},
|
474
|
+
"paymentAmountView": {
|
475
|
+
"currency": "USD",
|
476
|
+
"currencyDivider": " ",
|
477
|
+
"currencyLabel": "$",
|
478
|
+
"currencySymbolPosition": "L",
|
479
|
+
"formattedValue": "289.86",
|
480
|
+
"value": "289.86"
|
481
|
+
},
|
482
|
+
"paymentMethodType": "ALIPAY_HK",
|
483
|
+
"paymentResultCode": "PAYMENT_IN_PROCESS",
|
484
|
+
"paymentStatus": "PROCESSING",
|
485
|
+
"serverTime": "1731493090807",
|
486
|
+
"success": true,
|
487
|
+
"supportedLanguages": [{
|
488
|
+
"locale": "en_US",
|
489
|
+
"preferred": true
|
490
|
+
}]
|
1156
491
|
};
|