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

Change payment method #3

Open
pc-coholic opened this issue Aug 3, 2023 · 0 comments
Open

Change payment method #3

pc-coholic opened this issue Aug 3, 2023 · 0 comments

Comments

@pc-coholic
Copy link
Collaborator

This quick fix changes the method from cc_reluctant to card to reflect the base card payment method.

The fix was introduced as the checkout_prepare() does check for the method:

request.session['payment_stripe_{}_payment_method_id'.format(self.method)] = payment_method_id

The proper way might be to rework the plugin to use cc_reluctant in more places instead of having it impersonate the card-method.

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