#Isidoro Ferreiro - PaymentSheet
1 messages · Page 1 of 1 (latest)
Hello! You can configure the BillingDetails on the Payment Sheet: https://stripe.dev/stripe-react-native/api-reference/interfaces/PaymentSheet.BillingDetails.html
See also the SetupParams: https://stripe.dev/stripe-react-native/api-reference/modules/PaymentSheet.html#SetupParams
But it looks like that that is for adding the information that was previously collected, not for collecting it in the payment sheet itself
Not sure I understand? What does your PaymentSheet code look like now?
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
Hm, I'm not sure if we support that in React Native, give me a bit to find out...
Sure, thanks!
@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
Is this in the road map?
Not in the short term no, but I recommend adding an issue on our Github repo!