#Ardrit

1 messages · Page 1 of 1 (latest)

upper bronzeBOT
lusty oxide
#

Hi there!

tender pewter
#

Hi soma 😄

lusty oxide
tender pewter
#

so you are suggesting that i use a setup intent if im not wrong

#

i should not allow the user create a subscription without a payment type

lusty oxide
#

Assuming you are creating the Subscription yourself with the subscription endpoint (and not Checkout Session):

  • If the subscription requires payment, use the latest_invoice.payment_intent (a PaymentIntent) to collect the payment information and pay the first invoice
  • If the subscription doesn't require payment, use the pending_setup_intent (a SetupIntent) to collect the payment information
tender pewter
#

thanks