OsCommerce Paypal IPN Test
Introduction to IPN :
- Log in to your Business or Premier PayPal account
- Click the Profile sub tab
- Click the Instant Payment Notification Preferences link in the selling Preferences column
- Click Edit
- Click the checkbox and enter the URL at which you would like to receive your IPN
- Click Save
A. Profile Auto Return:
What is the need for Auto Return?
The need for Auto Return is that it avoids to click on extra button as “Return To Click Merchant” for returning website.….
What is Auto Return ?
Auto Return for Website Payments avoids click an extra button before returning to your website after they complete their payments. Auto Return supports all Website Payments, including following :e.g. Buy Now, Shopping Cart, Subscription, Gift Certificate, and Donation buttons.
B. PDT (Payment Data Transfer)
Payment Data Transfer allows you to receive notification of successful payments as they are made. The use of Payment Data Transfer depends on your system configuration and your Return URL. Please note that you must turn on Auto Return in order to use Payment Data Transfer.
Follow the given below steps to Turn On Auto Return (Auto return is Turn off by default) :
- Log in to your PayPal account at https://www.paypal.com.The My Account Overview appears.
- Click the Profile sub tab. The Profile Summary page appears
- Click the Website payment Preferences link Under selling preferences column
- Click the On radio button under Auto Return for website payments to enable Auto Return
- Enter the URL in the Return URL field, to which you want your redirected after they complete their payments.
Note: If you enter an invalid Return URL, PayPal displays the standard payment confirmation page after people complete heir payments
- click the On radio button Under Auto Return Setting: Under the heading: Payment Data Transfer: to enable Payment Data Transfer
- Scroll to the bottom of the page, and click the Save button.
C. Now check the file present or not in the folder ext/modules/payment/paypal/standard_ipn.php.
D. Check the admin configuration setting like seller email_address,repairing status pending ,acknowledgement status as process.
E. Complete the order and check the IPN comment in admin order. If IPN verification completed properly then you will get the message in IPN comment box i.e. IPN verification successfully.