Jump to content

Decline Credit Card Fee


madRooster

Recommended Posts

I am hoping I am missing a setting somewhere and just cant find it or someone can recommend a good hook to use the API.

 

We are coming from AWBS and one feature it had was the ability to add a fee to an invoice if credit card attempt failed automatically.

 

As we are charged $0.30 for every charge attempt, it allowed us to add a $0.50 charge to every single time the credit card failed. Sometimes adding multiple $0.50 charges to one invoice.

 

I cant believe a billing system such as AWBS had this ability and was stopped being developed years ago and WHMCS does not have this function.

 

Any ideas on how to implement if it doest have this ability?

Link to comment
Share on other sites

I just looked and the PayPal Pro module is encrypted, so unless I want to re-write it, this is not a direct option. I still can not believe this is not an standard option by WHMCS. It seems all the other billing solutions have it as well I mentioned, AWBS had it for years. I have found old invoices that had it back to 2005 that have this fee.

Link to comment
Share on other sites

That trivial fee generates $1000s of extra of income for us each year, as we make $0.20 on each one. Some accounts get 3-4 $0.50 charges before the clients fix their credit card and pays. So its not a trivial thing to us. I have our web developer working on a hook using the transaction log and they say it appears doable.

Link to comment
Share on other sites

Ok, the web development team was able to whip this up and it works just fine using the TransactionLog hook. The only issue we have with it is it charges the fee to new signups as well if their card gets declined. Our previous system did only did it on automatic payments, but this is ok, we will just update our TOS and documentation to reflect the new change.

Link to comment
Share on other sites

That's easily solved

In your hook, wrap the part where you add the fee like so:

 



               $uid = $_SESSION['uid'];
       if (!isset($uid))
       {

insertfunctiontochargeinvoicesifcardisdeclined();
       }

 

The downside to that method is that only customers who have declines via cron will pay that fee .

Or, like you said, you can simply edit your TOS

Link to comment
Share on other sites

That's easily solved

In your hook, wrap the part where you add the fee like so:

 



               $uid = $_SESSION['uid'];
       if (!isset($uid))
       {

insertfunctiontochargeinvoicesifcardisdeclined();
       }

 

The downside to that method is that only customers who have declines via cron will pay that fee .

Or, like you said, you can simply edit your TOS

 

 

Good Call. With the manual migration to WHMCS, our brains are over worked right now. :)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • 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