@tonder.io/ionic-full-sdk 0.0.24-beta → 0.0.25-beta

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.io/ionic-full-sdk",
3
- "version": "0.0.24-beta",
3
+ "version": "0.0.25-beta",
4
4
  "description": "Tonder ionic full SDK",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.js",
@@ -188,7 +188,6 @@ export class InlineCheckout {
188
188
  apiKey: this.apiKeyTonder,
189
189
  successUrl: this.successUrl
190
190
  });
191
- console.log("response", response);
192
191
  this.callBack(response);
193
192
  if("next_action" in response) {
194
193
  const iframe = response?.next_action?.iframe_resources?.iframe
@@ -567,8 +566,8 @@ export class InlineCheckout {
567
566
  // Checkout router
568
567
  const routerItems: StartCheckoutRequest = {
569
568
  card: cardTokensSkyflowTonder,
570
- name: cardTokensSkyflowTonder.cardholder_name,
571
- last_name: "",
569
+ name: this.firstName,
570
+ last_name: this.lastName ?? "",
572
571
  email_client: this.email,
573
572
  phone_number: this.phone,
574
573
  return_url: this.returnUrl,