dixonjoseph.k Posted July 19, 2016 Share Posted July 19, 2016 Hi, We want to cancel the paypal subscription upon termination. For that we will use this hook http://docs.whmcs.com/Hooks:AfterModuleTerminate and paypal api to cancel the subscription. Whmcs has a paypal module by default as you know. But we don't know how to use it with a hook?. Googled a lot, but not find anything helpful and also asked whmcs support, but no useful replies. Also the module is encoded as you know. So we searched for paypal sdk and got one. But the same thing here too, ie we don't know that how do we integrate the sdk in whmcs? Can we do it as a class? then how can we do?. Or Where do we upload this sdk?. We hope that any one can help us Thanks, Dixon Joseph. 0 Quote Link to comment Share on other sites More sharing options...
sentq Posted July 19, 2016 Share Posted July 19, 2016 Hi Dixon, you can find PayPal subscription id inside "tblhosting" in WHMCS database, use it with your SDK to cancel the subscription, you already know when to run it 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.