2 replies [Last post]
gaurav.surfer's picture
Offline
Joined: 08/10/2008
Juice: 37
Was this information Helpful?

Hi,

I want to insert custom PHP code for some business logic when a payment is received for a product and also when a product is checked out. Can you please explain what hooks should I implement or throw some pointers if there is any other mechanism to achieve this functionality.

Thanks

poppers's picture
Offline
Joined: 08/12/2008
Juice: 45
Re: Custom PHP code on Payment Received and checkout

You can use workflow-ng and create a new configuration on the order status. For the action choose execute custom PHP code.

gaurav.surfer's picture
Offline
Joined: 08/10/2008
Juice: 37
Custom PHP code on Payment Received and checkout

Thanks. I will try out the way you have suggested.