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

Hide save card details checkbox when customer_id is null #183

Closed
vsrivatsa-edinburgh opened this issue Feb 23, 2024 · 0 comments · Fixed by #184
Closed

Hide save card details checkbox when customer_id is null #183

vsrivatsa-edinburgh opened this issue Feb 23, 2024 · 0 comments · Fixed by #184
Assignees

Comments

@vsrivatsa-edinburgh
Copy link
Contributor

When a payment does not have any customer associated with it, save card checkbox should be hidden as it cannot be saved, and the payment fails

@vsrivatsa-edinburgh vsrivatsa-edinburgh self-assigned this Feb 23, 2024
vsrivatsa-edinburgh pushed a commit that referenced this issue Feb 23, 2024
Hide Save Card Details Checkbox until CustomerPaymentMethodsList responds with is_guest_customer
false to prevent payment attempt with setup_future_usage: "on_session" when customer_id is actually
null

fixes #183
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

Successfully merging a pull request may close this issue.

1 participant