@tonder.io/ionic-full-sdk 0.0.23-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.23-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",
@@ -154,9 +154,6 @@ export class ThreeDSHandler {
154
154
 
155
155
  handleSuccessTransaction(response: any) {
156
156
  this.removeVerifyTransactionUrl();
157
- if(this.successUrl) {
158
- window.location = this.successUrl as Location;
159
- }
160
157
  console.log('Transacción autorizada exitosamente.');
161
158
  return response;
162
159
  }
@@ -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,