I’m trying to charge payment by USD currency by Square Up API and it is detecting amount as a cent but for CAD currency, it is detecting amount completely.
Like I put 100 in payment object and it detect complete 100 CAD dollar but in case of USD currency, it detects $0.1
API Link: https://developer.squareup.com/docs/payments-api/take-payments/card-payments
Documentation Link: https://developer.squareup.com/docs/build-basics/common-data-types/working-with-monetary-amounts
Note: I also wanted to pass the payment as cents for CAD currency.
Thanks.
CAD currency not allowed contact merchant - global payments
Tried changing to USD it works but not working for CAD
Is there any configuration to enable?
Solved. You need to contact Globalpay account manager to enable CAD.
In a Prestashop 1.6 based store I want to accept payments via Paypal in only one currency (Euros). However, I want to show prices in other currencies based on the location of the customer (probably using it's IP address?). How can I do that?
In Modules and services > payment you have a tab CURRENCY RESTRICTIONS, you can check in which currency you would like Paypal to be available
For currecy selection by IP:
First, you should get the user IP after, you should set the curency of the Prestashop context
$this->context->currency->id = $id_currency
To get $id_currency, follow this steps
You should get the country of the the user IP with this script
Then get the currency code by country code (you can get if from a csv file or you you should use an API or database)
The free IP Find service provides currency information in the response for any given IP Address.
Eg. http://ipfind.co?ip=8.8.8.8
Will return (among other things)
currency: USD
I have faced the warning pop on validate the supplier invoice with OpenERP 7
1 - select supplier invoice and select supplier
2 - Add Product in invoice line
3 - select Other Info Tab and Add Payment Terms
4 - Validate the invoice
When trying to validate an invoice the application issues an error below OpenERP Warning :
"You cannot validate a non-balanced entry.
Make sure you have configured payment terms properly.
The latest payment term line should be of the "Balance" type."
Warning message raise only when there are debit and credit balance will not be matched.
I am also follwing the below article
https://bugs.launchpad.net/openobject-addons/+bug/506521
Our customer using the old base addons for accouting related module in OpenERP V7
Also apply so many other patch on my existing addons for openerp V7
but not finding any solution relavent with this issue
Any one have idea what are the stapes need to stop my warning popup . or Is there any preconfiguration needed to solve my issue
Im trying to get an item page on market in certain currency, tried to add
Accept-Language: ru-RU\r\n
and
Accept-Language: ru-RU, ru\r\n
and
Accept-Language: ru, ru-RU;q=0.8\r\n
to header but steam ignores it and always gives a page with mixed rubles, euros and dollars.
Also, how can i get a page in xml format? ?format=xml and ?xml=1 dont work, tried with application/xml and */*
If someone still needs this:
http://steamcommunity.com/market/search/render/?start=0&count=10&l=english¤cy=5&q=&category_730_ItemSet%5B%5D=any&category_730_TournamentTeam%5B%5D=any&category_730_Weapon%5B%5D=tag_weapon_ak47&category_730_Exterior%5B%5D=tag_WearCategory0&category_730_Quality%5B%5D=tag_strange&appid=730
l param (Language): english, russian, french, etc.
count is how much results to display
start is starting result (start=10&count=10 is 2nd page with 10 results)
currency: 5 = ruble, 3 = USD. There are many others.
http://steamcommunity.com/market/listings/730/StatTrak%E2%84%A2%20AK-47%20%7C%20Blue%20Laminate%20%28Factory%20New%29/render?start=0&count=5¤cy=5&language=english
Recently Valve added market prices on inventory page when inspecting an item. The price is loaded through AJAX, and through inspecting network requests I found this:
http://steamcommunity.com/market/priceoverview/?country=US¤cy=3&appid=730&market_hash_name=AWP%20|%20Electric%20Hive%20(Factory%20New)
You can force currency with this (currency 3 is EUR), returns lowest price on market and median price, JSON format.
Sellers will always list items for sale in the native currency of
their Steam Wallet, and buyers will always see Community Market prices
expressed in the native currency of their Steam Wallet. For items
listed for sale in a different currency than the buyer's Steam Wallet
currency, we apply an exchange rate which we update daily.
- Community Market FAQ
Meaning, if you are looking at the market from a browser you are logged in on and you have funds in your wallet that are not in Rubles, you won't see Rubles.
You can, however, get around this. If you log out of the market and visit your URL, there are two parameters you can pass for force language and region changes.
For example, using the ever popular Supply Crate Key: http://steamcommunity.com/market/listings/440/Mann%20Co.%20Supply%20Crate%20Key?l=russian&cc=ru
Notice the l and cc parameters. The l is setting the language to Russian and the cc is setting the region to Russia.
Now, this doesn't appear to work on the entire page. The graph showing historical trends still appears to be in USD, even though the surrounding text is in Russian.
But, the individual listings of items did, in fact, change currencies.