#DevSoldier-checkout
1 messages · Page 1 of 1 (latest)
Hi! Did you use the phone_number_collection option when creating the Checkout Session? https://stripe.com/docs/api/checkout/sessions/create#create_checkout_session-phone_number_collection
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Yeah, I got an error saying it was not a valid. It's also not an option in the stripe js documentation
yep, you have to use the client-server integration
that client-only one where you use redirectToCheckout on the frontend is very limited and not maintained. Any advanced features require you to instead create the CheckoutSession object on a backend server and redirect to it.
https://stripe.com/docs/payments/checkout/client (note the limitations)