Quantcast
Channel: WHMCS Community Forums
Viewing all articles
Browse latest Browse all 13458

data feed for 2nd currency not working

$
0
0
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=mon thly"></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=mon thly&currency=2"></script>

<script language="javascript" src="https://mysite.com/shop/feeds/productsinfo.php?pid=10&get=price&billingcycle=mon thly&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!

Viewing all articles
Browse latest Browse all 13458

Trending Articles