#hongda_44496

1 messages · Page 1 of 1 (latest)

willow thornBOT
calm vale
#

Is this firstname a data that's relevant to your app? Or is it something that you want to assciate with the SetupIntent.

dry olive
#

Yes, these inputs are required for the app. Once the intent setup finished, I want to use these input to create customer.

#

Oh, I missed this params. Can I pls now which payment require the redirect?

calm vale
#

I don't have the full list but at least I know card payment doesn't require redirect.

dry olive
#

If it still doing redirect, how could I solve it?

#

For some payment method.

calm vale
#

Make sure the return_url corresponds to a page on your website that provides the status of the payment. When Stripe redirects the customer to the return_url, we provide the following URL query parameters: payment_intent, payment_intent_secret

#

In setupIntent's case, you'll receive setup_intent and setup_intent_secret, and you can use setup_intent_secret to retrieve the SetupIntent object.

dry olive
#

But other inputs that required by our app will be missing by this redirect....

calm vale
#

You can also consider attaching them to the setupIntent as metadata.

willow thornBOT
dry olive
#

This one?

#

Right, I will try this. Thank you very much!