#gaston-reactnative-deferred
1 messages · Page 1 of 1 (latest)
Hello
Can you clarify exactly what you mean by:
enable it to ask for the phone number
What integration are you using specifically?
customerId: customer,
customerEphemeralKeySecret: ephemeralKey,
paymentIntentClientSecret: paymentIntent,
allowsDelayedPaymentMethods: false,
billingDetailsCollectionConfiguration: {
name: PaymentSheet.CollectionMode.ALWAYS,
email: PaymentSheet.CollectionMode.ALWAYS,
phone: PaymentSheet.CollectionMode.ALWAYS,
address: PaymentSheet.AddressCollectionMode.FULL,
attachDefaultsToPaymentMethod: true,
},
Thanks for clarifying
asks for 12 numbers when in reality there are 10
Gotcha. I'll need to file a ticket internally for us to get that fixed.
Thank you for reporting
thank you so much
excuse me one more question?
Can I limit the country where I want to receive the payment?
The best way to do that would be to use the deferred-intent integration: https://stripe.com/docs/payments/accept-a-payment-deferred so that you can check the PaymentMethod before confirming.
gaston-reactnative-deferred
ok, sorry for another question haha I can make a custom input and integrate it to await initPaymentSheet({
//...
defaultBillingDetails: {
email: 'foo@bar.com',
}
billingDetailsCollectionConfiguration: {
name: PaymentSheet.CollectionMode.ALWAYS,
email: PaymentSheet.CollectionMode.NEVER,
address: PaymentSheet.AddressCollectionMode.FULL,
attachDefaultsToPaymentMethod: true
},
});
in react native
@lost grove why don't you want to use PaymentSheet? That's the right way to integrate
The problem is that I had problems with Stripe when making a payment and for greater security it asks me to send a phone number and that field is the one I am having problems with
I don't really understand what that could mean
I am using the stripe form for react-native and I enable it to ask for the phone number but it asks for more than 10 characteristics when a normal number from Mexico has 10 characteristics.
and that's why I can't make payments
I need to be able to collect and also send the corresponding number of the person who made the payment to stripe
Sure but my colleague said they'd report the bug and I'd recommend reaching out to our support team to discuss this
You can contact them here https://support.stripe.com/contact
I closed your other question please ask here
all good, so what's your question?
can I customize the payment sheet to request other information?
What "other information" are you talking about though?
Shipping Address