#Deekshant-cards

1 messages · Page 1 of 1 (latest)

upper burrow
#

@hearty yacht not really no, that's not how payments work

#

any payment attempt can be declined at any time, there's no way to guarantee anything. You'd just follow our guides for processing the payment and robustly handle any declines that happen!

hearty yacht
#

then please help in that error when I hit confirmCardSetup Method why it gives me more permission error

upper burrow
#

can you paste the seti_xxx ID of that SetupIntent here so I can check logs?

hearty yacht
#

seti_1JhtfQSGF3AgxZ79HcF6VjTG_secret_KMcv0d0tyIM83e0EnjM2QoVXNLkyUMT

#

@upper burrow

upper burrow
#

yes I saw

#

you have to be patient and give me time to look.

hearty yacht
#

Okay

upper burrow
#

can you share the full code you're using?

hearty yacht
#

Client side REACT

const CardElement = elements.getElement(CardNumberElement)
    const res = await stripe.confirmCardSetup('seti_1JhtgvSGF3AgxZ79Sjc3kaf7_secret_KMcwu6k789lx9Q04FJS7xPG2Q05f4Gj', {
      payment_method: {
        card: CardElement,
        billing_details: {
          name: 'Jenny Rosen',
        },
      },
    })
upper burrow
#

can you share the full code?

#

especially how you use StripeProvider

#

the error really is just that you're using the wrong API keys , or do you pass stripeAccount for example? (you shouldn't pass it, since you don't seem to be using Connect)

hearty yacht
#

No i did not pass any account id till now