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

CreatePaymentMethodRequest - should billing details be attached to having a card? #226

Open
darylp041 opened this issue Aug 8, 2023 · 0 comments

Comments

@darylp041
Copy link

Given you can pass data via the Stripe API, and get a token in return, do billing details need to be so heavily linked to having/providing the card details?

If you pass a token, then you shouldn't need to handle the card details again.

This is inside: Omnipay\Stripe\Message\PaymentIntents\CreatePaymentMethodRequest

This might be prohibiting any/all customer information from being sent. You can pass customer information via the Stripe create token (https://stripe.com/docs/js/tokens_sources/create_token?type=cardElement), but server side handling would be easier.

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