#bayorwor

1 messages · Page 1 of 1 (latest)

stable ibexBOT
marsh crystal
#

Hi there!

rich sierra
#

Hii @marsh crystal

marsh crystal
#

Both these flow should work, but there's an even simpler flow:

  1. first create the subscription
  2. then retrieve the latest_invoice.payment_intent created by the subscription
  3. and use this to collect payment with the Payment Element
#

Or even simpler: use Checkout Session so it handles all of this for you.

rich sierra
#

Ok thanks, any links or resources to the docs for the suggestions?

marsh crystal
rich sierra
#

OK thanks

marsh crystal
#

Happy to help 🙂

rich sierra
#

A pleasure

marsh crystal