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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...

Important Information

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