@osovitny/anatoly 3.20.36 → 3.20.37

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.
@@ -6217,11 +6217,11 @@ class PaypalButtonComponent extends ComponentBase {
6217
6217
  let currencyCode = payment.amount.currency_code;
6218
6218
  let details = JSON.stringify(orderData);
6219
6219
  //ps
6220
- let paymentMethod = this.ps.selectedPaymentMethod;
6221
- let subtotal = this.ps.subtotal;
6222
- let promoCode = this.ps.promoCode;
6223
- let total = this.ps.getTotal();
6224
- let currency = this.ps.currency;
6220
+ let paymentMethod = that.ps.selectedPaymentMethod;
6221
+ let subtotal = that.ps.subtotal;
6222
+ let promoCode = that.ps.promoCode;
6223
+ let total = that.ps.getTotal();
6224
+ let currency = that.ps.currency;
6225
6225
  that.bs.addPayment(paymentMethod, that.paidFor, subtotal, promoCode, total, currency, paymentId, status, details);
6226
6226
  }
6227
6227
  catch {