#venkateshjsoft

1 messages · Page 1 of 1 (latest)

green edgeBOT
dapper trout
#

Hi! Let me help you with this.

#

Could you please share the Checkout Session ID?

#

You would need to set up this Payment Method properly to be able to reuse it in the future.

stiff fable
#

ppage_1NdshjDEdWHgNJdaLzBEWfOH

#

I created a endpoint so our frontend application calls this api to create checkout session. Once the payment is done, im not sure how to update the payment intent so that I can use it for future payments.

dapper trout
#

In the future, you can use payment_intent_data.setup_future_usage parameter when you create your Checkout Session to be able to reuse the Payment Method used during the initial payment: https://stripe.com/docs/api/checkout/sessions/create#create_checkout_session-payment_intent_data-setup_future_usage

Here's an guide doing the same with Payment Element, which is a bit different from Checkout Session, but you get get some useful insights here too: https://stripe.com/docs/payments/save-during-payment

stiff fable
#

I tried setup_future_usage but its not working for ideal

#

its works only for card payment

dapper trout
#

That's expected, not all payment method types work with this parameter, for example ideal.

#

So, it's not possible, unfortunately.

stiff fable
#

I want to use unique experience for all payment types. If I use checkout option for card with setup future, user can see how much money he is paying in the checkout page. whereas if I use ideal without setup future, its not making the acutal payment, but its setting up the payment method. User cant see how much he is gong to pay in this step now

#

in the second case, I have to make another api call to make the actual payment

#

but for card we are paying at the same time

#

is there way I can implement one approach for all payment types

dapper trout
#

Could you please share the Checkout Session where you used the parameter but you didn't see Ideal?

stiff fable
#

I mean, I passed the setup future as off_Session for ideal and I got error that its not supported

dapper trout
stiff fable
#

sure

#

req_QfVmYEekEbiKxU

#

payment_intent_data.setup_future_usageis unsupported for payment methodideal`."

dapper trout
#

Not sure, let me check

stiff fable
#

sure

dapper trout
#

Are you planning to create a Subscription with this Payment Method, or just one-off payments once in a while?

stiff fable
#

we will be creating subscription with this payment method, but not with stripe subscription

#

we have our own subscription enginer

#

we will charge the customer first time when he buy subcription

#

and we charge then again during renewal

dapper trout
#

Still checking, please give me a minute.

stiff fable
#

sure

dapper trout
#

From what I gathered, iDEAL now supports setup_future_usage in Checkout only for setup and subscription modes.

stiff fable
#

can we use subcription modes but our own subscription?

dapper trout
#

No, you will need to use setup for that.

stiff fable
#

if I use setup, user will not see the payment details in the checkout page

#

I mean how much amount he is going to pay

dapper trout
#

Yes, that's correct.

#

Why you don't want to use Stripe Billing?

stiff fable
#

what is the difference?

#

betweek checkout and billing

#

as long as user not seeing any difference for each payment types in the UI, I can use any option

dapper trout
#

Stripe Billing is a subscription engine built by Stripe, you can use it with Stripe Checkout, and it will support iDEAL and the customer will see the price breakdown on the checkout page.

#

It's much easier than building your own subscription engine.

stiff fable
#

but I do want to use our own subscription engine

dapper trout
#

Why?

stiff fable
#

we have existing subscription model which we maintain last 10 years

#

the reason we are switching is, to migrate PSP from buckaroo to stripe

#

without changing subscription mode

#

we want to use stripe as payment engine

dapper trout
#

You can migrate your subscription engine to Stripe Billing, which will simplify your life a lot.

stiff fable
#

I agree, but this is something we already discussed with stripe team

#

also we cant do this change at the moment

#

anyways thanks for your time

#

I will share your feedback with business

#

Thanks

dapper trout
#

Happy to help!