Jump to content

Dreza

Member
  • Posts

    7
  • Joined

  • Last visited

About Dreza

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

Dreza's Achievements

Junior Member

Junior Member (1/3)

0

Reputation

  1. Hello, There are times when orders are placed but only activated after a few months. When this happens the system generates invoices for all the previous months even though it was not active during those months. How can I stop WHMCS from generating these historic invoices? Thank you
  2. Hello, I have a gateway setup on my whmcs but the merchant we are using has recommended that when capturing payments we send through transactions in small batches throughout the day instead of sending them all at once when the cron runs. Is there a way to make this happen? Thanks
  3. Hello, I created a hook file for the 'OrderPaid' event and it seems like the $vars variable that is being passed to it always comes up empty. Does anyone know why this is happening?
  4. Hello, I created a hook file for one of my addon modules and it seems like the hook event is always happening. The hook event is 'OrderPaid'. When I look at the module logs there is an entry for this hook event every minute even though no orders have been paid for during this time. I need to know why this is happening. If anyone can help me I would appreciate it.
  5. When an order is added on WHMCS, does the client get billed a late fee even if the order is still pending?
  6. I did what you suggested and I get the following: http code: 500 error num: 0 error text: ''
  7. I am trying to send a post request in my dev environment to the staging API of an external company. I have tried sending POST requests to a completely different URL and it doesn't work either. So my question is, does WHMCS Dev not allow sending of POST requests and if it does can someone help me figure out why it is not working. Below is an example of how I have been trying to send the curl post request. $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, $url); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); curl_setopt($ch, CURLINFO_HEADER_OUT, true); curl_setopt($ch, CURLOPT_POST, 1); curl_setopt($ch, CURLOPT_POSTFIELDS, $data_json); curl_setopt($ch, CURLOPT_HTTPHEADER, [ "Authorization: $apikey", "content-type: application/json", "Accept: application/json" ]); $curl_data = curl_exec($ch); I also wanted to note that there is no problem with sending GET requests.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated