#fiyaz2110
1 messages · Page 1 of 1 (latest)
Hi there, can you share with me the full error response?
But CardField component gives me completed true in response before submitting to confirmSetUpIntent
I'm following the above link
I guess you are at Collect card details ?
I have completed all and Same is working in my other project. It was wroking before but not it is showing this error
Yes error comes after creating setup intent and card details, when I do this
Can you share with the PaymentIntent ID?
const { setupIntent, error } = await confirmSetupIntent(clientSecret, {
paymentMethodType: 'Card',
paymentMethodData: {
billingDetails: billingDetails,
},
})
Okay sure
This is setupintent id seti_1M1mPfAMZWb9gajvlD92HzQ2
This is onCardChange final result before submitting
{"brand": "Visa", "complete": true, "expiryMonth": 10, "expiryYear": 26, "last4": "4242", "postalCode": "54367", "validCVC": "Valid", "validExpiryDate": "Valid", "validNumber": "Valid"}
What did you pass for billingDetails?
const billingDetails = {
email: email,
}
and what's the value of email?
Do you have a working project that I can run and reproduce the issue?
Yes but project is a bit longer like tiktok for kids.
can you look at my code by each step from the documentation>
Or can you give me a minimal project so that I can reproduce the issue?
I am not sure how we are using card details here
I am not seeing any link for card field
Ok I'll have to create it for you. Can we debug my this code before creating new one?
I can't really help with debug if I can't reproduce the issue.
I am not sure about this
Ok how can I send this code
do I need to send code or APK?
What link are you looking for? do you mean API reference about CardField?
I mean how we are linking this card field in this documentation?
https://stripe.com/docs/payments/save-and-reuse-cards-only
You can find the react native SDK reference here https://stripe.dev/stripe-react-native/api-reference/index.html
Documentation for @stripe/stripe-react-native
we are creating customer, setup intent and then confirming it. Not sure how we are linking CardField to this process
I know this. I'm just wondering how we are linking CardField here in this documentation
Oh, the react native SDK will automatically retrieve the card details from CardField. If you are interested you can find the implementation in the github repo https://github.com/stripe/stripe-react-native
But how stripe will now that this card details are linked to this setupintent and customer?
*know
Stripe will create a payment_method and associate it with the SetupIntent and customer (if you also pass in a ephemeral key secret)
I'd suggest to continue the conversation through email. You can upload the project somewhere we can download from a public URL, write to Stripe support https://support.stripe.com/contact and tell them you have talked to us earlier in Discord, so they that can forward the ticket to us.
Find help and support for Stripe. Our support center provides answers on all types of situations, including account information, charges and refunds, and subscriptions information. Get your questions answered and find international support for Stripe.
Ok thank you sir.