#thomasnevink

1 messages · Page 1 of 1 (latest)

chilly anvilBOT
frozen steeple
#

Hi! Let me help you with this.

#

Could you please share the PaymentIntent ID pi_xxx?

grizzled moon
#

pi_3Nt8FMSAXIBNGNHB1JoIJBPq

frozen steeple
grizzled moon
#

That is correct

#

It is a code level issue

#

It bypasses my stripe.confirmCardPayment() in my client side code, that is where my payment_method is set

frozen steeple
#

You don't need to do anything on the frontend to confirm a PaymentIntent off-session.

grizzled moon
#

This is not a future payment

frozen steeple
#

Sorry, I don't follow. What are you trying to do?

grizzled moon
#

Well, I have a checkout page where there is stripe card elements to enter card details and a checkbox to select if the user wants to save the card details for future use

#

So I have checked the checkbox and attached the card details to a customer by using a Create a Setupintent object for saving a card for future transaction

frozen steeple
#

Why are you creating a SetupIntent?

#

If you've already saved the PM on the Checkout page?

grizzled moon
#

After that I'm making the payment by clicking a pay button which triggers the stripe.confirmCardPayment

grizzled moon
frozen steeple
#

PM - PaymentMethod.

grizzled moon
#

My use case is just to save the card for future transactions

frozen steeple
grizzled moon
#

I have my own form which injects stripe.js card elements

frozen steeple
#

Do you want to:

  • Charge the customer immediately, and save card for future usage, or
  • Only save card for future usage?
grizzled moon
#

Is there a way I could screen share and show you?

#

I have no errors

frozen steeple
grizzled moon
#

I will have a look into it. If I hit a roadblock, Is it ok if I revert back to you?

frozen steeple
#

Sure, my colleagues will be here to help.