Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

How do I run a php file after one purchase? 
 
alexannic
Jr. Member
 
Total Posts:  3
Joined:  2008-07-24
 

Hello,

I would like to run a php file immediately after a client purchases one product. The php file should read the product SKU’s that were purchased and generate some login details (username, random password) and send it to the client’s email address.

Is there any way I can hook up an event at the end of a purchase? And how can I read the client’s details?

Thank you!
Alex

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top