#cblaze22

1 messages · Page 1 of 1 (latest)

dry badgeBOT
lusty rune
#

Can you elaborate a bit more on what flow you're trying to build exactly?

sly cipher
#

Sure

#

We have users save their credit card for later use in some instances using backend logic.

#

However, we also use stripe.js, which is user input and iframed

#

Is there a way to use this saved credit card in the stripe.js setup

#

Because its ALWAYS user input to create a token

#

on a website

#

Thats our stripe.js fields generated by you

#

This user has a saved credit card

#

How can I use that instead and create a token to be used instead of the user doing this everytime by entering CC info

lusty rune
#

Ah ok. So if the user already has a payment method saved, you want to detect that and just enable them to select the saved payment method instead? Do I have that right?

sly cipher
#

Yes with stripe.js

#

Should I just create a one time card token after Place Order from the Payment Method?

lusty rune
#

Are you using the Charges API or Payment Intent API?

sly cipher
#

Charges

lusty rune
#

Or using SetupIntents?

#

Gotcha

#

Or how are you saving payment methods? This looks to be an older flow

sly cipher
#

Got it, I think I got it