#JacquesVivi

1 messages · Page 1 of 1 (latest)

sterile scaffoldBOT
ebon robin
#

Here is the payment

lone warren
ebon robin
#

Yes

lone warren
ebon robin
#

But don"t understant how to add application_fee_amount for a transfert

#

Due to a change in the configuration of the connected account acct_1MlwBfGgQojXGk4x for your platform, Viviarto, we were unable to complete the transfer as requested in your payment intent pi_3NVQhRK5IWeP9lF80ANQwOVo. The amount charged on the payment intent has been credited to your platform account’s balance instead.

lone warren
ebon robin
#

Ok. So I create a new Payment Intend with fee and "transfer_group" id. Then I transfert it

#

Right ?

lone warren
ebon robin
#

In fact I already try this : $transfer = \Stripe\Transfer::create([
[
'source_transaction' => $source_transaction,
'amount' => $amount - $amount_fee,
'currency' => 'eur',
'destination' => $organizer_strip_key,
'description' => $description,
'metadata' => $metadata,
]
]);

#

But I don't have fee on it

#

is it because I don't have created a new payment intent before ?

lone warren
ebon robin
#

Yes

#

The fee ara correctly setted

#

The fee have been removed from the total

#

I want to create a distinct transfert but with the same logic

lone warren
#

But with separate charge and transfer there is no fees to reflect. Image you have a PaymentIntent = 100€
You send 50€ to a Connected Account A and 40€ to another Connected Account B. The remaining 10€ are your net income/application fees... they will not be refletec on the Connected Acocunt Dashboard/side

#

It's not a destination charge.

ebon robin
#

Ok I understand

#

Do i Have a way to use a destination charge in my case ?

lone warren
ebon robin
#

Ok

lone warren
#

No that's a successfull payment. You need to create new one

ebon robin
#

Sorry I'm not sure I understand.

This payment was not transferred to the connect account : pi_3NVQhRK5IWeP9lF80ANQwOVo

I want to transfer it and deduct the associated fees. As if the payment had been transferred directly.

This is not a new payment. It is the transfer of an existing payment.

In what should I redo 1) a paymentIntent with transfer_data ? or 2) a transfers by removing the fees on the total ?

lone warren
#

This payment was not transferred to the connect account : pi_3NVQhRK5IWeP9lF80ANQwOVo
You can create a transfer, for example 110€, the remaining 10€ will be your net income/application fee. But they will not be refletced in the transfer as a fee in the dashboard.

ebon robin
#

Ok. I have no other choice ?

lone warren
#

No.

ebon robin
#

ok thansk