#fiyaz2110

1 messages · Page 1 of 1 (latest)

tawdry spearBOT
sudden coral
#

Hi there, can you share with me the full error response?

celest marsh
#

But CardField component gives me completed true in response before submitting to confirmSetUpIntent

sudden coral
#

OK, so it's a react native integration.

#

Which step are you in right now?

celest marsh
#

I'm following the above link

sudden coral
#

I guess you are at Collect card details ?

celest marsh
#

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

sudden coral
#

Can you share with the PaymentIntent ID?

celest marsh
#

const { setupIntent, error } = await confirmSetupIntent(clientSecret, {
paymentMethodType: 'Card',
paymentMethodData: {
billingDetails: billingDetails,
},
})

celest marsh
#

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"}

sudden coral
#

What did you pass for billingDetails?

celest marsh
#

const billingDetails = {
email: email,
}

sudden coral
#

and what's the value of email?

celest marsh
#

email of that customer

sudden coral
#

Do you have a working project that I can run and reproduce the issue?

celest marsh
#

Yes but project is a bit longer like tiktok for kids.

#

can you look at my code by each step from the documentation>

sudden coral
#

Or can you give me a minimal project so that I can reproduce the issue?

celest marsh
#

I am not sure how we are using card details here

#

I am not seeing any link for card field

celest marsh
sudden coral
#

I can't really help with debug if I can't reproduce the issue.

celest marsh
#

Ok how can I send this code

#

do I need to send code or APK?

sudden coral
#

What link are you looking for? do you mean API reference about CardField?

celest marsh
sudden coral
celest marsh
#

we are creating customer, setup intent and then confirming it. Not sure how we are linking CardField to this process

celest marsh
sudden coral
celest marsh
sudden coral
#

Stripe will create a payment_method and associate it with the SetupIntent and customer (if you also pass in a ephemeral key secret)

celest marsh
#

Ok lemme create a mini project for you. How can I send it to you?

#

?

sudden coral
#

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.

celest marsh
#

Ok thank you sir.