#NewtReyes

1 messages ยท Page 1 of 1 (latest)

open vineBOT
radiant tartan
#

Hello ๐Ÿ‘‹

earnest nova
#

Hi, @radiant tartan

radiant tartan
#

Not sure why the bot didn't copy the message in the thread so

Is there any way to set the billing details for a Payment Method when creating a SetupIntent that will be used for collecting the information for a Credit Card?

#

IIRC Billing details are stored on the payment method and not on the SetupIntent itself

#

So don't think you can prefill it server-side

#

without providing an existing PaymentMethod

earnest nova
#

Mmmmm

#

I thought this could be used

#

But it tells me that I need to set payment_method_data[type].

#

:/

radiant tartan
#

How exactly are you setting it?

earnest nova
#

As part of the payload when creating the setup intent

radiant tartan
#

Do you have a request ID I can take a look at?

earnest nova
#

req_His5rSixsrmN74

radiant tartan
#

Yeah the endpoint also expects you to pass a type property too
So yeah, don't think it would work unless you're generating payment methods server-side

earnest nova
#

Got you

radiant tartan
#

NP! ๐Ÿ™‚ Happy to help

open vineBOT
earnest nova
#

As it is right now, I am using the Stripe Terminal SDK for Android to collect a Payment Method using a Setup Intent. Is there any way to set the Billing Details for the Payment Method by means of the Stripe Terminal SDK?

#

Or do I have to update the Billing Details by means of the API after the Payment Method is created?

radiant tartan
#

Checking..

#

Yeah not seeing a way to pass in the billing details while confirming a SetupIntent

#

you'd need to update the details later on by calling the API

#

I will file a feature request for this