Jump to content

Get VPS Recurring payment amount via API


Recommended Posts

In short: I need a way to pull the recurring amount (payment amount as shown on Products/Services tab) for each of the VPSes on my account via API.

So, I'm basically re-inventing the wheel on the Income Forecast and doing it myself with a script that pulls all the orders (via GetOrders) and calculates the next 12 months of re-bills. I'm doing this as I have 25 WHMCS sites and also the way that the Income Forecast is calculated, doesn't give me what I need to manage my business.

The problem I ran into is that if I do a promotion to give the first month free or discounted, the only figure that GetOrders returns is that initial order item price, but not the Recurring amount (as shown on the Products/Services tab). I need to find a way to get the initial order price, as well as the recurring amount, as I don't see anything in the API Index that pulls this data.

Please let me know if anyone has any ideas on this.

 

Thanks a lot,

Matthew

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