Jump to content
webgonet

data feed format

Recommended Posts

i would like to know how to format the "productsinfo" or "productpricing" data feed to show/pull only the setup price. any help would be greatly appreciated.

 

respectfully ..

Share this post


Link to post
Share on other sites
17 hours ago, webgonet said:

i would like to know how to format the "productsinfo" or "productpricing" data feed to show/pull only the setup price. any help would be greatly appreciated.

i've quickly modified the productsinfo feed and given it a setup fee option - i've renamed the file because if you modify any of the original data feed files, they are likely to get overwritten during a WHMCS update.. by all means rename the file, but don't give it a filename of a feed that already exists...

setup fees can be called by using...

<script language="javascript" src="feeds/webgonet_productsinfo.php?pid=1&get=setup&cycle=asetupfee&currency=1"></script>

you use get=setup to tell the feed that you want to get a setup fee;

and then you use cycle=x to tell it which billingcycle to get the setup fee for where x equals one of the options below.

  • monthly => msetupfee
  • quarterly => qsetupfee
  • semiannually => ssetupfee
  • annually => asetupfee
  • biennially => bsetupfee
  • triennially => tsetupfee

webgonet_productsinfo.php

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.

×

Important Information

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