Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

PayPal integration (IPN) - Just how possible is it REALLY?

I've spent MONTHS trying to integrate PayPal into my site, followed countless tutorials, articles - read all the docs, downloaded countless samples and so-called "complete, working samples" and have yet to get it working.

I've also asked a few questions on separate occasions, right here on S/O (under an old, now cancelled account) which didn't lead to any correct answers.

I just came across the www.x.com website, and was reading through it. I'm going to give it one more attempt, but before I do so, I'd like to know if,

How to get started 1.Check your account status. Login to PayPal. Go to your PayPal Profile and click My settings. Confirm that your “Account type” is either Premier or Business, or upgrade your account.

2.Check your API settings. Click My selling tools. Expand “Selling online” if needed and check “API access.” Click Update and Add or edit API permission or View API signature.

3.In your PayPal Profile, click My selling tools, click Instant Payment Notification. Follow the instructions to enable your IPN including entering your Notification URL.

4.To create a basic IPN listener script, use the PayPal IPN script generator. If necessary, modify the script to meet your needs.

5.Install the script on your website at the Notification URL you specified in your PayPal Profile. 6.Test your script using the PayPal Sandbox. (Registration is free.)

7.Once you’ve verified that your implementation works correctly in the Sandbox, you’re now ready to go live.

That above quoted text, (from https://www.x.com/developers/paypal/products/instant-payment-notification ) really is all I need, as it says?

Are there other things that are involved that the documentation does not cover, or are there other things that one would need to know in order to integrate PayPal IPN into their website, which are not easily accessible via the PayPal or X.com websites?

like image 395
Jase Avatar asked Jul 29 '12 21:07

Jase


People also ask

What does preparing PayPal IPN mean?

Instant Payment Notification (IPN) is a message service that notifies you of events related to PayPal transactions. You can use IPN messages to automate back-office and administrative functions, such as fulfilling orders, tracking customers, or providing status and other transaction-related information.

Can you have more than one IPN on PayPal?

PayPal only permits one IPN per account, so if you are already using your PayPal IPN (as part of your own checkout system for example) you may need to set up a relay to forward the IPN notification on to ChartMogul. A webhook relay will allow you to use your PayPal IPN in multiple locations.

What are PayPal IPN messages?

Instant Payment Notification (IPN) is a message service that automatically notifies merchants of events related to PayPal transactions. Merchants can use it to automate back-office and administrative functions, including automatically fulfilling orders and providing customers with order status.


1 Answers

The most common problem for not receiving VERIFIED is that you are sending the IPN packet back to PayPal in the incorrect order. It must be exact with no variations of any kind, and you must remember to also attach &cmd=_notify-validate to the request query string.

like image 175
David Anderson Avatar answered Nov 03 '22 19:11

David Anderson