#falconstakepool
1 messages · Page 1 of 1 (latest)
const response = await stripe.confirmCardPayment(secret, {
payment_method: {
card: this.card,
},
Did you mount this.card?
yes
this.card = elements.create("card", {
style: formStyle,
});
this.card.mount("#card-element");
I see it on my page and it works, also the onChange for it works
Okie so how is the result of confirmCardPayment?
IntegrationError: Missing value for stripe.confirmCardPayment intent secret: value should be a client_secret string.
It is weird because the payment is still hitting the api and I do see a secret attached to it
I found the error, I was not returning correctly from the Stripe.paymentIntents.create method.