#ryanl4753
1 messages · Page 1 of 1 (latest)
Hello! You can make the Subscribe button do things before you redirect them to the Checkout URL.
Mainly trying to see if we can put some code in there to stop transactions that look like they don't meet some government export regulations
No, you can't do that with Checkout.
I need to do it after the card details are collected
ah, ok
thought so, but needed to double check
Yeah, you would need to build your own payment form with Stripe Elements to do that.
Ok, that makes sense. So I could make a payment intent, collect their info with stripe elements, then do my additional checks, then use the payment intent to set up a subscription
I'd have to check against mainly billing address fields I think
Yeah, you probably want to follow this guide: https://stripe.com/docs/payments/build-a-two-step-confirmation