Jump to content

data feed for 2nd currency not working


webgonet

Recommended Posts

Hi! To everyone @ whmcs

 

 

Below is a line of code that I’m using to “pull” a product price info into a non whmcs site content. It works perfectly. It show the price in Euro, which is the base currency on my whmcs installation.

 

<script language="javascript" src="https://mysite.com/shop/feeds/productsinfo.php?pid=10&get=price&billingcycle=monthly"></script>

 

Now, the code lines bellow (either one of them) is what I’m trying to use to “pull” the same product price but in USD. They DO NOT work at all. The output it is still the same … same base currency, same base price.

 

<script language="javascript" src="https://mysite.com/shop/feeds/productsinfo.php?pid=10&get=price&billingcycle=monthly&currency=2"></script>

 

<script language="javascript" src="https://mysite.com/shop/feeds/productsinfo.php?pid=10&get=price&billingcycle=monthly&currencyid=2"></script>

 

FYI, the currencies are setup on the backend, the automated exchange rate system works flawlessly, and the prices show as they should under each currency on the products pages. I DO NOT understand why this is NOT the case with the feed script!? – Any help and advice on this matter would be greatly appreciated.

 

Thank You!

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