#Adnan Shaukat-pm-failure

1 messages ยท Page 1 of 1 (latest)

crude glen
#

Hello ๐Ÿ‘‹
How exactly are you integrating card payments?
Are you using any Stripe Elements?

We're not seeing any confirmation attempt on this PaymentIntent

unborn loom
#

Yes I am using Stripe Element, I get the client secret and then I call the method confirmCardPayment with the client secret.

#

This is how I am doing it.

crude glen
#

are you seeing any errors in your console when confirmCardPayment runs?
It seems like the confirmation attempt isn't making it to Stripe. Can you logout response.clientSecret as well as cardElement to make sure those are not null / undefined?

unborn loom
#

I have verified and the clientSecret is not null, will confirm if cardElement is null or not.

#

I think card element can't be null, if card element is null then I wouldn't be able to see the card element on the UI, right ?

crude glen
#

I mean the variable cardElement can lose its value if anything is buggy in the code. So just double checking ๐Ÿ™‚

#

Can you log out the response from confirmCardPayment ?
Also, are you seeing any network errors in your console?

unborn loom
#

Okay I will check these things, and will send you the response.