Jump to content


  • Content Count

  • Joined

  • Last visited

  • Days Won


mfoland last won the day on September 19 2019

mfoland had the most liked content!

Community Reputation

10 Good


About mfoland

  • Rank

Recent Profile Visitors

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

  1. @WHMCS Alex Please refer to Ticket #DIN-271775. I use Laravel to get pertinent information for my payment gateway, such as version number, Sandbox or Token Credentials to connect to the API, etc in the Configuration portion for the Gateway. Is there a way to get this back to the old way?
  2. Went to ugprade to version 8.0.2 and now getting this error: Error: Class 'WHMCS\Utility\Environment\CurrentRequest' not found in /home/mybeastportal/public_html/dev/vendor/whmcs/whmcs-foundation/lib/Application.php:0 Stack trace: #0 /home/mybeastportal/public_html/dev/vendor/whmcs/whmcs-foundation/lib/Application/ApplicationServiceProvider.php(0): WHMCS\Application->__construct(Object(WHMCS\Config\Application), Object(WHMCS\Database)) #1 /home/mybeastportal/public_html/dev/vendor/illuminate/container/Container.php(801): WHMCS\Application\ApplicationServiceProvider->WHMCS\Application\{closure}(Object(WHMCS\Container), Array) #2 /home/mybeastportal/public_html/dev/vendor/illuminate/container/Container.php(687): Illuminate\Container\Container->build(Object(Closure)) #3 /home/mybeastportal/public_html/dev/vendor/illuminate/container/Container.php(633): Illuminate\Container\Container->resolve('app', Array) #4 /home/mybeastportal/public_html/dev/vendor/illuminate/container/Container.php(1278): Illuminate\Container\Container->make('app') #5 /home/mybeastportal/public_html/dev/vendor/illuminate/support/Facades/Facade.php(198): Illuminate\Container\Container->offsetGet('app') #6 /home/mybeastportal/public_html/dev/vendor/illuminate/support/Facades/Facade.php(166): Illuminate\Support\Facades\Facade::resolveFacadeInstance('app') #7 /home/mybeastportal/public_html/dev/vendor/whmcs/whmcs-foundation/lib/Application/Support/Facades/Facade.php(0): Illuminate\Support\Facades\Facade::getFacadeRoot() #8 /home/mybeastportal/public_html/dev/init.php(0): WHMCS\Application\Support\Facades\Facade::self() #9 /home/mybeastportal/public_html/dev/admin/index.php(0): unknown() #10 {main} Not sure what's going on here.
  3. Hello @LifeSteala. I developed a payment gateway and just actually got the Attempt Capture to work, with the exception of the Cron Job not working. It depends on which what you are exactly doing, as to store the token. You will need to call a method call CreateRemoteCardPayMethod. Once you do this, you can easily add the card. Deleting it, I'm having to build a delete Card function that not only deletes from the API, but will delete said card from WHMCS. PM me if you need assistance.
  4. I would like to bump this! @WHMCS John, is there a way to make even a class for RemoveRemotePayMethod?
  5. @wofbit send me a DM with what you are wanting to accomplish, and I'd be glad to help.
  6. @Kian and @wofbit if you guys need help with working on the License check, I can help. I've learned to expand on it for even different key types product types, auto license upgrades, etc ๐Ÿ™‚
  7. One thing sticks out here right off the bat, but I completely understand the error. The Card Expiry works in MMYY not just year. Here's something I've done since my Gateway runs differently... $expYr = $finCardRes["card"]["exp_year"]; $expMo = $finCardRes["card"]["exp_month"]; if ($expMo < '10') {$finExpMo = '0' .$expMo;}else {$finExpMo = $expMo;} $finYr = substr( $expYr, -2); $finExp = $finExpMo.$finYr; Again, I still hope WHMCS can pipe in here. The API I'm working with (Square) has the date as a one number integer for single months 1-9 and 2 digits for 10-12 (reasoning if my if statement). The Year has 4 digits (from the API) so I had to create the substring to take off the first two numbers for the year (eg 20) which leaves you with the last remaining part of the year to fit it in WHMCS's MMYY format.
  8. I'd like to bump this. The API says it will store Remote Data, which, in the Gateway I have built and works, except recurring payments (reason I'm running into this), but it says Unsupported Gateway Type for Storage. Can anyone from WHMCS pipe in on this?
  9. @wofbit I just strolled across this. I would write a Future Request idea at requests.whmcs.com ๐Ÿ™‚ I would also take a look at this: https://www.php.net/manual/en/function.inet-pton.php and try it on your License.php file.
  10. @Alison Gatt you can DM me. I'm working on this as well. What Gateway are you working with?
  11. @Kian send me a PM. I may have an idea, and it's something I'm actually trying to work on.
  12. I agree! Use Capsule! I've taken the time to learn how to interact with the database using Capsule, and it's very easy ๐Ÿ™‚ Good Luck!
  13. In our system, for non paid orders or overdue services we terminate and have the order drop within X amount of days. You can set all of this up in the automation settings ๐Ÿ™‚
  14. I actually agree with alot on this post! The Management staff are great folks. I've had many of them go above and beyond scope to help on an issue. I would agree that WHMCS should be more open source. While I can see the need to IonCube it, the competitor Blesta only has 3 files encoded, and they use MVC framework, instead of Smarty. You have other billing systems, like ClientEx that are encoded though. It's all to protect the code. I do believe though that more of WHMCS should be opened up to developers. On some products I am building, I am learning to add on to the WHMCS API, to interact with the database. I can't wait to see what the feature holds for WHMCS.
  15. Do you have a subscription ID field in your gateway for your clients to enter?
  • 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