#Cellar Door
1 messages · Page 1 of 1 (latest)
Specifically we don’t have the customer or subscription information till the time the user submits the form (it’s a single page checkout).
Hi, no that is not possible to attach a payment intent to a subscription later on.
The current way we’re doing it is to create a setup intent, that we then use to attach the payment method to the customer, then create a subscription which kicks off an invoice and pays with the set method
You could use the SetupIntents, collect your customers payment methods details and then create the subscription using the Payment Methods details collected.
Yeah, that seems to be correct. What is the issue?
Great! That’s what we’re doing now
I see, you're just looking to confirm.
We’ll the follow on is when using google/Apple Pay is it shows $0.00 when doing the payment
I’m assuming that’s because it’s a setup vs a paymentintent
Yeap, your assumption is right
Or is that value pulled from the payment element and not the intent
Gotcha - we’ll just message to users that it’ll say $0 for now and they’ll be charged later
While I’ve got your ear one other related question on the payment element:
Is it possible to restrict countries from showing in the drop-down?
We have restrictions against countries like Libya and South Sudan
Can you confirm which dropdown you're referring to?
Or is that handled through account setup?
In the payment element it asks for card details and then country/zip
The country drop-down has the ability to select countries we’re restricted from doing business with
Is that something we can set in the UI or handle with business rules elsewhere in stripe?
I see, you could use this integration, https://stripe.com/docs/payments/build-a-two-step-confirmation where you collect the Payment Method details first and then create the Payment Intent after looking at the card.country. Alternatively, you can use Stripe Radar to block payment from certain countries: https://stripe.com/docs/radar/rules