#D365 Developer

1 messages · Page 1 of 1 (latest)

mortal lilyBOT
stable lodge
#

Hi! Let me help you with this.

#

Are you running into any issues?

chilly kindle
#

Yes i am using card and us_bank_account method types while creating payment intent. after confirmation i want to update the application_fee_amoount. but when i use us_bank_account type it is not allowing me to create payment intent without capture method automatic.

#

when i use capture method aytomatic, while confirming the payment it is automatically capturing. i am not able to update the appication fee.

#

automatic*

mortal lilyBOT
stable lodge
#

Is there an error you're seeing?

chilly kindle
#

Yes

untold adder
#

Hello, ACH unfortunately does not support placing holds on funds, we list it as a limit in the docs:

Only some payment methods support separate authorization and capture. Payment methods that support this include cards, Afterpay, Cash App Pay, and Klarna. Payment methods that don’t support this include ACH and iDEAL. Read more about payment method integration options.
https://stripe.com/docs/payments/place-a-hold-on-a-payment-method

#

Can you tell me more about what you are trying to do and why you are changing the application fee after capture?

#

It might make sense for you to switch to our Separate Charges & Transfers flow, after the payment has been automatically captured you can decide how much of it to send to the connected account(s) involved https://stripe.com/docs/connect/charges-transfers

chilly kindle
#

Firstly we are creating payment intents, by passing payment_method_types "card","us_bank_account". From check out page we are providing the payment details and confirming the payment intent. After authorisation we are updating application_fee_amount. But the issue here is when we use us_bank_account in method types while creating a payment intent it is not allowing capture_method "manual". So if we use capture_method as "automatic", then while confirming the payment intent automatically it is capturing. so in this case we are not able to update the application fee amount. Is there any way to handle this issue?

untold adder
#

Yes, my Separate Charges and Transfers suggestion is a workaround

#

You would use automatic capture but would decide how the funds are divided after the payment is made

#

With SC&T, you don't specify an application fee, you just keep the funds that you don't send away.
So with destination charges, you would charge $10 and have an application fee of $2. With Separate Charges and Transfers, you would charge $10 and then send $8 away to your connected account. Either way you get $2 but with Separate Charges and Transfers that amount is decided after the charge, so you can calculate it and change it however you want.