#Isidoro Ferreiro - PaymentSheet

1 messages · Page 1 of 1 (latest)

autumn stratus
dusty radish
#

But it looks like that that is for adding the information that was previously collected, not for collecting it in the payment sheet itself

autumn stratus
#

Not sure I understand? What does your PaymentSheet code look like now?

dusty radish
#

const {error} = await initPaymentSheet({
customerId: customer,
customerEphemeralKeySecret: ephemeralKey,
paymentIntentClientSecret: paymentIntent,
primaryButtonColor: 'black',
returnURL: 'something://stripe-redirect',
allowsDelayedPaymentMethods: false,
merchantDisplayName: 'something',
applePay: true,
googlePay: true,
merchantCountryCode: 'GB',
testEnv: true,
});

#

Sorry new to discord, not sure how to send code formatted

#

Currently it looks like this, I was wondering if the Billing Details can be collected from this form directly

#

The BillingDetails property that you shared looks like its for appending information that was collected somewhere else

autumn stratus
#

Hm, I'm not sure if we support that in React Native, give me a bit to find out...

dusty radish
#

Sure, thanks!

wanton berry
#

@dusty radish we don't support collecting the full billing details right now unfortunately

#

you'll have to do your own UI for this I think

dusty radish
#

Is this in the road map?

wanton berry
#

Not in the short term no, but I recommend adding an issue on our Github repo!