#jimin - Setup Intent

1 messages · Page 1 of 1 (latest)

pliant void
#

Are you trying to attach the Payment Method to a customer?

#

Sorry for the delay, it's a little busy

maiden juniper
#

Yeah i am trying to attach Payment Method to a customer

#

and also verifying i guess?

pliant void
#

If you have created the Payment Method object in Stripe, then you can use the Setup Intent to attach it to a customer. Verification is one of the useful features of using the Stripe Payment Element though.

maiden juniper
#

So if I am trying to set up the card for the first time, I will 1) create Payment Method and then 2) attach it to a customer using Setup Intent

#

And that would be the recommended flow if not using Payment Element

pliant void
#
  1. why not using the Payment Element
  2. How are you creating the Payment Method in this case?
maiden juniper
#

We are using some other platform to tokenize the data, so we will have to call the api

pliant void
#

So you pass tokenized card data to /v1/payment_methods and get back a PM object?

maiden juniper
#

yeah exactly

pliant void
#

Will the customer be on-session at this point?

maiden juniper
#

I don't think so. It will be for future usage. So if they want to check out with the store card later in time we have it set up

pliant void
#

In that case you'll want to be sure to pass usage=off_session