tonder-web-sdk 1.8.1 → 1.9.1
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 -1
- package/package.json +1 -1
- package/src/classes/inlineCheckout.js +1 -1
- package/v1/bundle.min.js +3 -3
- package/.htaccess +0 -1
- package/index.html +0 -178
- package/success.html +0 -22
package/README.md
CHANGED
|
@@ -11,7 +11,7 @@ npm i tonder-web-sdk
|
|
|
11
11
|
|
|
12
12
|
or using an script tag
|
|
13
13
|
```html
|
|
14
|
-
<script src="https://zplit-
|
|
14
|
+
<script src="https://zplit-prod.s3.amazonaws.com/v1/bundle.min.js"></script>
|
|
15
15
|
```
|
|
16
16
|
|
|
17
17
|
Add dependencies to the root of the app (index.html)
|
package/package.json
CHANGED
|
@@ -340,7 +340,7 @@ export class InlineCheckout {
|
|
|
340
340
|
const total = Number(this.cartTotal)
|
|
341
341
|
|
|
342
342
|
let cardTokens = null;
|
|
343
|
-
if(this.radioChecked === "new"){
|
|
343
|
+
if(this.radioChecked === "new" || this.radioChecked === undefined){
|
|
344
344
|
cardTokens = await this.#getCardTokens();
|
|
345
345
|
}else{
|
|
346
346
|
cardTokens = {
|