#Adil kadiyawala
1 messages · Page 1 of 1 (latest)
hello! can you share the request id?
payment_intent id?
PaymentIntent ID should work
Otherwise, here's how you can find a request ID: https://support.stripe.com/questions/finding-the-id-for-an-api-request
Okay let me do that
This is the request id:
req_sZu6515IDmYFV2
pi_3LuJjuSDmeQaIema1unMM5qx
this is the payment intent id
I see successful 200 response here. Where do you see the error?
error in code when I want to use "application_fee_amount"
when I want to set "application_fee_amount" in the array of payment_intent then at checkout page I am not able to checkout
What is the full error message you received?
Is this the request you're referring to? https://dashboard.stripe.com/test/logs/req_KF3cdZKxowFEYd
No not the request
But If I am using the applicetion_fee_amount then I am not able to do a request
Could you share the full error message and your code?
Without any error message, we are unable to advice further
This is the request with 400 error. Is this the same error you saw?
Yeah give me 10 minutes I can show you my code
Yup, sure
What is the full error message?
I append the two arrays in params :
$params['application_fee_amount'] = 118;
$params['transfer_data'] = [
'destination' => 'acct_1LtmLgSImjBLyoQQ',
];
I am not getting any error. When I use "application_fee_amount" in the array and when I go to checkout page then I saw an endless loader
let me give you the screenshot as well
Please check this screenshot.
Now it is working with the application_fee_amount
but I have doubt
Above both screenshots:
I have make a payment of 118 INR with application_fee_amount is : 1.18 INR
In first screenshot you can check it.
also the Net amount is 113.82 after the fee and collected fee.
But in the connected account it is storing the 116.82
Is stripe fee deduct from the main account?
I got the list of collected fees so these all are the store in main account right?
The application fee is collected from the payment. Application fee will go into the platform balance and the remaining amount will go to the connected account.