Jump to content


  • Content count

  • Joined

  • Last visited

Community Reputation

2 Neutral

About souzadavi

  • Rank

Recent Profile Visitors

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

  1. Hello guys, I'm creating customs WHMCS forms, to get better conversions. After registration I run the action AcceptOrder, but the status still in pending. My question is: how to change the order status to active from external API? thanks!!!!
  2. souzadavi

    Third Party Gateway

    @steven99 when the user hit the pay button I send the user to the bank page to insert the debit card password and after filled up the password, the bank send the user back to my invoice page sometimes the status of this payment come like "waiting" not all the time, just sometimes, here is the deal, because I need check it back again in couple minutes, and the bank doesnt have a payment notification service or something similar, I need get the payment ID that I saved from the json bank return and check in the bank if the status changed to paid. The deal is how and when I do this check. The button from admin invoice (try to capture) was fine because there is not a lot invoice paid on this method, automatic check should be awesome but I really don't have a clue to how to do it from nice way to not waste too much resource from server. Any information will be great!!! Ps.: I just created the module, the name is Brazilian debit card (cartão de débito pro Brasil). thanks for your reply 🙂
  3. souzadavi

    Third Party Gateway

    Hello I created a payment module from this information: https://developers.whmcs.com/payment-gateways/third-party-gateway/ I created the callback file. But from this way all of my payments should be confirmed in time of payment, not later... There is any possibilite to call the callback later? Was so good if there is anyway to call the callback from the button try to capture in invoice admin. . thanks
  4. Hello in: https://developers.whmcs.com/api-reference/addtransaction/ the request parameter fees is wrong, the right is fee, why whmcs team still keeping this mistake? How to get it updated? thanks
  5. Hello, I'm receiving this message: Error: Whoops\Exception\ErrorException: Allowed memory size of 805306368 bytes exhausted (tried to allocate 4096 bytes) in /home/username/vendor/phpmailer/phpmailer/class.smtp.php:659 Stack trace: #0 /home/username/vendor/whmcs/whmcs-foundation/lib/Utility/Error/Run.php(0): WHMCS\Utility\Error\Run->handleError(1, 'Allowed memory ...', '/home/username/...', 659) #1 [internal function]: WHMCS\Utility\Error\Run->handleShutdown() #2 {main} Is it normal? Why is it using so much memory? this trouble start 3 months ago, I'm increasing memory every month. Ps.: this happened 50 minutes after daily cronjob. Any info will be great... thanks....
  6. @steven99 help me... solved with session variables.... thanks!
  7. souzadavi

    Credit Card Message

    @steven99 thank you very much.... working nicely!!!!
  8. @brian! nice! Hook again, below is how I fixed it for while.... add_hook('ClientAreaPageCreditCard', 1, function($vars) { return array('errormessage' => 'Erro com o cartão de crédito'); }); Ps.: I created the request to be able to translate it... thanks But I din´t figured out how to bring the information from _storeremote function to the hook.. There is any way to communicate from the module gateway to hooks?? thanks a lot!!!
  9. @brian! too bad!!!! there is anyway to get it in next releases of whmcs? thanks
  10. souzadavi

    Credit Card Message

    @steven99 but this is only for the log in admin, I would like to show it for my user in client area....
  11. Please any one know how to translate this message: Remote Transaction Failure. Please Contact Support This error message show on credicard.php thanks 🙂
  12. souzadavi

    Credit Card Message

    In clientarea.php?action=creditcard there is a error message to user, there is anyway to give a better error message that come from the payment module gateway? Example: I would like to tell my user the real problem and not only: Remote Transaction Failure. Please Contact Support. So I can tell my user, this credit card brand is wrong, or please check the validation date, or your credit card is not able to use in this country. I think it could be more useful, but I got no clue how to print the error message in template from a gateway payment module....This message error come from when the function _storeremote() is executed... Any ideia will be appreciate.... thanks
  13. souzadavi

    Credit Card Token not saved on client

    @SeanP good point! But the Hook will force the update only with the user goes to credicard area.... Maybe It could bet set as WHMCS bug...
  14. souzadavi

    Credit Card Token not saved on client

    I did a hook, to fix it, so when the user access: /clientarea.php?action=creditcard I just update the user to creditcard payment. add_hook('ClientAreaPageCreditCard', 1, function($vars) { $command = 'UpdateClient'; $postData = array( 'clientid' => $vars['clientsdetails']['userid'], 'paymentmethod' => 'CreditCardModuleName', ); $results = localAPI($command, $postData, $adminUsername); });

Important Information

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