• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

7. IPN and PDT > 76. Enable Multiple IPN Pages

Enable Multiple IPN Pages

Use a multiplexer script inspired by PayPal’s code samples to duplicate the IPN posting to multiple scripts.

PayPal’s IPN facility enables you to process your orders in real time. By specifying a script on your site, you can automatically update your database, add a name to your subscriber list, or email a custom order confirmation. PayPal’s system is capable of making a call to only one IPN page per transaction, but with some code and tweaking, we can call more than one script.

The IPN Multiplexer

Any IPN script [Hack #65] accepts data from PayPal, verifies it, then goes about its business. The following multiplexer script is no different, but its mission is simply to pass the information on to your secondary scripts.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint