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. souzadavi

    How to add new credit cards brand?

    I'm trying to add on: /whmcs/assets/js/jquery.payment.js { type: 'elo', patterns: [4011|438935|45(1416|76)|50(4175|6699|67|90[4-7])|63(6297|6368)], format: defaultFormat, length: [12, 13, 14, 15, 16, 17, 18, 19], cvcLength: [3], luhn: true }, But still not working, there is another place to add the brands type?? thanks
  2. They change so many things in credit card process. And they didn't post any news about how this was changed. I've been working around it. And I did some fix in my credit card module. The example in github https://github.com/WHMCS/developer-docs/blob/master/payment-gateways/tokenised-remote-storage.md help me out how to fix it.
  3. In this new version I cant add new type of brands. Before 7.8 i did a Hooks that work fine. There is anyway to add new credit card brands in WHMCS 7.8? My hook that was working before 7.8: add_hook('ClientAreaPageCart', 1, function($vars) { $array = array('Visa', 'Master', 'Amex', 'Elo', 'Aura', 'JCB', 'Diners','Discover','Hipercard', 'Elo Débito'); return array("acceptedcctypes" => $array); }); Thanks
  4. souzadavi

    How to disable credit card check 7.8

    There is no way to disable it at all, I'm using my own credit card it's too bad because I cant simulate another credit card errors... This plugins should possible to be disable in WHMCS configs. thanks
  5. souzadavi

    New API? /api/delete

    The example here: https://github.com/WHMCS/sample-merchant-gateway/blob/master/modules/gateways/merchantgateway.php work perfect! I did like there and the things work... thanks!
  6. souzadavi

    How to disable credit card check 7.8

    ???? no answer ??? Please is it too hard to understand my guess?? Anyone could help?? thanks
  7. souzadavi

    New API? /api/delete

    In the URL: https://github.com/WHMCS/developer-docs/blob/master/payment-gateways/tokenised-remote-storage.md The action parameter is "delete", but in WHMCS 7.7 version my module remove credit card with action "clear" like this: if($_POST['remove'] == 1 && $_GET['action'] != "clear"){ return array( "status" => "success", "gatewayid" => NULL, "rawdata" => "Cartão Removido",); } My new one after read the manual: case 'delete': return [ 'status' => 'success', "rawdata" => "Cartão Removido: ". $gatewayid, ]; break; Both is it right? action clear ou delete will do the job? The gatewayid do not need to send? it's been really hard to deploy credit card module, because it working only in production Thanks
  8. Thanks to replied, I've been continue this topic in:
  9. souzadavi

    New API? /api/delete

    But I need to pass to whmcs which credit card a need to delete, before was easy because was only one... Now, how I know which credit card I should delete in whmcs? So how do I delete a credit card token when user request? Thanks to write back.
  10. At example: https://github.com/WHMCS/developer-docs/blob/master/payment-gateways/tokenised-remote-storage.md on case DELETE there is a CURL for api delete. But at documentation there is no information about it. Please could explain about this new DELETE function: The DOCS should be update to help the adjustment for new version 7.8 of WHMCS.
  11. souzadavi

    How to disable credit card check 7.8

    i forgot to add the image to clarify try my guess. thanks
  12. Hello, I'm updating a script that was working on 7.7, but now on version 7.8.... I cant use sandbox credit card numbers to test the module.. How to disable credit card check at: whmcs.com/creditcard.php?invoiceid=12716 I cant use credit card numbers for sandbox tests of payment module. How to disable the javascript check? Thanks
  13. No answer yet, how I know wich credit card i will delete? Where the others tokens will be saved??
  14. Hello guys, the multiple credit cards in WHMCS is great. I developed a credicard payment module with tokenised storage. I'm bit lost, because I didn't find any documentation about the changes. Some of my users are complain that the module not working in 7.8. But at docs i didn't find any changes yet. The DOC in: https://developers.whmcs.com/payment-gateways/tokenised-remote-storage/ got any changes? How will I save 2 cards in WHMCS now? How will I know wich card the user selected to pay the bill? There is no example for tokenised storage cards in: https://github.com/WHMCS/sample-merchant-gateway/blob/master/modules/gateways/merchantgateway.php Please could you give the direction? Thanks a lot.
  15. 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!!!!

Important Information

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