Skip to content

Conflict with Stripe/Braintree/other gateways #7

Open
@Mark-H

Description

@Mark-H

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions