#isurika_paymentintent-banktransfers

1 messages ยท Page 1 of 1 (latest)

bleak barnBOT
#

๐Ÿ‘‹ 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.

half orchidBOT
#

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.

mystic kiln
#

This question does not have any link with previous discussions. Only similarity is the payment method which is cash balance.

chrome spoke
#

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

mystic kiln
#

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

chrome spoke
#

got it, and what blocker are you running into? That you cannot update the PaymentIntent amount once it is requires_confirmation ?

mystic kiln
#

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.

chrome spoke
#

let me check, I know what that means for regular PaymentMethods but don't recall for Cash Balance

bleak barnBOT
frank willow
#

isurika_paymentintent-banktransfers

#

@mystic kiln have you tried confirming the PaymentIntent again at that point?

mystic kiln
frank willow
#

yes

mystic kiln
#

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

frank willow
#

You need to update the PaymentIntent and then you need to confirm it again, 2 separate calls

mystic kiln
#

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.

frank willow
#

glad you got unblocked

mystic kiln
#

But seems like for this particular scenario I need to use two calls.

frank willow
#

correct

mystic kiln
#

Thank you for the help
Have a great day ๐Ÿ™‚