Today I needed to find out how to process PayPal Express Checkout transactions for third parties. PayPal allows merchants to give permissions to other merchants to perform transactions on their behalf, without having to hand over their private API username, password and signature. While we have implemented Express Checkout for ourselves, I couldn’t find out how to perform the transaction on behalf of another merchant until I found this useful post.
To quote from the link above:
Yes, you specify an alternate “SUBJECT” of the transaction.
Normally your SetExpressCheckout request looks something like:
METHOD=
&VERSION= &PWD= &USER= &SIGNATURE= &... Now it will look like this:
METHOD=
&VERSION= &PWD= &USER= &SIGNATURE= &SUBJECT= ... Payee_PayPal_Account is the email address/username the user uses to log in.
(Note that email address/username is NOT the API username of the account.)
Thanks Jeremy!
Hi
Did you ever get this sorted? I am in the same position.
Be grateful for any hints on this.
Hi Andrew. Sorry to hear you are having problems. Yes, I was able to get this working okay. I just had to put the email of the person I wanted to receive the money in the SUBJECT= part of the URL. Did this not work for you? Are you getting any errors?