Jump to content
Logicmaker Softwares

Replacing credit card form with own custom page

Recommended Posts

Hello @WHMCS John,

As we checked, it seems that modulename_remoteInputWithTemplate & modulename_remoteUpdateWithTemplate functions support get removed from credit card form page in latest released version 7.8.x

We had a custom payment gateway module which is using our own custom credit card form template file instead of default one creditcard.tpl, similar like ewaytokens module is working. But, ewaytokens module files structure is also get changed in recent versions.

Can you please confirm if this functions are permanently removed from latest versions and advice us on priority what is the best alternative to use custom creditcard form page to accept card details.

For reference, existing topic :

 

Suggestions appreciated from anyone else.

 

Thanks & Regards,

Logicmaker

Share this post


Link to post
Share on other sites

Is it your understanding that the xxx_remoteinput() family of functions have stopped working?  My understanding was that they remained working, though there is now very little documentation on them (though if you search, you can find enough to use them, and I've collated what little I've found).

I have a similar but related problem in that I need a hook to connect with the admin-side credit card update so that can be done (a) securely, and (b) reflected in the tokenization side properly.  The problem with the new vendor card processing implementations is that they usually host the credit card entry on their site and pass back a token for access.  This means the _storeremote() approach is insufficient, as we need to replace the credit card entry form with one that interacts correctly with the card provider.  If an example helps, this is how Stripe Elements works, or eWay Transparent Redirect or iFrames.  These do work now, apparently, so there must be some solution available.  Keen to get the new era of PCI-DSS compliant payment gateway working.

My initial question was misread by support (YXV-779143 )  but I'm hoping they'll take it a little more seriously (and actually read it) after my reply.

Apologies for the persistence, but the current state of play means that it is completely impossible to make a modern card processing gateway work securely within WHMCS using any documented method.   I've chcked the Tokenisation developer pages, and they don't provide this information (they document _storeremote(), which is the old way of doing things and is not PCI-DSS compliant). 

Cheers,

Brian

Edited by brianoz

Share this post


Link to post
Share on other sites
14 hours ago, brianoz said:

Is it your understanding that the xxx_remoteinput() family of functions have stopped working?  My understanding was that they remained working, though there is now very little documentation on them (though if you search, you can find enough to use them, and I've collated what little I've found).

I have a similar but related problem in that I need a hook to connect with the admin-side credit card update so that can be done (a) securely, and (b) reflected in the tokenization side properly.  The problem with the new vendor card processing implementations is that they usually host the credit card entry on their site and pass back a token for access.  This means the _storeremote() approach is insufficient, as we need to replace the credit card entry form with one that interacts correctly with the card provider.  If an example helps, this is how Stripe Elements works, or eWay Transparent Redirect or iFrames.  These do work now, apparently, so there must be some solution available.  Keen to get the new era of PCI-DSS compliant payment gateway working.

My initial question was misread by support (YXV-779143 )  but I'm hoping they'll take it a little more seriously (and actually read it) after my reply.

Apologies for the persistence, but the current state of play means that it is completely impossible to make a modern card processing gateway work securely within WHMCS using any documented method.   I've chcked the Tokenisation developer pages, and they don't provide this information (they document _storeremote(), which is the old way of doing things and is not PCI-DSS compliant). 

Cheers,

Brian

Thanks @brianoz for your reply.

We are not talking about xxx_remoteinput() family of functions. There were 2 more functions supported in payment gateway modules like modulename_remoteInputWithTemplate & modulename_remoteUpdateWithTemplate, which supports custom template file for payment gateway card forms.

As we seen in latest version 7.8+, the structure of ewaytokens gateway files get changed and custom template file gets removed. So, we doubt that the support for this functions get removed. @WHMCS John can you please confirm about this change as your change log documentation is really poor for developers.

Also, we understand that the tokenization way provided by many gateways now-a-days as you explained here requires lot of customizations. For that, we need custom credit card form (both at client side and admin side) to manage the html and javascript code as per gateway requirements without losing PCI-DSS compliant.

Let us know if WHMCS Support Team or anyone else having better workaround for this.

 

Thanks & Regards,

Logicmaker

 

Share this post


Link to post
Share on other sites

Hi,

You've misunderstood;  when I said "_remoteinput family" of course I meant all of those functions - _remoteinput, _remoteupdate, _remoteInputWithTemplate, etc, hence "family" 🙂

Well, let's see what info we get.  It's also about knowing what's intended; what's confusing is the removal of core functionality without any sort of direction as to what's happening.

The entire payment industry direction is towards entry of cards at a central site, and that's what we need to support, both in admin and client sides of WHMCS.  The difference in terms of PCI-DSS is a 14 item certification questionnaire vs a 312 item one!

Thanks,

Brian

Share this post


Link to post
Share on other sites

Hello @WHMCS John & Team,

Have you got some time to read our issue? 

We just want to confirm about changes in latest release and alternative workaround for the said problem. 

Appreciate your kind support and help.

Could anyone else help us to find the solution for this.

 

Thanks & Regards,

Logicmaker

Share this post


Link to post
Share on other sites

Hi all,

I'm pleased to advise that the sample remote input gateway module development kit has been published in preparation for the forthcoming 7.9.0 GA release:

https://github.com/WHMCS/sample-remote-input-gateway

The code in this sample requires some product changes in the forthcoming release, so won't operate with 7.9.0-RC.1 or earlier.

The accompanying documentation is located at: https://developers.whmcs.com/payment-gateways/remote-input-gateway/

Edited by WHMCS John
Added documentation link

Share this post


Link to post
Share on other sites
On 18/12/2019 at 9:27 PM, WHMCS John said:

Hi all,

I'm pleased to advise that the sample remote input gateway module development kit has been published in preparation for the forthcoming 7.9.0 GA release:

https://github.com/WHMCS/sample-remote-input-gateway

The code in this sample requires some product changes in the forthcoming release, so won't operate with 7.9.0-RC.1 or earlier.

The accompanying documentation is located at: https://developers.whmcs.com/payment-gateways/remote-input-gateway/

Hello John,

Thanks for giving some time to comment on this!

This are the already known/available functions, was used in many existing gateway modules. It only supports HTML/JavaScript inside gateway functions itself and not supports any custom template file. Any specific comment on this from your side?

BTW, will give a look and see whether it is really useful or not.

 

Thanks & Regards,

Logicmaker

Share this post


Link to post
Share on other sites
On 12/18/2019 at 4:57 PM, WHMCS John said:

The code in this sample requires some product changes in the forthcoming release, so won't operate with 7.9.0-RC.1 or earlier.

Just to be clear: It doesn't work with 7.9.0-RC.1?

Share this post


Link to post
Share on other sites

That's correct @DennisHermannsen; in writing this documentation we identified some areas for refinement, so have rolled those into our next release (7.9-GA).

The developer documentation is available as a head-start in advance of that release.

At this time we do not intend to publish developer documentation detailing functionality in earlier versions.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Similar Content

    • By WGS
      We have released a new update of our WGS PayPal Tokenization WHMCS Payment gateway module. This new 1.0.6 Update brings in the compatibility with the latest WHMCS 7.8 - 7.8.1. Our module has become the most updated Paypal tokenization module in the WHMCS Marketplace. Users can download the latest files from the WGS Client Area. 
       
       
    • By steven99
      I am looking for some beta testers to test out a Stripe gateway module out before release.  As this is a beta, early access, bugs are to be expected but it has been running smoothly on our install.  Testers are expected to actually test the module and report any issues or comments.  I am only looking for a few testers with varying amounts of activity and so this is a limited opening.  When the module is released, beta testers will receive a discount on the released version and the beta version will be disabled. 
      If you are interested in beta testing this module, please contact me for further details. 
      Details on the module:
      Uses Stripe.js Elements to collect card info Uses a custom form for card info on both manage credit card and checkout pages Options to force usage of the module if you are switching card gateways Currently supports card payments and not items like Apple Pay. USD currency only supported at this time Offers a one time payment option where the card token is removed from Stripe after usage. 
    • By wellconnit
      Hi All,
      Does anyone know if it is possible to make a payment through a custom gateway from outside the WHMCS system?
      I want to let users pay with a credit card using my custom payment gateway through my own website rather than the WHMCS website, since the API does not have any function built in for payment of invoices from the remote API I was going to try and reference the payment gateway file directly. Is there a clean way to pass through the variables that the payment gateway is looking for or should I $_POST the variables and then just overwrite whatever the gateway file is looking for so that I don't need to change the gateway code that currently functions?
      Not sure if I will have to manually run the remote API command to AddInvoicePayment to the system depending on whether it is processed or not.
      Thinking about it like that could this be seen as a functional way of completing a payment?
      If someone has a cleaner/simpler solution I'd be happy to hear it?
      Thanks in advance
    • By ModulesGarden
      1. Just a split second ago, Payment Gateway Charges For WHMCS 2.0 was blasted off to let you supervise the offered payment gateways at a sky-high level. Set out on a journey through some of the greatest new possibilities, taking as much time as you need to tap into their full potential!
       
      Feel the instant flow of freshness triggered by a dynamic new framework. Well-balanced arrangement, minimalist design, and most importantly - more time-effective handling of the module. All of that already within your grasp. See what it means to be really in charge. Lay out multiple tiers of discounts and charges to be implemented whenever an invoice displays a specific value. Still not enough! Configure as many activation conditions as you need for each billing rule to let it be applied only to a specified client group, currency or country. For instance, if you would like to grant a discount or collect a fee from customers who opted for a particular currency, or those who come from a specific country even – you can now go right ahead.
      Most modernizations are several times more powerful when used in practice than they are described on paper. You know what we are implicating, don't you?

      View the complete changelog of Payment Gateway Charges For WHMCS!



      2. If you hear someone persistently knocking on your door right now, it must be Cupid reminding you that yesterday was Valentine's Day! As each year, we could not let this lovely opportunity pass by without thanking you for teaming up with us. First, we wanted to write you a poem, but the lines did not rhyme. Then, we tried our hand at drawing hearts, but ended up with scribbles instead. So we will stick with what we are skilled at best – expressing our appreciation through a heartwarming promotion!

      Put in a good word for your beloved product on our Marketplace and let the 20% discount on any other module or extension that you set your eyes on fall into your embrace! And if you have a big heart capable of accommodating love for many items – review them all and get rewarded for each and every one separately!

      All's fair in love, war, and ModulesGarden!
       

      3. See what's on the list of the latest releases:
      QuickBooks Online For WHMCS – v1.4.2 Support Tickets Filter For WHMCS - v1.1.4 DirectAdmin Licenses For WHMCS - v1.1.1

      Need Custom Software Development For Your Business?
       
      Get Your Free Quote Now! Specially for you we will adapt an application and its design to your own needs, create a new module or even a completely new system built from scratch!
    • By ModulesGarden
      There are as many preferences when it comes down to payment methods as people in the world. But there are also two invariable constants: customers crave choice and assurance that their money is safely going to reach the intended recipient.

      Today we are here to offer you a solution which will help you respond to this eternal demand - Stripe SEPA Payments For WHMCS. With it, you will allow your audience to fill in all the information required for financial transactions as well as accept an authorization mandate directly in the WHMCS client area, thus enabling both one-time and recurring charges via the SEPA Direct Debit scheme. Carried out through the foolproof Stripe payment gateway, the whole process will be absolutely secure, swift and carefree for both sides.

      Extend your payment arrangements with our Stripe SEPA Payments For WHMCS to derive bilateral benefits!

      Learn All About Stripe SEPA Payments For WHMCS!



      No one should be forced to work with tools which are totally unintuitive in navigation, unsupportive, and time-consuming on top of that. That is why ModulesGarden is sparing no effort to introduce ever more products like Domain Orders Extended For WHMCS 3.0 – equipped with the ultimately pleasurable, wisely-composed framework in which minimalism and modernity are in perfect equilibrium.

      Gain Revealing Insight Into The Future Of Our Modules!



      Do You Need Custom Software Development For Your Business?
      Get Your Free Quote Now! Specially for you we will adapt an application and its design to your own needs, create a new module or even a completely new system built from scratch!
  • Recently Browsing   0 members

    No registered users viewing this page.

×

Important Information

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