Forums / Addon Payment Modules / Need to add custom db commands after transaction completes

Need to add custom db commands after transaction completes

Locked

Started by gregeverett on 20 Apr 2008, 3:20 AM · Views: 1,062

Results 1 to 1 of 1
This thread is locked. New replies are disabled.
20 Apr 2008, 3:20 AM
#1
gregeverett avatar

gregeverett

New Zenner

Join Date:
Jul 2007
Posts:
12
Plugin Contributions:
0

Need to add custom db commands after transaction completes

We sell subscriptions through zen cart - subscribers are managed through a custom mysql db and php admin system. when the order is completed, if a sub is one of the items, info is inserted into the db, etc. We use the paypal module.

the way i have it working now, however, it runs through the tp_checkout_success_default.php page because I wasn't able to figure out the right place to insert my code. Obviously this is not a good way to do it for a few reasons.

My question - what file am i looking for? I need to find the code that verifies that payment has been completed so I can check the order contents and plug in the subscription code.

Thanks!