I want to return the invoice generated after a PayPal payment on my w开发者_C百科ebsite. How do I get the PayPal invoice generated after this payment is made?
Your question is not 100% clear. PayPal already sends an invoice (you can customize this from your PayPal account) upon payment completion. What you can do on your side is to handle payment confirmation using PDT or IPN. I would recommend the second one since is more reliable. Once you get the payment confirmation through IPN you can send to customer your own generated invoice based on the order data. If you are interested to easily integrate your custom shopping cart with PayPal please read this article.
You can get every information from PayPal using PayPal API.
精彩评论