Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

PayPal API Error -- This payment request must be authorized by the sender

In the delayed chained adaptive Paypal the primary pay is successfully sent when i execute a payment with the pay key it shows an error like this

How could i authorize to send amount to secondary from primary receiver

PayPal API Error

responseEnvelope.timestamp: 2012-10-31T01:12:05.386-07:00
responseEnvelope.ack:   Failure
responseEnvelope.correlationId: fd2c71e75c133
responseEnvelope.build: 3988550
error(0).errorId:   550001
error(0).domain:    PLATFORM
error(0).subdomain: Application
error(0).severity:  Error
error(0).category:  Application
error(0).message:   This payment request must be authorized by the sender
like image 576
jackyesind Avatar asked Oct 31 '12 08:10

jackyesind


People also ask

Why do I keep getting an error message on PayPal?

There are many reasons why a student may encounter an error message while using the PayPal checkout - they could be seeing an error due to insufficient funds, a processing issue or outage on PayPal's side, the student's bank blocking the purchase for security reasons, or a number of other reasons.

Why does PayPal say things don't appear to be working at the moment please try again later?

This error typically occurs for two reasons: You have entered your PayPal email address or PayPal Identity Token incorrectly. Your Encrypted Website Payments set to ON.

What is PayPal API?

The PayPal REST API is organized around transaction workflows, including: orders, payments, subscriptions, invoicing, and disputes. Try out our REST APIs with test credentials on Postman. The API uses standard verbs and returns HTTP response codes and JSON-encoded responses.

What is the PayPal request ID?

To enforce idempotency on REST API POST calls, use the PayPal-Request-Id request header, which contains a unique user-generated ID that the server stores for a period of time. Note: Not all APIs support this header.


1 Answers

I got this error, when I was trying to execute payment, that user had not payed yet, i.e. you make a pay request, then receive a pay key, then using this pay key user must follow url and pay (money will go to primary receiver), and after all you should execute payment to transfer money to secondary receivers.

Url I used in sandbox for user to pay:

https://www.sandbox.paypal.com/webscr&cmd=_ap-payment&paykey={{pay_key}},

where {{pay_key}} is a key from pay request.

like image 164
Michael Radionov Avatar answered Oct 16 '22 12:10

Michael Radionov