PayPal Invoicing. SandBox. How to "pay" the invoice? - paypal

I'm building Invoicing system.
My client wants to send PayPal invoices without loggin to PayPal account.
I managed to make CreateInvoice() and CreateAndSendInvoice() functions to work (thanks to #Andrew Angell again!!!).
But now I need to "pay" the order. How do I act as a buyer, and pay the invoice?
There was no actually email sent to my box. I do see related record in 'notifications': "You've received an invoice XXX from YYY". But how, how do I "pay" it?

If you login to http://sandbox.paypal.com using the email address of the account that you sent the invoice to you'll see the invoice in the history just like a regular receiver would. You can pay it directly from there.

Related

Adaptive Payments: Unilateral receiver not allowed in chained payment is restricted

We have integrated the chained payment successfully in our website.
Per testing, we have encountered the issue like
‘Account not found. Unilateral receiver not allowed in chained payment is restricted’.
Is there further instructions on how to fix it?
That is usually caused by receiver’s email address that is unconfirmed. Please ask the receiver to confirm the email and the issue should get fixed.
Here’s how to confirm the email address:
Log in to your PayPal account.
Click Profile near the top of the page.
Click Update beside Email.
Select the email address you want to confirm, click Confirm and we'll send you an email.
Click the link in the email to complete the confirmation process.
A unilateral payment is a payment to an email address that does not yet belong to a PayPal account.
In most cases, the user would receive an email that they have been paid money and they need to create a PayPal account in order to receive/withdrawal the funds.
This feature is simply not available when using Chained Payments. All receivers must have an existing PayPal already.

Get the email of my PayPal customer

I need to read the email of the buyer that has completed a transaction on my eCommerce site. Paypal does send me an email of notification, but does not contain the email of the buyer (Instead, it returns just the transaction-id - which takes me to my account.)
I was looking through the PayPal for Developer API, but I can't find an example to get this level of detail. Is this even possible to retrieve, and if so, how?
Paypal ipn returns the address. When you post to PayPal, they request an address by default. (Source)
no_shipping =2 is the prompt for requiring an address.

How To Turn Off the PayPal Customer Receipt

Is there a way in PayPal Classic API (PayPal Payments Standard with the BuyNow button form) where I can turn off the sending of the customer receipt email?
See, there's a bug currently on the PayPal website where it won't let you add another primary account. So, this means the CEO's name and primary email account are going out on every customer receipt. I called PayPal tech support and they said it was down for now, but after 3 days of reattempting to add a replacement primary account, the bug still is there. So, I thought I'd go another route -- not sending the receipt at all. Is that possible?
Unfortunately there is not a way you can turn of the email notifications that go out to the buyer.

Getting custom data from Paypal

I am creating a simple online paypal commerce and I have some doubts
on how sending data to seller and buyer when order payment is done. The
scenario looks like this:
Each product (legal documents) has a different form because in order to
deliver the product buyer need to specify different information for each
item. Studying Paypal documentation I have learnt that I can add hidden
fields and send them with transaction when I click the Buy Button or Add
To Cart.
When the payment is done:
buyer will receive the confirmation of payment (ok sent by paypal)
seller will receive all necessary information to fill the documents
for each product in one email.
I have noticed using sandbox that buyyer can add note for seller with payment
but unfortunatlly the textarea allow only a limitated text.
Please let me know if I understand correctly. When the payment is done Paypal
send back all data (IPN) to paypal script (including all information sent via
using the form). In that case I should be able to check if the transaction was
completed and if so doing the parser of the reply and send data via email using
PHP to seller. Is it correct?
Does anyone can show me a simple example?
Thanks a lot.
When transaction is complete (subscription,one time web form payment,express checkout or something else ) , Paypal sends authorization query to your IPN script (link to which is defined in your Paypal profile)
The IPN values are described here
https://www.paypalobjects.com/en_US/ebook/subscriptions/Appx-ipn_subscription_variables.html
or here
https://cms.paypal.com/us/cgi-bin/?cmd=_render-content&content_ID=developer/e_howto_html_IPNandPDTVariables

How to get sellers PayPal account from eBay transaction

How can I get a sellers PayPal email account after I've successfully purchased an item on eBay?
I'm writing an application which makes a purchase on eBay via its API. When it successfully purchases, I receive a Transaction ID from eBay.
I now want to use the PayPal API to pay for this item, and require the sellers email address. I understand that their API has methods like GetTransactionDetails, but I'm making the request as a buyer, and also only have the eBay transaction ID.
Where can I get the seller's PayPal email address?
Thanks!
There is no API based approach to remitting purchases on eBay via PayPal.
After testing many different options and wading through the vast mess of eBay API "documentation" and raw responses, it's evident that the PayPal email address of the seller is NOT available unless you are the seller.
Trying to access this field as the buyer, despite being part of the transaction, will simply return "Invalid Data" in this field.
I'm assuming you're using the PlaceOffer call (from the Trading API) to purchase the item.
You can get the seller's email address using the GetItemTransactions API, and there would be a strong liklihood that that email address would be the same one associated with their PayPal account, but it's not guaranteed to be the same. For example, for large-volume sellers, they might have "sales#mystore.com" for their eBay contact but "payments#mystore.com" for their PayPal one.