Jump to content

souzadavi

Members
  • Content count

    84
  • Joined

  • Last visited

Community Reputation

2 Neutral

About souzadavi

  • Rank
    Member

Recent Profile Visitors

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

  1. souzadavi

    POP3 Connection Error

    I think the problem is because I'm using custom cron folder. The pop.php file dont find the file boostrap.php.... Looks like is a small bug in pop.php file. I just copy the file boostrap.php from my custom's cron folder to the WHMCS root folder. @brian! please could you fix it own pop.php file? The pop.php file should consider custom cron folder. thanks
  2. souzadavi

    POP3 Connection Error

    I got this error too for long time.... looking the log a found it: [02-Oct-2019 10:16:33 America/Sao_Paulo] PHP Warning: main(/home/link/whmcs/bootstrap.php): failed to open stream: No such file or directory in /home/link/whmcs/pop.php on line 0 [02-Oct-2019 10:16:33 America/Sao_Paulo] PHP Fatal error: main(): Failed opening required '/home/link/whmcs/bootstrap.php' (include_path='.:/opt/cpanel/ea-php73/root/usr/share/pear') in /home/link/whmcs/pop.php on line 0 There is any way to fix it? thanks
  3. 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
  4. 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.
  5. 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
  6. 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
  7. 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!
  8. souzadavi

    How to disable credit card check 7.8

    ???? no answer ??? Please is it too hard to understand my guess?? Anyone could help?? thanks
  9. 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
  10. Thanks to replied, I've been continue this topic in:
  11. 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.
  12. 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.
  13. souzadavi

    How to disable credit card check 7.8

    i forgot to add the image to clarify try my guess. thanks
  14. 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
  15. No answer yet, how I know wich credit card i will delete? Where the others tokens will be saved??
×

Important Information

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