Jump to content
zulqarnainhabib

WHMCS - 2Checkout - Problem with Recurring Payments

Recommended Posts

We are using 2Checkout payment gateway with WHMCS. Most of our clients use automatic recurring payment option but some use one-off payments.
The problem comes with Automatic Recurring payment option. 

Suppose a client ordered a service on 10th Jan and chose Automatic Recurring payment subscription for a monthly payment plan. 
Next month his invoice is generated 7 days before the due date on 3rd Feb.
2Checkout's Automatic Recurring payment subscription will run on 10th Feb.

As the client receives invoice he sometimes logs on to the client area and pays the invoice manually e.g. on 4th Feb.
And 2Checkout's Automatic Recurring paymeent subscription run on 10th Feb creates double charge.

We need to stop this. 

One of the solutions is to generate the invoice on the due date but this will not work for us. 
As the clients who pay manually need invoice generated at least a week before the due date.

Another solution is to mark the services which already have any recurring payment subscription and show a warning on the invoice payment page.
This will alert the client not to pay the invoice manually.

WHMCS already marks 2Checkout Subscription in subscriptionid field of tblhosting table. However this is not reliable.
The reason is it doesn't mark at the time the subscription is created but it marks it next time when the subscription is automatically run.
Therefore this will not serve the purpose.

 

Any idea how to solve this ?

Zulqarnain

Share this post


Link to post
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