@alipay/ams-checkout 0.0.1730706734-dev.0 → 0.0.1730878287-dev.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.
Files changed (126) hide show
  1. package/dist/umd/ams-checkout.min.js +1 -1
  2. package/esm/config/index.d.ts +2 -2
  3. package/esm/config/index.js +5 -5
  4. package/esm/constant/index.d.ts +0 -6
  5. package/esm/constant/index.js +0 -8
  6. package/esm/core/bus/interface.d.ts +0 -12
  7. package/esm/core/bus/interface.js +2 -16
  8. package/esm/core/component/address.d.ts +2 -2
  9. package/esm/core/component/appPreloadProcessing.js +0 -2
  10. package/esm/core/component/ckp/index.d.ts +3 -3
  11. package/esm/core/component/ckp/index.js +3 -3
  12. package/esm/core/component/index.d.ts +5 -5
  13. package/esm/core/component/index.js +16 -20
  14. package/esm/core/drop-in/index.d.ts +2 -2
  15. package/esm/core/drop-in/index.js +2 -2
  16. package/esm/core/instance/index.d.ts +5 -5
  17. package/esm/core/instance/index.js +10 -11
  18. package/esm/index.d.ts +10 -16
  19. package/esm/index.js +59 -70
  20. package/esm/plugin/applepay/component.js +3 -3
  21. package/esm/plugin/applepay/service.d.ts +2 -2
  22. package/esm/plugin/applepay/service.js +2 -2
  23. package/esm/plugin/component/cashierApp.d.ts +5 -7
  24. package/esm/plugin/component/cashierApp.js +8 -16
  25. package/esm/plugin/component/channel.d.ts +4 -4
  26. package/esm/plugin/component/component.inline.style.d.ts +4 -4
  27. package/esm/plugin/component/component.inline.style.js +7 -10
  28. package/esm/plugin/component/component.popup.style.d.ts +6 -15
  29. package/esm/plugin/component/component.popup.style.js +15 -33
  30. package/esm/plugin/component/index.d.ts +7 -7
  31. package/esm/plugin/component/index.js +90 -113
  32. package/esm/plugin/const.js +5 -5
  33. package/esm/plugin/drop-in/index.d.ts +5 -5
  34. package/esm/plugin/drop-in/index.js +7 -7
  35. package/esm/plugin/payment-element/utils.d.ts +1 -1
  36. package/esm/plugin/payment-element/utils.js +1 -2
  37. package/esm/plugin/type.d.ts +4 -4
  38. package/esm/service/index.d.ts +0 -1
  39. package/esm/service/index.js +0 -2
  40. package/esm/types/index.d.ts +38 -240
  41. package/esm/types/index.js +59 -103
  42. package/esm/util/createIframeNode.d.ts +2 -2
  43. package/esm/util/createIframeNode.js +3 -3
  44. package/esm/util/index.d.ts +1 -1
  45. package/esm/util/index.js +4 -3
  46. package/esm/{foundation/service/security → util}/security.d.ts +2 -2
  47. package/esm/{foundation/service/security → util}/security.js +3 -3
  48. package/package.json +1 -2
  49. package/esm/core/bus/ability/globalData.d.ts +0 -10
  50. package/esm/core/bus/ability/globalData.js +0 -89
  51. package/esm/core/bus/ability/request.d.ts +0 -10
  52. package/esm/core/bus/ability/request.js +0 -151
  53. package/esm/core/component/element/components/address.d.ts +0 -19
  54. package/esm/core/component/element/components/address.js +0 -68
  55. package/esm/core/component/element/components/auth.d.ts +0 -17
  56. package/esm/core/component/element/components/auth.js +0 -59
  57. package/esm/core/component/element/components/payment.d.ts +0 -19
  58. package/esm/core/component/element/components/payment.js +0 -74
  59. package/esm/core/component/element/element-mock.d.ts +0 -2
  60. package/esm/core/component/element/element-mock.js +0 -263
  61. package/esm/core/component/element/index.d.ts +0 -47
  62. package/esm/core/component/element/index.js +0 -776
  63. package/esm/core/component/element/mock.d.ts +0 -3
  64. package/esm/core/component/element/mock.js +0 -1156
  65. package/esm/core/component/element/type.d.ts +0 -176
  66. package/esm/core/component/element/type.js +0 -34
  67. package/esm/core/component/element/utils.d.ts +0 -13
  68. package/esm/core/component/element/utils.js +0 -6
  69. package/esm/foundation/core/index.d.ts +0 -26
  70. package/esm/foundation/core/index.js +0 -301
  71. package/esm/foundation/index.d.ts +0 -72
  72. package/esm/foundation/index.js +0 -42
  73. package/esm/foundation/product-processor/easysafepay/deps.d.ts +0 -15
  74. package/esm/foundation/product-processor/easysafepay/deps.js +0 -9
  75. package/esm/foundation/product-processor/easysafepay/index.d.ts +0 -26
  76. package/esm/foundation/product-processor/easysafepay/index.js +0 -536
  77. package/esm/foundation/service/container/index.d.ts +0 -28
  78. package/esm/foundation/service/container/index.js +0 -256
  79. package/esm/foundation/service/container/popup.d.ts +0 -17
  80. package/esm/foundation/service/container/popup.js +0 -103
  81. package/esm/foundation/service/container/utils.d.ts +0 -7
  82. package/esm/foundation/service/container/utils.js +0 -48
  83. package/esm/foundation/service/event-bus/ability/callback.d.ts +0 -9
  84. package/esm/foundation/service/event-bus/ability/callback.js +0 -55
  85. package/esm/foundation/service/event-bus/ability/globalData.d.ts +0 -10
  86. package/esm/foundation/service/event-bus/ability/globalData.js +0 -89
  87. package/esm/foundation/service/event-bus/ability/request.d.ts +0 -10
  88. package/esm/foundation/service/event-bus/ability/request.js +0 -151
  89. package/esm/foundation/service/event-bus/ability/security.d.ts +0 -12
  90. package/esm/foundation/service/event-bus/ability/security.js +0 -151
  91. package/esm/foundation/service/event-bus/ability/tracker.d.ts +0 -9
  92. package/esm/foundation/service/event-bus/ability/tracker.js +0 -80
  93. package/esm/foundation/service/event-bus/busManager.d.ts +0 -127
  94. package/esm/foundation/service/event-bus/busManager.js +0 -398
  95. package/esm/foundation/service/event-bus/index.d.ts +0 -20
  96. package/esm/foundation/service/event-bus/index.js +0 -88
  97. package/esm/foundation/service/event-center.d.ts +0 -75
  98. package/esm/foundation/service/event-center.js +0 -244
  99. package/esm/foundation/service/global-data/index.d.ts +0 -11
  100. package/esm/foundation/service/global-data/index.js +0 -69
  101. package/esm/foundation/service/index.d.ts +0 -19
  102. package/esm/foundation/service/index.js +0 -82
  103. package/esm/foundation/service/log/index.d.ts +0 -43
  104. package/esm/foundation/service/log/index.js +0 -235
  105. package/esm/foundation/service/log/types.d.ts +0 -32
  106. package/esm/foundation/service/log/types.js +0 -1
  107. package/esm/foundation/service/requester/deps.d.ts +0 -17
  108. package/esm/foundation/service/requester/deps.js +0 -11
  109. package/esm/foundation/service/requester/requester.d.ts +0 -22
  110. package/esm/foundation/service/requester/requester.js +0 -211
  111. package/esm/foundation/service/security/index.d.ts +0 -26
  112. package/esm/foundation/service/security/index.js +0 -216
  113. package/esm/foundation/types/index.d.ts +0 -4
  114. package/esm/foundation/types/index.js +0 -4
  115. package/esm/foundation/utils/gray_scale_utils.d.ts +0 -7
  116. package/esm/foundation/utils/gray_scale_utils.js +0 -40
  117. package/esm/foundation/utils/payment_context_utils.d.ts +0 -13
  118. package/esm/foundation/utils/payment_context_utils.js +0 -57
  119. package/esm/foundation/utils/redirect_utils.d.ts +0 -6
  120. package/esm/foundation/utils/redirect_utils.js +0 -99
  121. package/esm/foundation/utils/system_events.d.ts +0 -4
  122. package/esm/foundation/utils/system_events.js +0 -71
  123. package/esm/foundation/utils/web_app_url_utils.d.ts +0 -37
  124. package/esm/foundation/utils/web_app_url_utils.js +0 -97
  125. package/esm/service/element.d.ts +0 -4
  126. package/esm/service/element.js +0 -51
@@ -1,1156 +0,0 @@
1
- export var sdkAction = {
2
- amountConfirmRequired: false,
3
- autoDebitWithToken: false,
4
- errorActions: {},
5
- shippingInfo: {
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
- },
77
- 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
- privacyLink: 'https://render.alipay.com/p/c/180021490000000150/index.html?agreementId=GL00100002',
80
- cookieLink: 'https://render.alipay.com/p/c/180021490000000147/index.html?agreementId=GL00100001'
81
- },
82
- needInstallmentAbility: false,
83
- needOtherElements: false,
84
- orderAmount: {
85
- amount: '30000',
86
- currency: 'KRW',
87
- currencyLabel: '₩',
88
- formattedAmount: '30,000',
89
- formattedAmountWithCurrency: '₩ 30,000',
90
- value: '30000'
91
- },
92
- orderAmountView: {
93
- currency: 'KRW',
94
- currencyDivider: ' ',
95
- currencyLabel: '₩',
96
- currencySymbolPosition: 'R',
97
- formattedValue: '30,000',
98
- value: '30000'
99
- },
100
- paymentAmount: {
101
- amount: '30000',
102
- currency: 'KRW',
103
- currencyLabel: '₩',
104
- formattedAmount: '30,000',
105
- formattedAmountWithCurrency: '₩ 30,000',
106
- value: '30000'
107
- },
108
- paymentAmountView: {
109
- currency: 'KRW',
110
- currencyDivider: ' ',
111
- currencyLabel: '₩',
112
- currencySymbolPosition: 'R',
113
- formattedValue: '1,230',
114
- value: '1230'
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'
136
- },
137
- paymentMethods: [{
138
- antomPage: 'paymentMetaPage',
139
- category: 'CARD',
140
- icon: 'https://cdn.marmot-cloud.com/storage/2024/05/15/97dbcec8-7bdd-464b-b49a-5d9af6d98c0b.svg',
141
- iconName: 'Card',
142
- links: [],
143
- 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
- cardBrand: 'VISA',
168
- logoUrl: 'https://cdn.marmot-cloud.com/storage/2024/3/25/c41055c3-f0a7-4db9-9243-013383df9340.svg'
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'
194
- }, {
195
- cardBrand: 'BC',
196
- logoUrl: 'https://cdn.marmot-cloud.com/storage/2024/3/25/5e1cb58f-905c-4e0e-90cf-1de3acbc233f.svg'
197
- }, {
198
- cardBrand: 'LOTTE',
199
- logoUrl: 'https://cdn.marmot-cloud.com/storage/2024/3/25/e818f9d8-d75e-4d61-bd40-00b7b1c3b0a3.svg'
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'
209
- }],
210
- paymentElements: [{
211
- defaultValue: '',
212
- elementMandatory: false,
213
- elementType: 'DIGIT_32',
214
- extendInfo: '{"needOtherElements":true,"isTempTokenization":"true"}',
215
- paymentElementKey: 'paymentMethodId',
216
- subPaymentElementView: [{
217
- defaultText: 'Card Number',
218
- defaultValue: '',
219
- elementMandatory: true,
220
- elementRegx: '^\\d{14,19}$',
221
- elementType: 'DIGIT_18',
222
- extendInfo: '{"completeKey":"cc-number"}',
223
- paramIllegalText: 'Please enter a valid 14-19 digit card number',
224
- paymentElementKey: 'cardNo',
225
- title: 'Please enter Card number',
226
- validateFunction: '^\\d{14,19}$'
227
- }],
228
- title: 'Card Information'
229
- }, {
230
- defaultText: 'Save this payment method for future use.',
231
- elementMandatory: false,
232
- elementType: 'CHECKBOX',
233
- extendInfo: '{}',
234
- paymentElementKey: 'bindPaymentMethod'
235
- }],
236
- paymentMethod: 'CARD',
237
- paymentMethodName: 'Card',
238
- paymentMethodType: 'CARD',
239
- webRedirectType: 'PAGE_REFRESH',
240
- expressCheckout: false,
241
- recommend: true
242
- }, {
243
- antomPage: 'paymentMetaPage',
244
- category: 'APM',
245
- expressCheckout: false,
246
- icon: 'https://cdn.marmot-cloud.com/storage/2024/05/15/68adf9e1-9c20-4b14-ac08-01f6d70c0d1c.svg',
247
- iconName: 'Konbini',
248
- paymentElements: [{
249
- defaultText: 'Phone number',
250
- elementMandatory: true,
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',
288
- recommend: false,
289
- webRedirectType: 'PAGE_REFRESH'
290
- }, {
291
- antomPage: 'paymentMetaPage',
292
- category: 'VA',
293
- icon: 'https://gw.alipay.com/antom/icon/medium/default/blik.svg',
294
- iconName: 'BLIK',
295
- paymentElements: [{
296
- defaultText: '6 digit code',
297
- elementMandatory: true,
298
- elementRegx: '^\\d{6}$',
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',
305
- 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'
310
- }, {
311
- antomPage: 'paymentMetaPage',
312
- category: 'CARD',
313
- icon: 'https://cdn.marmot-cloud.com/storage/2022/9/26/dfd471f3-da7d-4ef1-8486-cfa4301045c6.svg',
314
- iconName: '**** ****9026',
315
- paymentMethodDetail: {
316
- last4: '9026'
317
- },
318
- paymentMethodId: '20231013180000000400188120000000001',
319
- paymentMethodType: 'CARD'
320
- }, {
321
- antomPage: 'paymentMetaPage',
322
- category: 'CARD',
323
- expressCheckout: false,
324
- icon: '',
325
- iconName: 'Korea-issued cards',
326
- paymentElements: [{
327
- elementMandatory: true,
328
- elementType: 'GRIDLIST',
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',
340
- recommend: false,
341
- webRedirectType: 'PAGE_REFRESH'
342
- }, {
343
- antomPage: 'paymentMetaPage',
344
- category: 'APM',
345
- expressCheckout: false,
346
- icon: 'https://cdn.marmot-cloud.com/storage/2024/05/15/3783552c-5bf2-401d-8b0d-a7d269be0e11.svg',
347
- iconName: 'FPX',
348
- paymentElements: [{
349
- elementMandatory: true,
350
- elementRegx: '',
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',
359
- recommend: false,
360
- webRedirectType: 'PAGE_REFRESH'
361
- }, {
362
- antomPage: 'paymentMetaPage',
363
- 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
- expressCheckout: false,
371
- recommend: true
372
- }, {
373
- antomPage: 'paymentMetaPage',
374
- category: 'AC_WALLET',
375
- icon: 'https://gw.alipay.com/icon/medium/default/ALIPAY_HK.svg',
376
- iconName: 'ALIPAY CN',
377
- paymentMethodName: 'ALIPAY CN',
378
- paymentMethodType: 'ALIPAY_CN',
379
- webRedirectType: 'PAGE_REFRESH',
380
- expressCheckout: true
381
- }, {
382
- antomPage: 'paymentMetaPage',
383
- category: 'AC_WALLET',
384
- icon: 'https://gw.alipay.com/icon/medium/default/DANA.svg',
385
- iconName: 'DANA',
386
- paymentMethodName: 'DANA',
387
- paymentMethodType: 'DANA',
388
- webRedirectType: 'PAGE_REFRESH',
389
- expressCheckout: false
390
- }, {
391
- antomPage: 'paymentMetaPage',
392
- category: 'AC_WALLET',
393
- icon: 'https://gw.alipay.com/icon/medium/default/KAKAOPAY.svg',
394
- iconName: 'KAKAOPAY',
395
- interActionType: 'REDIRECT',
396
- paymentMethodName: 'KAKAOPAY',
397
- paymentMethodType: 'KAKAOPAY',
398
- webRedirectType: 'PAGE_REFRESH',
399
- expressCheckout: false
400
- }, {
401
- antomPage: 'paymentMetaPage',
402
- category: 'AC_WALLET',
403
- icon: 'https://gw.alipay.com/icon/medium/default/GCASH.svg',
404
- iconName: 'GCash',
405
- paymentMethodName: 'GCash',
406
- paymentMethodType: 'GCASH',
407
- webRedirectType: 'PAGE_REFRESH',
408
- expressCheckout: false
409
- }, {
410
- antomPage: 'paymentMetaPage',
411
- category: 'AC_WALLET',
412
- icon: 'https://gw.alipay.com/icon/medium/default/TNG.svg',
413
- iconName: 'TNG',
414
- paymentMethodName: 'TNG',
415
- paymentMethodType: 'TNG',
416
- webRedirectType: 'PAGE_REFRESH',
417
- expressCheckout: false
418
- }, {
419
- antomPage: 'paymentMetaPage',
420
- category: 'AC_WALLET',
421
- icon: 'https://gw.alipay.com/icon/medium/default/TRUEMONEY.svg',
422
- iconName: 'TrueMoney Wallet',
423
- paymentMethodName: 'TrueMoney Wallet',
424
- paymentMethodType: 'TRUEMONEY',
425
- webRedirectType: 'PAGE_REFRESH',
426
- expressCheckout: false
427
- }, {
428
- antomPage: 'paymentMetaPage',
429
- category: 'AC_WALLET',
430
- icon: 'https://resource.alipayplus.com/storage/ipaymentmngfd5e514400714344/2023/08/11/ac8c82fb-597a-4f1d-810f-ab10ab1c6e93.svg',
431
- iconName: 'NAVER Pay',
432
- interActionType: 'REDIRECT',
433
- paymentMethodName: 'NAVER Pay',
434
- paymentMethodType: 'NAVERPAY',
435
- webRedirectType: 'PAGE_REFRESH',
436
- expressCheckout: false
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'
801
- }, {
802
- crossSell: {
803
- adjustableQuantity: {
804
- maximum: 15,
805
- minimum: 0
806
- },
807
- goodsBrand: 'AMSDM',
808
- goodsCategory: 'card/ssr/adc',
809
- goodsImageUrl: 'https://img10.360buyimg.com/imgzone/jfs/t1/192562/31/11171/360708/60de8e12E054f4c62/a4060dbbe4beb45b.jpg',
810
- goodsName: 'crossSellNo.6666',
811
- goodsQuantity: '0',
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'
877
- }, {
878
- locale: 'zh_CN',
879
- preferred: true,
880
- title: 'Chinese'
881
- }],
882
- paymentSessionData: 'L73zAFhGEG6XFCTDgGVoo2ARG3HB3qQWJ2SJwV3/ZEOtQsT2tOYhn6JrLd772imySLzwjb5dASegKuQ+q933WQ==&&SG&&188&&eyJwYXltZW50U2Vzc2lvbkNvbmZpZyI6eyJwYXltZW50TWV0aG9kQ2F0ZWdvcnlUeXBlIjoiQUxMIiwicHJvZHVjdFNjZW5lIjoiQ0hFQ0tPVVRfUEFZTUVOVCIsInByb2R1Y3RTY2VuZVZlcnNpb24iOiIxLjAifX0=',
883
- success: true
884
- };
885
- export var oneAccount = {
886
- accountInfo: {
887
- email: 'xxxxx@163.com',
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'
905
- }, {
906
- paymentMethodType: 'dana',
907
- iconName: 'DANA',
908
- icon: 'https://cdn.marmot-cloud.com/storage/2022/8/2/bc7cb991-c8e2-4379-945f-aadae2bdf932.svg',
909
- paymentMethodElements: {}
910
- }, {
911
- paymentMethodType: 'dana',
912
- iconName: 'DANA2',
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: {}
920
- }],
921
- links: {
922
- privacyLink: 'https://global.alipay.com/docs/ac/Platform/bahzqeb-',
923
- cookieLink: 'https://global.alipay.com/docs/ac/Platform/x1rhufzj'
924
- },
925
- shippings: [{
926
- prefer: '0',
927
- shippingAddress: {
928
- address1: 'Singapore',
929
- address2: 'USD',
930
- city: '',
931
- region: 'SG',
932
- state: '',
933
- zipCode: '178957'
934
- },
935
- shippingId: '20240507190000000600000000001223909',
936
- shippingName: {
937
- firstName: 'xzy',
938
- lastName: 'xzy'
939
- },
940
- shippingPhoneNo: '+65212301234',
941
- userId: '20240507190000000300000000000724776'
942
- }, {
943
- notes: '上海,上海市,嘉定区,安亭镇',
944
- prefer: '0',
945
- shippingAddress: {
946
- address1: '安亭镇新源路',
947
- address2: '',
948
- city: '',
949
- region: 'CN',
950
- state: '',
951
- zipCode: '242322'
952
- },
953
- shippingId: '20240710190000000600000000001591453',
954
- shippingName: {
955
- firstName: '2222',
956
- lastName: ''
957
- },
958
- shippingPhoneNo: '+8615171535256',
959
- userId: '20240507190000000300000000000724776'
960
- }, {
961
- notes: 'Gorontalo,Kab. Bone Bolango,Suwawa Timur,Pangi',
962
- prefer: '0',
963
- shippingAddress: {
964
- address1: 'Tawangmangu, Karanganyar Regency, Central Java, Indonesia',
965
- address2: 'USD',
966
- city: '',
967
- region: 'ID',
968
- state: '',
969
- zipCode: ''
970
- },
971
- shippingId: '20240716190000000600000000001680575',
972
- shippingName: {
973
- firstName: 'jock',
974
- lastName: ''
975
- },
976
- shippingPhoneNo: '+6211111123123',
977
- userId: '20240507190000000300000000000724776'
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'
1086
- }],
1087
- shippingInfo: {
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
- }
1125
- };
1126
- export var paymentResult = {
1127
- success: true,
1128
- data: {
1129
- success: true,
1130
- data: {
1131
- paymentSessionData: 'y8YCw0/4HDCCF16rRvzkONkNdJkJuZmuZHZdDdekdqfEMzKn7ovplH0mL2gd4/h9rS/7yIwWdw2wA+eg7ydx9Q==&&SG&&188&&eyJhY3Rpb24iOnsibmVlZFZlcmlmeUFuZFJlc3VtZSI6ZmFsc2UsInNraXBTZGtRdWVyeSI6ZmFsc2V9LCJjbGllbnRJZCI6IjVKNVk5MjBMMlkySjZFMDIxODIiLCJjb25uZWN0RmFjdG9yIjp7ImVuYWJsZUNvbm5lY3QiOnRydWV9LCJleHRlbmRJbmZvIjoie1wiZXhwcmVzc0NoZWNrb3V0XCI6XCJmYWxzZVwiLFwidmVyc2lvbk1hcFwiOlwie1xcXCJ3ZWJcXFwiOntcXFwiMS4xLjBcXFwiOntcXFwidGFyZ2V0V2ViVmVyaXNvblxcXCI6XFxcIjEuMS4wXFxcIn0sXFxcIjEuMi4wXFxcIjp7XFxcInRhcmdldFdlYlZlcmlzb25cXFwiOlxcXCIxLjIuMFxcXCJ9fSxcXFwiaU9TXFxcIjp7XFxcIjEuMS4wXFxcIjp7XFxcInRhcmdldFdlYlZlcmlzb25cXFwiOlxcXCIxLjEuMFxcXCJ9LFxcXCIxLjIuMFxcXCI6e1xcXCJ0YXJnZXRXZWJWZXJpc29uXFxcIjpcXFwiMS4yLjBcXFwifX0sXFxcIkFuZHJvaWRcXFwiOntcXFwiMS4xLjBcXFwiOntcXFwidGFyZ2V0V2ViVmVyaXNvblxcXCI6XFxcIjEuMS4wXFxcIn0sXFxcIjEuMi4wXFxcIjp7XFxcInRhcmdldFdlYlZlcmlzb25cXFwiOlxcXCIxLjIuMFxcXCJ9fX1cIn0iLCJwYXltZW50U2Vzc2lvbkNvbmZpZyI6eyJwYXltZW50TWV0aG9kQ2F0ZWdvcnlUeXBlIjoiQUxMIiwicHJvZHVjdFNjZW5lIjoiRUxFTUVOVF9QQVlNRU5UIiwicHJvZHVjdFNjZW5lVmVyc2lvbiI6IjEuMCJ9fQ==',
1132
- paymentSessionConfig: {
1133
- paymentMethodCategoryType: 'ALL',
1134
- productScene: 'ELEMENT_PAYMENT',
1135
- productSceneVersion: '1.0'
1136
- },
1137
- paymentMethod: {
1138
- paymentMethodType: 'CARD',
1139
- category: '',
1140
- paymentMethodDetail: {
1141
- logoUrl: 'https://cdn.marmot-cloud.com/storage/2022/9/26/dfd471f3-da7d-4ef1-8486-cfa4301045c6.svg',
1142
- cardBrand: 'VISA',
1143
- last4: '5914',
1144
- logoName: '**** ****5914'
1145
- }
1146
- },
1147
- paymentFactors: {
1148
- paymentMethodId: '20240715190000000400000002801015427',
1149
- paymentRedirectUrl: 'undefined/threed-page/index.html?sessionData=qv%2BMhtbdDKi7lGsorcg3h0SdB63hZsQlO0u5acUqsPL8cSDIEz%2FUDOlvezwHlDWQm%2F5RqaM%2FR9IZxWbuV58%2BnA%3D%3D%26%26SG%26%26188%26%26eyJhY3Rpb24iOnsibmVlZFZlcmlmeUFuZFJlc3VtZSI6ZmFsc2UsInNraXBTZGtRdWVyeSI6ZmFsc2V9LCJjbGllbnRJZCI6IjVKNVk5MjBMMlkySjZFMDIxODIiLCJjb25uZWN0RmFjdG9yIjp7ImVuYWJsZUNvbm5lY3QiOnRydWV9LCJleHRlbmRJbmZvIjoie1wiZXhwcmVzc0NoZWNrb3V0XCI6XCJmYWxzZVwiLFwidmVyc2lvbk1hcFwiOlwie1xcXCJ3ZWJcXFwiOntcXFwiMS4xLjBcXFwiOntcXFwidGFyZ2V0V2ViVmVyaXNvblxcXCI6XFxcIjEuMS4wXFxcIn0sXFxcIjEuMi4wXFxcIjp7XFxcInRhcmdldFdlYlZlcmlzb25cXFwiOlxcXCIxLjIuMFxcXCJ9fSxcXFwiaU9TXFxcIjp7XFxcIjEuMS4wXFxcIjp7XFxcInRhcmdldFdlYlZlcmlzb25cXFwiOlxcXCIxLjEuMFxcXCJ9LFxcXCIxLjIuMFxcXCI6e1xcXCJ0YXJnZXRXZWJWZXJpc29uXFxcIjpcXFwiMS4yLjBcXFwifX0sXFxcIkFuZHJvaWRcXFwiOntcXFwiMS4xLjBcXFwiOntcXFwidGFyZ2V0V2ViVmVyaXNvblxcXCI6XFxcIjEuMS4wXFxcIn0sXFxcIjEuMi4wXFxcIjp7XFxcInRhcmdldFdlYlZlcmlzb25cXFwiOlxcXCIxLjIuMFxcXCJ9fX1cIn0iLCJwYXltZW50U2Vzc2lvbkNvbmZpZyI6eyJwYXltZW50TWV0aG9kQ2F0ZWdvcnlUeXBlIjoiQUxMIiwicHJvZHVjdFNjZW5lIjoiRUxFTUVOVF9QQVlNRU5UIiwicHJvZHVjdFNjZW5lVmVyc2lvbiI6IjEuMCJ9fQ%3D%3D&displayType=inline&locale=&instanceId=f84f56e3-35ca-450a-b9b5-de93ac752e0e&appMatched=false&analyticsEnabled=true&sdkVersion=1.21.0&refUrl=http%3A%2F%2Flocalhost%3A5174%2Fdemo%2Fsrc%2Fpages%2Fconnect-element-dev%2Findex.html%3Fenvironment%3Ddev%26_moreEnv%3Dtrue%26requestHost%3Dhttp%3A%2F%2Fimgs-9993.sggz00b.dl.alipaydev.com%2Fmgw.htm%26groupId%3DGROUP_20240816101823&_componentStartTime=1728642669250&isPreload=&hostSign=SG&requestHost=http%3A%2F%2Fimgs-9993.sggz00b.dl.alipaydev.com%2Fmgw.htm&groupId=GROUP_20240816101823&scene=callbackPage'
1150
- },
1151
- autofillConnectInfo: false
1152
- }
1153
- },
1154
- source: 'PAYMENT_ELEMENT',
1155
- target: 'CONTAINER_ELEMENT'
1156
- };