#Chen-subscriptions

1 messages · Page 1 of 1 (latest)

scarlet blade
thorny marlin
scarlet blade
#

You'd skip the "create a payment intent" step, and use the Payment Intent generated from the subscription creation instead

thorny marlin
#

Interesting. How the flow will look like? Should I call create subscription first, then somehow obtain the payment intent from the subscription, then attach the Google Pay info to it?

Our previous flow using credit card is we first obtain the payment method id, which is then attached to the create subscription call. Can we implement Google Pay in a similar way?

scarlet blade
#

The flow you're using is an older style of subscription creation - the never flow makes it easier to handle 3ds/authentication steps (where you colelct the payment method details AFTER creating the sub), but if you already have an existing integration that created the Payment Method first you're welcome to keep useing that

thorny marlin
#

Cool! Which api should I call for Google Pay? Assuming it's different from confirmCardPayment.

scarlet blade
thorny marlin
#

Ah I missed that sentence. That makes sense. Thank you!