Laura Gutierrez
unread,Mar 1, 2024, 7:34:26 AM3/1/24Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Chromium Extensions, Laura Gutierrez, Chromium Extensions, Oliver Dunk
Hi!
Here just to share the end of the story.
There was no quick answer from Stripe, so we had to implement an alternative payment flow.
As we had the facilities, we decided to open a new tab to complete the payment (this being executed in an external server out of the environment of the extension itself). This required the implementation of security measures between the extension and the external server. Once the payment is completed there, the user is redirected to Gmail (where the extension is executed).
The other possibility would have been to use Stripe within a sandbox iframe in the extension.
Today, I received an answer from Stripe, and they confirmed that it is not possible to use directly Stripe with manifest V3 extensions. More precisely
: "You need to include the Stripe.js script on each page of your site and it needs to be loaded directly from https://js.stripe.com. It won't work if you try to include the file in the extension package."
When we migrated our extension from mv2 to mv3, we expected to be forced to stop using Stripe, but, after testing, we noticed that it was still working, so we kept it.
It will remain a mystery why it has been working for two years and finally now stopped working.
Bye!