#Sindhuja
1 messages · Page 1 of 1 (latest)
For separate authorisation and capture, you can only capture amount lower than the authorisation amount. Can you share the use case why you would capture the amount higher than authorisation amount?
For example when i check out if my purchase amount is greater than the amount held during check in how do i capture that? Please suggest a solution
Why do you hold the amount in the first place when the customer is still in checkout process?
This was the requirement in the project
I see! I'm afraid this is not possible. One possible way I can think of is to:
- Save the payment method first: https://stripe.com/docs/payments/save-during-payment
- If the final amount is more than the authorised amount, then you cancel the authorisation and create new payment with the final amount and the payment method saved in Step 1
Sounds like a good plan, How about setup intent? will this work for my requirement?
Yup! Setup Intent will just save the payment method details only, which you can use to charge later
Ok sure thanks for the guidance will try this approach and get back in case of further queries