Jump to content

data feed format


webgonet

Recommended Posts

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

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