#RaduP - installment fee

1 messages · Page 1 of 1 (latest)

ashen field
#

Hi there. One moment

vestal cradle
#

so, the flow would be:

  • get credit card details (eg: SetupIntent )
  • create the subscription (via the subscription API)
  • create an invoice for the user
  • the invoice will be paid automatically with the card that the user had used for the subscription ?
ashen field
#

Ideal flow would be:

  1. Create customer object
  2. Create invoice item for installment amount
  3. Create subscription object
  4. Use client secret from the subscription object's first payment intent to collect payment details and pay the first invoice (that will include the invoice item and subscription recurring price)
    This guide includes all steps except for the invoice item one: https://stripe.com/docs/billing/subscriptions/build-subscriptions?ui=elements

Create and manage subscriptions to accept recurring payments.