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

7. IPN and PDT > 67. Send a Purchase Confirmation Email with IPN

Send a Purchase Confirmation Email with IPN

Automate communication with customers by sending simple order-confirmation emails.

In this hack, your web server uses IPN to learn about purchases a customer makes and sends the customer an email confirming her purchase. To use this hack, you need to have an environment that allows you to execute server-side scripts that can send email. This example uses Microsoft’s Active Server Pages (ASP), but the concepts apply to any scripting language you choose.

Before using this example, set up and test the basic IPN script described in [Hack #65] . You’ll add the code presented here to that basic script, giving your system the ability to send email messages to customers after each purchase.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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