Jump to content

Stripe.js - Error if "One Page Checkout" is enabled


Recommended Posts

Hello everyone,

 

There is an issue about using stipe payment module for one page guest checkouts:

When you save guest account information and then enter card number, transanction is performed in a normal way and everything works fine.

 

But if you save your information, and then you edit, say, phone number and you hit "save" again, the stripe module stops working....the card type is not defined automatically and submitting payment leads to this error:

"Token required, please check for any Javascript error on the payment page."

 

However after refreshing page, it works perfectly again...

 

What might be the reason for that?

Are there any workarounds?

 

Thanks in advance

Edited by Amazzing (see edit history)
Link to comment
Share on other sites

 

There is an issue about using stipe payment module for one page guest checkouts:

When you save guest account information and then enter card number, transanction is performed in a normal way and everything works fine.

 

But if you save your information, and then you edit, say, phone number and you hit "save" again, the stripe module stops working....the card type is not defined automatically and submitting payment leads to this error:

"Token required, please check for any Javascript error on the payment page."

 

However after refreshing page, it works perfectly again...

 

What might be the reason for that?

Are there any workarounds?

 

Thanks in advance

 

Hello Amazzing,

 

I've got some good news for you, I worked with the team these last two weeks in order to improve the Stripe's Addon based on your feedback and suggestions. Guess what? We just came up with a new awesome version bringing new features and bugfixes!

 

Improvements and changes in Stripe v0.9.4:

 

- Improved the user experience, now redirecting to a customer Order confirmation page after a sucessfull payment (instead of the Orders history page)

- Improved interface for users of PrestaShop v1.4.x

- Translations: Added two new languages (Spanish and Brazialian Portuguese)

- Translations: Improved French translation

- Bugfix: The billing address is now refreshed in real time in case a new address is added. The Billing Address is now correctly sent to Stripe.

- Bugfix: The module is now compatible with One Page Checkout and Guest Checkout

- Bugfix: Customer's token save (while checking the "Save my credit card for later use" box) was not working with MySQL STRICT mode.

 

Thank you again for your help and feedback; If you are looking to accept Credit Card Payments fast and easy on your store, Stripe is definitely one of the best options PrestaShop is offering!

 

You can download Stripe v0.9.4 at the following address:

http://addons.prestashop.com/fr/modules-paiement-prestashop/6611-stripe.html

 

Regards,

  • Like 1
Link to comment
Share on other sites

Hi Benjamin,

 

Thanks for posting this. I also signed up and its working properly for me too (v1.4.9). However one thing I don't like is that the module creates a new order when a credit card is declined.

 

For instance, if the customer enters the wrong expiration date or CVC code, an order is created. Wouldn't it be much better to redirect the customer back to the payment method selection page, give them an error that the card was "declined", and let them try again or choose another payment method. My very first order, the customer choose the wrong expiration month by accident. They had to create a new order and redo it all again, very frustrating I'm sure.

Link to comment
Share on other sites

  • 1 month later...

My client has installed this module and there is a error when is selected other payments methods.

 

Sorry, unfortunately an error occured during the transaction.

Please double-check your credit card details and try again or feel free to contact us to resolve this issue.

(Your Order's Reference: KYGYWGUJG)

 

Module is not configured with any information and is set to TEST mode

 

Prestashop version 1.5.3

Module stripejs : 0.4.9

Link to comment
Share on other sites

  • 4 months later...

Any news on this? I am seeing the same error as Valentin.j, it says the order did not go through.

 

In fact, though, the order does go through, and the money appears in Stripe, but the error message to the user could be worrisome to say the least.

 

My specifics:

 

PrestaShop™ 1.5.4.0

 

Stripe module Developed by :PrestaShop, Version :0.9.5

 

Browser: IE 10 or Firefox 22

 

Five-page checkout, guest account

 

I had IE's developer page (opened via F12) open, but didn't see any Javascript errors

 

Stripe webpage Log shows only "200 POST", which sounds like no error

 

Any ideas for how I could figure out what is causing this error? Anyone besides me and Valentin.j seeing it?

Link to comment
Share on other sites

  • 1 month later...

Any news on this? I am seeing the same error as Valentin.j, it says the order did not go through.

 

In fact, though, the order does go through, and the money appears in Stripe, but the error message to the user could be worrisome to say the least.

 

My specifics:

 

PrestaShop™ 1.5.4.0

 

Stripe module Developed by :PrestaShop, Version :0.9.5

 

Browser: IE 10 or Firefox 22

 

Five-page checkout, guest account

 

I had IE's developer page (opened via F12) open, but didn't see any Javascript errors

 

Stripe webpage Log shows only "200 POST", which sounds like no error

 

Any ideas for how I could figure out what is causing this error? Anyone besides me and Valentin.j seeing it?

 

Hi, if you could back up your data and files first and delete your current Stripe module and reinstall the same version again downloaded from the Addons store. Let me know if that solves the issue.

 
    We have been working with Stripe recently and will have an updated Module in the very near future. The module is ready and we just need final testing. I will keep you updated on the developments and release dates. 
 
  Thank you!
 
-Benjamin
Link to comment
Share on other sites

  • 1 month later...

Alexgaw, are you saying that it appears for 5 page checkout, or you have not bother to try? 

 

Did you confirm that the payment module restrictions have been configured properly.  You may need to update the restrictions to allow the AUD currency or country or group

Link to comment
Share on other sites

×
×
  • Create New...