Jump to content

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
PHP version 7.0.33
MySQL version 5.6.43-log


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

Thank you a lot for your help,






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,


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 :

If this update don't fixed your issue, you can post a request to our support :

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