Zen Cart 1.3.8a new install, Apache/2.2.11, PHP v5.2.9
First, my website works just great! my "problem" is in locating where to put the call to a function.
This is my challenge, this installation is a membership site and members may extend their membership by purchasing a 12 month extension via the shopping cart. I have added a field to the zen_customers table called customers_expire, this field has their enrollment date in a date format yyyy-mm-dd.
We have the PayPal Website Pro service and use PayPal exclusively. I have built a function that will calculate a new expiration date and update the zen_customers table and in general testing it works perfectly BUT I just cannot seem to find where to put it so that when the payment status Completed is returned by PayPal it will do the update.
So far, I've tried using the files in the includes/module/payments/paypal folder and the ipn_main_handler files with no success, in the zen_paypal table it says module_mode is paypalwpp.
I want to use the function to update based on eCheck cleared and Completed statuses. Has anyone else tried this? Any and all suggestions would be welcome.
Thanks,
Andy
Bookmarks