Jump to content

yorkukhosting

Members
  • Content count

    10
  • Joined

  • Last visited

Community Reputation

0 Neutral

About yorkukhosting

  • Rank
    Member

Recent Profile Visitors

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

  1. The MDxxxx id is stored in mod_gocardless_preauth if you are using the widely circulated version. You should be able to put an update statement together to carry over the subscriptionid to the gatewayid in the clients table. This value can be found in the gocardless.com URL via the mandate link or a customer. I have not tested this, backup your database, test the backup works, use entirely at your own risk. In theory this should update the gatewayid for each client that has a Direct Debit mandate using the old method. Note, if the client has a Credit/Debit card and Direct Debit this will overwrite the gatewayid of the credit card provider. UPDATE tblclients left join mod_gocardless_preauth ON mod_gocardless_preauth.userid = tblclients.id SET gatewayid = mod_gocardless_preauth.subscriptionid
  2. I produced the original patch that introduced the mod_gocardless_preauth table and also included some hooks to automate the payment collection ahead of the due date and supress invoice messages for payments underway. Reading through the thread I am concerned that support in 7.7 utilises the ' gatewayid' value in tblClients. By doing this you only allow a single payment method for a user's account. Frequently we find clients will pay the first invoice with a credit/debit card then switch to Direct Debit. This happens when they purchase additional new services so they are activated immediately. Using our implementation with the mod_gocardless_preauth table we can dual run a Credit/Debit Card and Direct Debit per account. I appreciate I am late to contribute to the thread but can you seriously reconsider using 'mod_gocardless_preauth' to store the preauth value from Gocardless? Even if you change the structure, at least persist it in a field other than 'gatewayid'.
  3. yorkukhosting

    domains not renewing

    Is the following option enabled? General Settings > Domains > Auto Renew Requires Product
  4. The ServerPing module seems to be the best if you want recurring billing using a tokenised method. The MoStripe module is also effective for one-time billing using the Stripe Checkout interface. https://mostripe.com/whmcs/checkout/
  5. We are using a modified version of the GoCardless supplied source and callbacks happily work. We also extended the original version so that we can do account level billing rather than product/service specific as per the original. With the addition of some action hooks it is also possible to not automatically settle invoices but only do that once you receive the callback from Gocardless, that way you do not renew services without actually having the funds clear in your gocardless account. The hooks can also suppress inappropriate payment reminder emails and also make sure you attempt the capture sufficiently ahead of the 'invoice due' date so the invoice is paid on time - the system wide parameter in WHMCS is inflexible (ie. cannot specify payment specific capture X days before) It was pretty poor that Gocardless dropped support for the module but the underlying APIs are still there so with a little modification you can get a robust solution up and running.
  6. yorkukhosting

    web.config for WHMCS anyone?

    If you want if for the URL Rewrite rules give the following a try: <?xml version="1.0" encoding="UTF-8"?> <configuration> <system.webServer> <rewrite> <rules> <rule name="Rule 1" stopProcessing="true"> <match url="^announcements/([0-9]+)/[a-z0-9_-]+\.html$" /> <action type="Rewrite" url="./announcements.php?id={R:1}" appendQueryString="false" /> </rule> <rule name="Rule 2" stopProcessing="true"> <match url="^announcements$" /> <action type="Rewrite" url="./announcements.php" /> </rule> <rule name="Rule 3" stopProcessing="true"> <match url="^downloads/([0-9]+)/([^/]*)$" /> <action type="Rewrite" url="./downloads.php?action=displaycat&catid={R:1}" appendQueryString="false" /> </rule> <rule name="Rule 4" stopProcessing="true"> <match url="^downloads$" /> <action type="Rewrite" url="./downloads.php" /> </rule> <rule name="Rule 5" stopProcessing="true"> <match url="^knowledgebase/([0-9]+)/[a-z0-9_-]+\.html$" /> <action type="Rewrite" url="./knowledgebase.php?action=displayarticle&id={R:1}" appendQueryString="false" /> </rule> <rule name="Rule 6" stopProcessing="true"> <match url="^knowledgebase/([0-9]+)/([^/]*)$" /> <action type="Rewrite" url="./knowledgebase.php?action=displaycat&catid={R:1}" appendQueryString="false" /> </rule> <rule name="Rule 7" stopProcessing="true"> <match url="^knowledgebase$" /> <action type="Rewrite" url="./knowledgebase.php" /> </rule> </rules> </rewrite> </system.webServer> </configuration>
  7. yorkukhosting

    Live Help Messenge on page outside WHMCS.

    Try the following, it can be found in the 'Settings' section of the client but note you need to add /modules to the server path: <!-- stardevelop.com Live Help International Copyright - All Rights Reserved //--> <!-- BEGIN stardevelop.com Live Help Messenger Code - Copyright - NOT PERMITTED TO MODIFY COPYRIGHT LINE / LINK //--> <script type="text/JavaScript" src="https://eco.kazi-networks.com/modules/livehelp/scripts/jquery-latest.js"></script> <script type="text/javascript"> <!-- var LiveHelpSettings = {}; LiveHelpSettings.server = 'eco.kazi-networks.com/modules'; LiveHelpSettings.embedded = true; (function(d, $, undefined) { $(window).ready(function() { // JavaScript var LiveHelp = d.createElement('script'); LiveHelp.type = 'text/javascript'; LiveHelp.async = true; LiveHelp.src = ('https:' == d.location.protocol ? 'https://' : 'http://') + LiveHelpSettings.server + '/livehelp/scripts/jquery.livehelp.js'; var s = d.getElementsByTagName('script')[0]; s.parentNode.insertBefore(LiveHelp, s); }); })(document, jQuery); --> </script> <!-- END stardevelop.com Live Help Messenger Code - Copyright - NOT PERMITTED TO MODIFY COPYRIGHT LINE / LINK //-->
  8. yorkukhosting

    Live Help Messenge on page outside WHMCS.

    Yes you can, the easiest way to get the code is to logon to the Live Help Messenger client, go to 'Settings' then 'HTML' code. Copy and paste this in to your http://www.kazi-networks.com pages. Ensure that the line LiveHelpSettings.server = 'eco.kazi-networks.com/'; is modified to include 'modules' like this: LiveHelpSettings.server = 'eco.kazi-networks.com/modules/';
×

Important Information

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