#Potato-subscription
1 messages ยท Page 1 of 1 (latest)
Hello!
Hi!
Yep, you can use the PaymentSheet for Subscriptions.
do you have any examples? I'm trying to find some
We have a guide to using the PaymentSheet here: https://stripe.com/docs/payments/accept-a-payment?platform=react-native&ui=payment-sheet
yeah, I've been looking through that guide
And we have Subscriptions documentation here: https://stripe.com/docs/billing
In a nutshell when you create a Subscription it will produce an Invoice, and that Invoice will have a Payment Intent, and you can confirm that Payment Intent using the PaymentSheet.
ahh, I see. So I'll create a subscription with payment_method = default_incomplete in order to do that
I'll give that a try
Yep!
Once I set that payment intent for the invoice, will that be applied to all recurring invoices or do I need to configure that on the subscription somehow
Will what be applied?
One last thing i wanted to ask you. The hosted checkout calculated the tax based on the address entered, is it possible to do that automatically with the paymentsheet?
No, not in the same way. The PaymentSheet doesn't collect the billing address, and it's not part of calculating the amount to charge.
Subscriptions do support tax calculations though, but you need to get the customer's info outside of the PaymentSheet.
So the subscription will calculate the tax based on the customer's billing information? If I set that before creating the subscription
Yeah, have a look here: https://stripe.com/docs/tax/subscriptions
Awesome! Thanks so much for all your help ๐