Hi Team, I am working on an application that was created 4 years ago and the PayPal transactions were working fine until last year. Now, when I tested the application payments via credit card are not working. From the developers website I learnt that the use of the PayPal REST /payments APIs to accept credit card payments is restricted. Instead, you can accept credit card payments with Braintree direct. I am using https://api.sandbox.paypal.com/v1/payments/payment for transactions and receiving response as 'PAYEE_ACCOUNT_INVALID'. Below is the input sent: { "intent": "sale", "payer": { "payment_method": "credit_card", "funding_instruments": [ { "credit_card_token": { "credit_card_id": "CARD-4A281579HU0503902MOSC2VA", "expire_month": 1, "expire_year": 2028 } } ] }, "transactions": [ { "amount": { "currency": "USD", "total": "29.99" }, "description": "Monthly Subscription" } ] } Please help me understand what the issue is and a workaround for the same.
... View more