#GiovanniV

1 messages · Page 1 of 1 (latest)

robust dragonBOT
worldly prawn
#

SetupIntent is not required in any SDK to create a PaymentMethod. But using a SetupIntent to create a PaymentMethod is the right approach

#

I can detail that more but you can (and you should) use a SetupIntent to create a PaymentMethod in the iOS SDK

#

also hello again!

broken fulcrum
#

Hi @worldly prawn hope you are doing great today and thanks for all your help. ok got it create the setup-intent with ios will take care of the flow for creation of the secret key right ?.

worldly prawn
#

I am, thanks! hope you're doing well too!

#

create the setup-intent with ios will take care of the flow for creation of the secret key right ?.
actually no, the SetupIntent (or PaymentIntent) will always be created by your secret key on your server

so your iOS app or webpage has to request your server to create the SetupIntent

#

the iOS app or webpage can then "confirm" the SetupIntent client_secret with your publishable key

#

happy to detail that further, let me know

broken fulcrum
#

you are the best thank you I think I am fine now