#krusty-help

1 messages · Page 1 of 1 (latest)

sly sundial
#

Hello @acoustic mortar

#

Can you provide the context behind your question?

acoustic mortar
#

Absolutely, this is for iOS sdk

sly sundial
#

Like is it Android? iOS? React Native? Which exact doc are yu following? What does the screen you are looking at look like, etc

acoustic mortar
#

Im creating an instance of paymentsheet flowController

#

I have a glitch setup which gives me paymentIntent ñ, customer, etc

#

And once I add a payment method in the flowController and charge something

#

Let me get some screen shots

#

This is what i see when i create the instance using a PaymentIntent

#

This is the one when i use a setupIntent

#

if i use paymentIntent and select the checkBox the payment methods gets saved to my user no problem

#

but when i use setup intent, the checkBox is not present, and after successfully completing the transaction i go bak to the flowController and my payment methods was not saved

sly sundial
#

let me have a look

acoustic mortar
#

thanks

sly sundial
#

Can you give me the SetupIntent id?

#

looks like my colleague confirmed earlier that yes this is expected behaviour

acoustic mortar
#

would it get saved until the payment is processed then

sly sundial
#

I don't understand what that sentence could mean

acoustic mortar
#

if i do a SetupIntent theres no immeidate charge

#

so is it that the paymentMethod would get saved to the Customer once the actual transaction happens?

#

im just wondering how can i save the payment method using setupIntent

sly sundial
#

Can you provide an exact example of the SetupIntent id?

acoustic mortar
#

sure, give me a sec

#

seti_1LIgCAHnen00B3RTnTuYTqze_secret_M0hbFLcWSAsxPBVvn9gEAuSPQWYp2OD

sly sundial
#

seti_1LIgCAHnen00B3RTnTuYTqze is the id, you should never share the real secret publicly

acoustic mortar
#

🙏

sly sundial
#

that SetupIntent was never confirmed

acoustic mortar
#

i just did

#

if you can cehck again

sly sundial
#

ah yes now it's confirmed

#

that SetupIntent has customer: null

acoustic mortar
#

ohh

sly sundial
#

it's normal that the PaymentMethod is never attached since you never associated the SetupIntent with a customer

acoustic mortar
#

ok that makes sense

#

ok thank you

#

i see the glitch code missing that

#

i'll test now, really appreciate the help