#Vija-Checkout

1 messages · Page 1 of 1 (latest)

tepid gulch
#

To create off-session payment, set off_session=true (https://stripe.com/docs/api/payment_intents/create#create_payment_intent-off_session) and confirm=true when creating the PaymentIntent, so that you can charge the customer from backend without the need of going throw the Checkout flow.

frosty yarrow
#

Oh Okay Thank You

tepid gulch
#

I need to step away so I’m going to archive this thread. If you need help with anything else please ask in #dev-help or contact Stripe Support: https://support.stripe.com/contact

cosmic horizon
#

@frosty yarrow if you're using mode:setup you don't have to use payment_intent_data .

frosty yarrow
#

Yeah, but how can I save the payment methods for the next checkouts?

#

we don't want to fill the Bank Details again by the User for the next checkout

cosmic horizon
#

if you're using mode:setup that's what it does, it accepts the bank details and saves them to the Customer object used in the Session.

cosmic horizon
frosty yarrow
cosmic horizon
#

yes, that's what it does.

#

why do you redirect the customer to Checkout multiple times? If they come back to your site, and you know they are a certain Stripe Customer cus_xxx, and that Customer has saved payment methods, you don't need to redirect them to Checkout to add a new payment method.

frosty yarrow
#

Ohh, So we should allow user to add payment method at once
and without any checkout we can directly initiate the payment with the Payment Method and Customer?

cosmic horizon
frosty yarrow
#

Is there any API to list Payment Method for the Bank Accounts as well?
So we can let user choose during the next payment?

cosmic horizon
frosty yarrow
#

Thanks a lot @cosmic horizon