TinyPass Developer's Resources

Currencies

Tinypass provides the ability to display amounts in currencies other than US Dollars. This is a great way to localize your site and minimize any potential confusion on your customer's behalf.

And unlike other services, our currency display is updated with real-time exchange rates. Just keep in mind, these amounts should not be considered absolute, as other banking fees outside of Tinypass's control can affect the consumer's final charged price (as reflected on their credit card/bank statement).

Multiple currencies will be displayed throughout the purchase workflow as well as on the embedded Tinypass button. Example buttons with an additional currency


Supported Currencies

Currency Code
Australian DollarAUD
Brazilian RealBRL
Canadian DollarCAD
Czech KorunaCZK
Danish KroneDKK
EuroEUR
Hong Kong DollarHKD
Hungarian ForintHUF
Israeli ShekelILS
Japanese YenJPY
Mexican PesoMXN
Malaysian RinggitMYR
Norwegian KroneNOK
New Zealand DollarNZD
Philippine PesoPHP
Polish ZlotyPLN
Singaporean DollarSGD
Swedish KronaSEK
Swiss FrancCHF
Thai Baht THB
Turkish Lira TRY
Taiwanese New Dollar TWD
UK PoundGBP

Displaying a Foreign Currency

In the “Advanced” and “Recurring Billing” sections, we displayed some examples of how to implement different pricing strategies. Displaying a foreign currency is just a matter of appending the 3-letter currency code the amount, in the PriceOption. For example:

US Dollars

$po1 = new TPPriceOption("1.00", "24 hours");
 
//for subscriptions
$po2 = new TPPriceOption("[2.99 | 1 month | * ]");

PriceOption po1 = new PriceOption("1.00","24 hours");
 
//for subscriptions
PriceOption po2 = new PriceOption("[ 2.99 | 1 month | * ]");

var po1 = new PriceOption("1.00","24 hours");
 
//for subscriptions
var po2 = new PriceOption("[ 2.99 | 1 month | * ]");

po1 = Tinypass::PriceOption.new('1.00', '24 hours')
 
#for subscriptions
po2 = Tinypass::PriceOption.new("[ 2.99 | 1 month | * ]")

Foreign currency (Mexican Peso)

$po1 = new TPPriceOption("10.00 MXN","24 hours");
 
//for subscriptions
$po2 = new TPPriceOption("[ 29.00 MXN | 1 month | * ]");

PriceOption po1 = new PriceOption("10.00 MXN","24 hours");
 
//for subscriptions
PriceOption po2 = new PriceOption("[ 29.00 MXN | 1 month | * ]");

var po1 = new PriceOption("10.00 MXN","24 hours");
 
//for subscriptions
var po2 = new PriceOption("[ 29.00 MXN | 1 month | * ]");

po1 = Tinypass::PriceOption.new('10.00 MXN', '24 hours')
 
#for subscriptions
po2 = Tinypass::PriceOption.new("[ 29.00 MXN | 1 month | * ]")

We currently handle all transactions in US Dollars. Therefore, all foreign currencies will be converted into US Dollars prior to charging the consumer. This may affect the final charged amount for the consumer, as bank fees and conversion fees may apply.