#nicolas-banktransfers-amount
1 messages · Page 1 of 1 (latest)
Hey @marble cedar! What do you need help with?
Hi!. I'm working with stripe payment intents. I'm implementing the integration to use Wire transfer (Bank Transfers) for the US
I'm listenint to the payment_intent.partially_funded webhook. When I listen to that event I need to update the payment intent amount because of some processing fees that our company charges
I noticed that after I update the payment intent object in Stripe, the payment in stripe changes from partially paid to incomplete and the partial transfer that I perform it's like not more related to my payment intent
When I'm updating the payment intent object the only property I'm updating is the amount of the payment intent
Any idea?
It's impossible to change the amount of a PaymentIntent after the fact so I assume you are getting an error no?
I'm sorry, I don't really follow all you described so if you could provide a clear example with a PaymentIntent id pi_123, the related Event ids evt_123, etc. it would help
No, I'm not getting an error. Stripe updates the payment intent correctly.
Let me explain my case again
Actions:
- Create a payment intent for $100
- Client transfers $50
From our side, we charge user for using wire transfer so from those $50 bugs we charged 3% imagine as a processing fee. So the applicable amount instead of being $50 would be (50 - 1.5). For stripe the client needs to transfer $50 to complete the invoice. The truth is that the client needs to transfer $51.5
So, when I'm listenting to the payment_intent.partialy_funded event I need to udpate the payment intent amount to add those $1.5
So the next time the client see the remaining amount to transfer would show $51.5 and not $50
The problem is that the payment intent amount gets updated correctly but seems that the first transfer gets unrelated of the payment intent
Let me know if now I explained it better
unfortunately I still don't really understand what you said I'm sorry. Especially this sentence
The problem is that the payment intent amount gets updated correctly but seems that the first transfer gets unrelated of the payment intent
And it would really help to get detailed exact ids of objects so that we can look at the same thing. If possible all explained in one Discord message instead of many separate sentences
nicolas-banktransfers-amount
those are pictures so not really
Please try to take the time to provide exact ids in text here so that I can help you further
Okay. Sure I will write with Ids to explain it better
thank you! Sorry for the hassle but there are 9 other people asking for help in real time and I'm struggling to follow what you describe
Sure yeap. Makes sense