Your SlideShare is downloading. ×

Paypal-IPN

242

Published on

Instant Payment Notification (IPN) is a messaging service that notifies users of events related to PayPal transactions. One can use IPN messages to automate back-office and administrative functions, …

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

Published in: Software, Technology, Business
0 Comments
4 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
242
On Slideshare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
7
Comments
0
Likes
4
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. Presenter: Supriti Panda, Mindfire Solutions Date: 18/06/2014 Paypal IPN
  • 2. About Me Skills Certifications Connect me PHP, Codeigniter, Zend Framework, Magento, Wordpress, Javascript, Jquery, CSS3, Mysql, SOAP, REST Contact me ZEND PHP5.3 Magento Certified Developer - M70-101 LinkedIn : http://www.linkedin.com/in/supritipanda Twitter : https://twitter.com/supritip Facebook : https://www.facebook.com/supritipp Email : supritip@mindfiresolutions.com / supritipp@gmail.com Skype : mfsi_supritip Presenter: Supriti Panda, Mindfire Solutions
  • 3. AGENDA → Why it is necessary? → What is IPN? → How it works? → Setup → Code Sample → IPN Simulator → Demo Presenter: Supriti Panda, Mindfire Solutions
  • 4. Why it is necessary? Presenter: Supriti Panda, Mindfire Solutions
  • 5. Why it is necessary? Presenter: Supriti Panda, Mindfire Solutions
  • 6. Why it is necessary? Presenter: Supriti Panda, Mindfire Solutions Customer is shopping online happily.
  • 7. Why it is necessary? Presenter: Supriti Panda, Mindfire Solutions
  • 8. Why it is necessary? Presenter: Supriti Panda, Mindfire Solutions Customer will start complaining.
  • 9. What is IPN? → 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, like fulfilling orders and providing customers with order status. Presenter: Supriti Panda, Mindfire Solutions
  • 10. What is IPN? IPN is a message service that PayPal uses to notify you about events like: → Instant payments → Authorizations → eCheck payments → Recurring payment / subscription → Chargebacks / refund → Adaptive Payment Presenter: Supriti Panda, Mindfire Solutions
  • 11. How it works? Presenter: Supriti Panda, Mindfire Solutions
  • 12. How it works? STEPS: 1. A user clicks a PayPal button to kick off a checkout flow. 2. PayPal HTTP POSTs your listener an IPN message that notifies you of this event. 3. Your listener returns an empty HTTP 200 response. 4. Your listener HTTP POSTs the complete, unaltered message back to PayPal. Note: This message must contain the same fields, in the same order, as the original IPN from PayPal, all preceded by cmd=_notify-validate. Further, this message must use the same encoding as the original. Presenter: Supriti Panda, Mindfire Solutions
  • 13. How it works? 5. PayPal sends a single word back - either VERIFIED (if the message matches the original) or INVALID (if the message does not match the original). An IPN message consists of variables that describe the transaction. These variables contain information about you, your customer, and the details of the transaction itself. Presenter: Supriti Panda, Mindfire Solutions
  • 14. Paypal Setup Presenter: Supriti Panda, Mindfire Solutions My Account->Selling Preferences->Instant Payment Notification Preferences
  • 15. Code Sample Sandbox Url: https://www.sandbox.paypal.com/cgi-bin/webscr Live Url: https://www.paypal.com/cgi-bin/webscr https://github.com/paypal/ipn-code-samples/blob/master/paypal_ipn.php Presenter: Supriti Panda, Mindfire Solutions
  • 16. Code Sample Presenter: Supriti Panda, Mindfire Solutions Note: Sometimes you have to write header('HTTP/1.1 200 OK'); on the top of your code to acknowledge Paypal.
  • 17. Code Sample Presenter: Supriti Panda, Mindfire Solutions
  • 18. Code Sample Presenter: Supriti Panda, Mindfire Solutions
  • 19. Code Sample Presenter: Supriti Panda, Mindfire Solutions
  • 20. IPN Simulator Presenter: Supriti Panda, Mindfire Solutions
  • 21. DEMO Presenter: Supriti Panda, Mindfire Solutions
  • 22. Question and Answer Presenter: Supriti Panda, Mindfire Solutions
  • 23. Thank you Presenter: Supriti Panda, Mindfire Solutions
  • 24. References https://developer.paypal.com/docs/classic/ipn/gs_IPN/ https://developer.paypal.com/webapps/developer/docs/classic/products/instant-payment-notification/ https://developer.paypal.com/docs/classic/ipn/ht_ipn Image References http://www.ydeveloper.com/blog/ecommerce/how-ecommerce-web-developer-can-help-you http://www.someecards.com/usercards/viewcard/MjAxMi1hNzAzODE2N2ZlOTJjMDQ5 http://blog.manishchhabra.com/2013/10/programming-for-the-passion/ http://www.smallbusinessscope.com.au/customer-complaints-the-first-three-steps/ http://www.atakinteractive.com/blog/benefits-of-hiring-a-web-developer-for-your-ecommerce-website/ http://ecommercewebsitedevelopmentmelbourne.blogspot.in/2013/05/ecommerce-website- developer-play-vital.html
  • 25. www.mindfiresolutions.com https://www.facebook.com/MindfireSolutions http://www.linkedin.com/company/mindfire-solutions http://twitter.com/mindfires

×