fuzioneer Posted January 26, 2012 Share Posted January 26, 2012 i wanted to run an offsite script which is accessible on another domain, is there a way of doing this build in with whmcs or any suggestions on how to do it ? 0 Quote Link to comment Share on other sites More sharing options...
k1ng440 Posted January 26, 2012 Share Posted January 26, 2012 this can be done with hooks ( http://docs.whmcs.com/Hooks ) 0 Quote Link to comment Share on other sites More sharing options...
fuzioneer Posted January 26, 2012 Author Share Posted January 26, 2012 yep this looks like what I need, had a quick look through the documentation I think i would need the "ShoppingCartCheckoutCompletePage" HOOK but how do i specify a specific product and secondly I ask the users a question when purchasing the product using custom fields, how could I grab the answer text ? 0 Quote Link to comment Share on other sites More sharing options...
laszlof Posted January 26, 2012 Share Posted January 26, 2012 Um, you'll probably want to use the "AfterModuleCreate" hook. The ShoppingCardCheckoutCompletePage doesnt take into account if an order was fraud, or otherwise not paid for. You can pull the custom fields from the variable array that is passed to that function as well. http://docs.whmcs.com/Hooks:Products/Services#AfterModuleCreate 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.