Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conflict with Stripe/Braintree/other gateways #7

Open
Mark-H opened this issue Apr 2, 2021 · 0 comments
Open

Conflict with Stripe/Braintree/other gateways #7

Mark-H opened this issue Apr 2, 2021 · 0 comments

Comments

@Mark-H
Copy link
Member

Mark-H commented Apr 2, 2021

There's a known issue in the theme that causes a conflict in the checkout.

Basically, both the theme and various gateways (including Stripe and Braintree) hook into the submit event in a non-deterministic way, allowing the payment step to be submitted by the theme before the payment gateway collected information. This can cause errors and payments to fail.

If you use such a gateway, you'll need to (for now) disable the javascript that ships with Red. You can do so by commenting out the following script tag in the ctred.footer chunk:

<!--<script src="[[++ctred.assets_url]]js/main.js"></script>-->

We'll update this issue when a fix is available.

@Mark-H Mark-H pinned this issue Apr 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant