Jump to content

Edit History

disasoft

disasoft

Hi!

I got the same problem on Prestashop 1.7.5.0 and I solved it by modifing /modules/stripe_official/views/js/payment_stripe.js

Replace 

"if (!stripe_isInit && $('section#checkout-payment-step').hasClass('js-current-step')) {"

near line  #20 by:

"if (!stripe_isInit && $('section#checkout-payment-step').hasClass('js-current-step') && typeof(StripePubKey)!=='undefined') {"

After that you should not have JS error in console and other JS on page should work correctly.

But this bug should appear only if Stripe payment is not available for particaular visitor due to currency, group, country and carrier settings.

So, you probably should also check in BO "Payment -> Preferences" if Stripe is enabled for all cases you need.
 

 

2019-01-29-b8lr43yk78aeqb5yey91wo3xq.png

disasoft

disasoft

I got the same problem on Prestashop 1.7.5.0 and I solved it by modifing /modules/stripe_official/views/js/payment_stripe.js

Replace 

"if (!stripe_isInit && $('section#checkout-payment-step').hasClass('js-current-step')) {"

near line  #20 by:

"if (!stripe_isInit && $('section#checkout-payment-step').hasClass('js-current-step') && typeof(StripePubKey)!=='undefined') {"

After that you should not have JS error in console and other JS on page should work correctly.

But this bug should appear only if Stripe payment is not available for particaular visitor due to currency, group, country and carrier settings.

So, you probably should also check in BO "Payment -> Preferences" if Stripe is enabled for all cases you need.

2019-01-29-b8lr43yk78aeqb5yey91wo3xq.png

×
×
  • Create New...