tonder-web-sdk 1.4.0 → 1.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -0
- package/package.json +1 -1
- package/src/classes/inlineCheckout.js +209 -26
- package/src/data/api.js +63 -0
- package/src/helpers/skyflow.js +12 -2
- package/src/helpers/template-skeleton.js +59 -0
- package/src/helpers/template.js +337 -7
- package/src/helpers/utils.js +71 -0
- package/src/index-dev.js +2 -1
- package/v1/bundle.min.js +3 -3
package/src/index-dev.js
CHANGED
|
@@ -90,7 +90,7 @@ const checkoutData = {
|
|
|
90
90
|
},
|
|
91
91
|
]
|
|
92
92
|
},
|
|
93
|
-
card: { "skyflow_id": "53ca875c-16fd-4395-8ac9-c756613dbaf9" },
|
|
93
|
+
// card: { "skyflow_id": "53ca875c-16fd-4395-8ac9-c756613dbaf9" },
|
|
94
94
|
metadata: {
|
|
95
95
|
order_id: 123456
|
|
96
96
|
}
|
|
@@ -104,6 +104,7 @@ const successUrl = "http://127.0.0.1:8080/success"
|
|
|
104
104
|
// const apiKey = "8365683bdc33dd6d50fe2397188d79f1a6765852";
|
|
105
105
|
|
|
106
106
|
const inlineCheckout = new InlineCheckout({
|
|
107
|
+
mode: 'development',
|
|
107
108
|
apiKey,
|
|
108
109
|
returnUrl,
|
|
109
110
|
successUrl,
|