#venkateshjsoft
1 messages · Page 1 of 1 (latest)
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.
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.
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
I tried setup_future_usage but its not working for ideal
its works only for card payment
That's expected, not all payment method types work with this parameter, for example ideal.
So, it's not possible, unfortunately.
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
Actually, I see it's possible with Ideal: https://stripe.com/docs/payments/payment-methods/integration-options#additional-api-bank-redirects
Could you please share the Checkout Session where you used the parameter but you didn't see Ideal?
I mean, I passed the setup future as off_Session for ideal and I got error that its not supported
Could you please share the Request ID req_xxx? https://support.stripe.com/questions/finding-the-id-for-an-api-request
sure
req_QfVmYEekEbiKxU
payment_intent_data.setup_future_usageis unsupported for payment methodideal`."
Not sure, let me check
sure
Are you planning to create a Subscription with this Payment Method, or just one-off payments once in a while?
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
Still checking, please give me a minute.
sure
From what I gathered, iDEAL now supports setup_future_usage in Checkout only for setup and subscription modes.
can we use subcription modes but our own subscription?
No, you will need to use setup for that.
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
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
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.
but I do want to use our own subscription engine
Why?
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
You can migrate your subscription engine to Stripe Billing, which will simplify your life a lot.
Please give this tutorial a look: https://stripe.com/docs/billing/subscriptions/build-subscriptions?ui=checkout
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
Happy to help!