Difference between revisions of "X-Cart:Skrill (formerly Moneybookers)"

From X-Cart 4 Classic
Jump to: navigation, search
(Created page with '==Iframe method== iFrame integration method keeps the transaction in an iframe, meaning customers no longer have to leave your pages. Download links: * http://www.x-cart.com/…')
 
Line 11: Line 11:
  
 
<videoflash>UK7kJEy4oOk|800|476</videoflash>
 
<videoflash>UK7kJEy4oOk|800|476</videoflash>
 +
 +
 +
==FAQ==
 +
 +
=== How to add new currencies into Moneybookers integration modules ===
 +
 +
1) Open file
 +
<u>xcart_dir/include/payment/func.cc_mbookers.php</u>
 +
 +
2) locate '''func_cc_mbookers_get_currencies''' function
 +
 +
3) add a new currency into array '''$currencies''' (see how other currencies are listed in that array for sample)
 +
 +
As result you should get something like this:
 +
 +
<source>
 +
function func_cc_mbookers_get_currencies()
 +
{
 +
$currencies = array(
 +
'EUR' => 'Euro',
 +
'USD' => 'U.S. Dollar',
 +
'GBP' => 'British Pound',
 +
'HKD' => 'Hong Kong Dollar',
 +
'SGD' => 'Singapore Dollar',
 +
'JPY' => 'Japanese Yen',
 +
'CAD' => 'Canadian Dollar',
 +
'AUD' => 'Australian Dollar',
 +
'CHF' => 'Swiss Franc',
 +
'DKK' => 'Danish Krone',
 +
'SEK' => 'Swedish Krona',
 +
'NOK' => 'Norwegian Krone',
 +
'ILS' => 'Israeli Shekel',
 +
'MYR' => 'Malaysian Ringgit',
 +
'NZD' => 'New Zealand Dollar',
 +
'TRY' => 'New Turkish Lira',
 +
'AED' => 'Utd. Arab Emir. Dirham',
 +
'MAD' => 'Moroccan Dirham',
 +
'QAR' => 'Qatari Rial',
 +
'SAR' => 'Saudi Riyal',
 +
'TWD' => 'Taiwan Dollar',
 +
'THB' => 'Thailand Baht',
 +
'CZK' => 'Czech Koruna',
 +
'HUF' => 'Hungarian Forint',
 +
'SKK' => 'Slovakian Koruna',
 +
'EEK' => 'Estonian Kroon',
 +
'BGN' => 'Bulgarian Leva',
 +
'PLN' => 'Polish Zloty',
 +
'ISK' => 'Iceland Krona',
 +
'INR' => 'Indian Rupee',
 +
'LVL' => 'Latvian Lat',
 +
'KRW' => 'South-Korean Won',
 +
'ZAR' => 'South-African Rand',
 +
'RON' => 'Romanian Leu New',
 +
'HRK' => 'Croatian Kuna',
 +
'LTL' => 'Lithuanian Litas',
 +
'JOD' => 'Jordanian Dinar',
 +
'OMR' => 'Omani Rial',
 +
'RSD' => 'Serbian dinar',
 +
'TND' => 'Tunisian Dinar',
 +
'BHD' => 'Bahraini Dinar',
 +
'KWD' => 'Kuwaiti dinar',
 +
);
 +
return $currencies;
 +
}
 +
</source>
  
 
[[Category:Payment gateways]]
 
[[Category:Payment gateways]]
 
[[Category:X-Cart user manual]]
 
[[Category:X-Cart user manual]]

Revision as of 14:47, 25 May 2011

Iframe method

iFrame integration method keeps the transaction in an iframe, meaning customers no longer have to leave your pages.

Download links:



FAQ

How to add new currencies into Moneybookers integration modules

1) Open file xcart_dir/include/payment/func.cc_mbookers.php

2) locate func_cc_mbookers_get_currencies function

3) add a new currency into array $currencies (see how other currencies are listed in that array for sample)

As result you should get something like this:

function func_cc_mbookers_get_currencies()
{
$currencies = array(
'EUR' => 'Euro',
'USD' => 'U.S. Dollar',
'GBP' => 'British Pound',
'HKD' => 'Hong Kong Dollar',
'SGD' => 'Singapore Dollar',
'JPY' => 'Japanese Yen',
'CAD' => 'Canadian Dollar',
'AUD' => 'Australian Dollar',
'CHF' => 'Swiss Franc',
'DKK' => 'Danish Krone',
'SEK' => 'Swedish Krona',
'NOK' => 'Norwegian Krone',
'ILS' => 'Israeli Shekel',
'MYR' => 'Malaysian Ringgit',
'NZD' => 'New Zealand Dollar',
'TRY' => 'New Turkish Lira',
'AED' => 'Utd. Arab Emir. Dirham',
'MAD' => 'Moroccan Dirham',
'QAR' => 'Qatari Rial',
'SAR' => 'Saudi Riyal',
'TWD' => 'Taiwan Dollar',
'THB' => 'Thailand Baht',
'CZK' => 'Czech Koruna',
'HUF' => 'Hungarian Forint',
'SKK' => 'Slovakian Koruna',
'EEK' => 'Estonian Kroon',
'BGN' => 'Bulgarian Leva',
'PLN' => 'Polish Zloty',
'ISK' => 'Iceland Krona',
'INR' => 'Indian Rupee',
'LVL' => 'Latvian Lat',
'KRW' => 'South-Korean Won',
'ZAR' => 'South-African Rand',
'RON' => 'Romanian Leu New',
'HRK' => 'Croatian Kuna',
'LTL' => 'Lithuanian Litas',
'JOD' => 'Jordanian Dinar',
'OMR' => 'Omani Rial',
'RSD' => 'Serbian dinar',
'TND' => 'Tunisian Dinar',
'BHD' => 'Bahraini Dinar',
'KWD' => 'Kuwaiti dinar',
);
return $currencies;
}