Using the api to make payments works in Sandbox but not in Live
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I wrote an application to make a payment to an email and I have it working for my sandbox account but I can't get it to work in live. When I make the request and log in to approve the payment it redirects quickly and displays this message in the browser.
"You are logging into the account of the seller for this purchase. Please change your login information and try again."
But that is what I'm trying to do, log in as the seller to authorize the payment. The JSON I'm sending to Paypal is below. I've confirmed that the email is the person's email that I'm trying to pay. Double checked that all my credentials are correct. I'm using the live creds and I'm using
{
"intent": "sale",
"payer": {
"payment_method": "paypal"
},
"transactions": [
{
"amount": {
"total": "65.90",
"currency": "USD"
},
"payee": {
"email": "*****"
},
"description": "ReadyMade.atp.art Payout for Helicopter Over Biscane Bay 4 - 1/4 inch / 24x36 inch (Qty: 1)"
}
],
"redirect_urls": {
"return_url": "https://xxx.xxx.com/paypal-success?orderId=xxxx&lineItemId=xxx",
"cancel_url": "https://xxx.xxx.com/RmOrders"
}
}
Haven't Found your Answer?
It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.
- Failed to process the payment. Please try again or contact the shop admin. in REST APIs
- NOT_ENABLED_TO_VAULT_PAYMENT_SOURCE error in some APIs / sandbox account in REST APIs
- Sandbox payments not completing; Opencart 3.0.4.0 and PayPal Checkout Integration V3.0.2 in Sandbox Environment
- Sandbox business account - Webhook not working in Sandbox Environment
- OXXO payment source error PAYEE_COUNTRY_NOT_SUPPORTED_FOR_PAYMENT_SOURCE error in production in REST APIs