Jump to content
shine

Issue with Stripe 2.0.4 and prestashop 1.6

Recommended Posts

Hi there,

I recently discovered an issue on the checkout page https://carnetsdesavon.com/commande-rapide 

Inside the Console, the folowing url https://carnetsdesavon.com/modules/stripe_official/views/js/payments.js
raised this error message

ReferenceError: stripe_pk is not defined

so the clic on the STRIPE button doesn't work anymore

My enrivonment :

Paiement module Stripe v2.0.4
PrestaShop version 1.6.1.15
PHP version 7.0.33
MySQL version 5.6.43-log

jquery-1.11.0.min.js
jquery-migrate-1.2.1.min.js

Is anyone has an idea to help me fix this issue ?

Thank you a lot for your help,

Best

stripe.png

 

 

stripe-jquery.png

Edited by shine (see edit history)

Share this post


Link to post
Share on other sites

i searched and could not find similar issue report, you should uninstall and re-install and see if that solves issue.

Share this post


Link to post
Share on other sites

Hello, thank youfor your research.

i found the solution here : 

by puting the javascript codes on the footer. it's works

But i don't know why this issue appear now... maybe linked to a theme update.

Have a good weekday,

bests,

Share this post


Link to post
Share on other sites

Hello shine,
You should update your stripe module to his last version : V2.0.5, available on AddOn :
https://addons.prestashop.com/en/payment-card-wallet/24922-stripe-official-sca-ready.html

If this update don't fixed your issue, you can post a request to our support :
https://addons.prestashop.com/en/contact-us?id_product=24922

Best regards

  • Like 1

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More