#isurika_paymentintent-banktransfers
1 messages ยท Page 1 of 1 (latest)
๐ Welcome to your new thread!
โฒ๏ธ We'll be here soon! We typically respond in a few minutes, but in some cases we might need a bit more time (e.g., server's busy, you've got a complex question, etc.).
โฑ๏ธ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can start a new thread if you have another question.
๐ This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1260642108042121266
๐ Have more to share? Add details, code, screenshots, videos, etc. below.
Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.
- isurika_api, 1 day ago, 10 messages
- isurika_api, 1 day ago, 59 messages
This question does not have any link with previous discussions. Only similarity is the payment method which is cash balance.
hello, not sure I understand, can you explain this part?
So according to the documentation I should execute confirmation endpoint but It doesn't contain amount as a param.
what are you trying to do?
I think you may be mistaken about certain aspects of PaymentIntents? I can clarify
I am using cash balance as a payment method.
When we know about amount to be collected from the customer we create a payment intent.
But later time before customer settles the amount, the amount can be decreased from our end.
So now I need to update the existing amount from the payment intent that I already created.
This is the flow that I need to perform
got it, and what blocker are you running into? That you cannot update the PaymentIntent amount once it is requires_confirmation ?
No I can execute the payment intent update and now my payment has been updated with the new amount
But in payment intent page it displays as a
PaymentIntent status: requires_confirmation
So I am not sure whether I need to execute any other API to change the status.
let me check, I know what that means for regular PaymentMethods but don't recall for Cash Balance
isurika_paymentintent-banktransfers
@mystic kiln have you tried confirming the PaymentIntent again at that point?
So that is my question also
Should I use this endpoint ? https://docs.stripe.com/api/payment_intents/confirm
yes
Should I use that API without any params ?
I am changing amount in the payment intent. So I was searching for the amount param in the request body of this API. But I coudnt find
You need to update the PaymentIntent and then you need to confirm it again, 2 separate calls
Ok it worked.
First I need to execute update payment intent with amount as a param.
And then confirmation endpoint without any param.
I was confused about the request params because document says we can use confirm endpoint only if we need to update and confirm in the single call.
glad you got unblocked
But seems like for this particular scenario I need to use two calls.
correct
Thank you for the help
Have a great day ๐