Search code examples
phpapiemailpaypalexpress-checkout

Send email after Paypal Express Checkout order completes


I'm trying to subscribe a client to an AWeber mailing list upon ordering a product on a website. I've completed the ordering process, and I also have my server sending an email to AWeber to enlist the client.

For some reason the emails bounce when sent from my server (due to a DNS error) and the ISP doesn't know how to fix it.

Thus, I am looking for an external mailing solution on PayPal itself. Is there any way to have PayPal send an email upon order completion (sort of like what it can do with Buy Now buttons)?

If so, how can I instruct it to send the email, and set the contents/destination?


Solution

  • Why not create a script which will be triggered via PayPal IPN and when triggered, subscribes the email address through Aweber API (https://labs.aweber.com/)? Use their API instead of sending an email to subscribe an email address.