Jump to content

Recurring VS One-Time Payment Workaround?


nickia

Recommended Posts

Hi,

 

I'm running a non-hosting SAAS and use WHMCS as my payment system

 

Since I can't use cronjob to activate my service automatically, I use the database of WHMCS to achieve automatic service activation on my software.

 

Whenever a client pays an invoice, the time between now and the "nextduedate"(Under TBLHOSTING) is the valid subscription period.

 

This method works well under recurring model. However, I'm only able to accept recurring payment because of the limitation of my hack. When accepting one-time payment, WHCMS does not record the "nextduedate" so I'm unable to determine the valid subscription period.

 

Is there any entry in the database that indicates this otherwise? What I need is the integer subscription length of the package after the payment is fully paid.

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