cancel
Showing results for 
Search instead for 
Did you mean: 

Why not working “platform_fees” in PayPal API?

Options
DAez1
Contributor
Posted on

Why when I send funds, then the money goes to only one account, and the commission on the second account is not? All accounts are set up, no restrictions, everything you need is there. My request:

request.post(PAYPAL_API + '/v2/checkout/orders', {
        auth: {
            user: CLIENT,
            pass: SECRET
        },
        headers: {
            "Content-Type": "application/json",
        },
        body: {
            "intent": "CAPTURE",
            "purchase_units": [{
                "amount": {
                    "currency_code": "USD",
                    "value": "1.00"
                },
                "payee": {
                    "email_address": "seller account"
                },
                "description": "Item 1",
                "payment_instruction": {
                    "disbursement_mode": "INSTANT",
                    "platform_fees": [{
                        "amount": {
                            "currency_code": "USD",
                            "value": "0.25"
                        },
                        "payee": {
                            "email_address": "fee account"
                        },
                    }]
                }
            }],
        },
        json: true
    },
1 REPLY 1

Why not working “platform_fees” in PayPal API?

Options
Koas
Contributor

I'm having the exact same problem, the transaction completes correctly but no funds are transferred to the account of the platform_fees object.

 

@DAez1 have you had any luck with this issue?

Haven't Found your Answer?

It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.