• Closed by: Anonymous Submitter
  • Closed on:
  • Reason: Not a bug

Ticket #19258 - payment modules not working on AMP

Hello,

I have installed 2 payment modules : Stripe and Twint.

Both do not work properly, and both editors told me it is because of the theme.

Stripe: The fields to input the credit card information are not displayed. Instead there is a red bar (div with some class error).

Twint: When this option is selected, the user is redirected to the same payment option page. (There’s a 302 redirection, I think this is the problem.)

Could you please help us ? We get many abandoned carts because of this…

Mariusz

PS: I’ve deactivated the Twint module for mobile (there are 2 of them and both must be activated if you need to test).

Comments

Fred 26 Sep 2020, 12:17

Hi, Mariusz.
Any third party module is not compatible with AMP by default. We have “AMPified” all prestashop pages and our own modules for the theme but we are not able to “AMPify” every third party module.
We have a new AMP module version and if you want I can install it for you. Then I can try to make your modules compatible with AMP

Mariusz Wisniewski 11 Oct 2020, 22:17

Hello Fred,
I’ve contacted the support of both payment modules, and both tell me the problem comes from the template.
Please install the latest module version and let’s see if we can make it work. (Backup made)

Thank you for your help!

Fred 12 Oct 2020, 10:17

I’m not able to connect your server through FTP

Mariusz Wisniewski 12 Oct 2020, 22:20

Sorry, username was incorrect. Please try again.

Fred 13 Oct 2020, 15:31

As I wrote you above - Any third party module is not compatible with AMP by default. We have “AMPified” all prestashop pages and our own modules for the theme but we are not able to “AMPify” every third party module.

I have make Stripe to work but there is a problem with Twint, we are no able to find fast solution

Mariusz Wisniewski 13 Oct 2020, 22:23

Thank you for your help with stripe!
As for Twint I don’t understand your reasoning. Since the module works on a “vanilla” Prestashop, but doesn’t on PS with the alysum template, it means the problem comes from the template (or the integration with the template), not from the AMP module itself. Or am I missing something ?

Fred 13 Oct 2020, 22:24

I’ll repeat you once more
Any third party module is not compatible with AMP by default. We have “AMPified” all prestashop pages and our own modules for the theme but we are not able to “AMPify” every third party module.