Sfoglia il codice sorgente

#3198 - add JS change amount

RomanL 5 anni fa
parent
commit
d12104dbcd
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  1. 1 0
      modules/boonex/payment/js/stripe.js

+ 1 - 0
modules/boonex/payment/js/stripe.js

@@ -20,6 +20,7 @@ BxPaymentProviderStripe.prototype.init = function(oOptions) {
     this._sObjName = oOptions.sObjName == undefined ? 'oPaymentProviderStripe' : oOptions.sObjName;
     this._sObjName = oOptions.sObjName == undefined ? 'oPaymentProviderStripe' : oOptions.sObjName;
     this._sAnimationEffect = oOptions.sAnimationEffect == undefined ? 'fade' : oOptions.sAnimationEffect;
     this._sAnimationEffect = oOptions.sAnimationEffect == undefined ? 'fade' : oOptions.sAnimationEffect;
     this._iAnimationSpeed = oOptions.iAnimationSpeed == undefined ? 'slow' : oOptions.iAnimationSpeed;
     this._iAnimationSpeed = oOptions.iAnimationSpeed == undefined ? 'slow' : oOptions.iAnimationSpeed;
+    this._oOptions = oOptions;
 
 
     this._rHandler = StripeCheckout.configure({
     this._rHandler = StripeCheckout.configure({
         key: oOptions.sPublicKey,
         key: oOptions.sPublicKey,