tonder-web-sdk 1.8.1 → 1.9.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tonder-web-sdk",
3
- "version": "1.8.1",
3
+ "version": "1.9.0",
4
4
  "description": "tonder sdk for integrations",
5
5
  "main": "src/index.js",
6
6
  "scripts": {
@@ -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 = {