Skip to content
Advertisement

Tag: whmcs

How do I translate a PHP cURL request to python

I’m coding a tool to get Whois info, and I need to use the WHMCS API for it. This is the code they provide: I want to use this request without PHP, and inside Python. What library should I use and how do I set the variables in the payload?(php or python-style?) Answer What library should I use requests is

WHMCS payment gateway: recurring but not credit card

I’m working on a custom WHMCS payment gateway module for the Mollie payment gateway. So far I integrated one-off payments with no issue, but I’m having some trouble implementing recurring payments. The flow for either a subscription or authorization to charge the customer on-demand differs slightly. The flow for creating a subscription is: Create a customer profile in Mollie Create

WHMCS: How to get the current client in addon module clientarea page?

Given that I have a WHMCS addon that I call ‘my_addon’. I created the main addon file ‘my_addon.php’ which does contain nothing than: This does basically work. It does give me my template file, everything is passed through. My question is: How do I get the currently logged in client from within that function? I didn’t find any API method

Advertisement