Community Add-Ons
| Maintainers: | toyicebear |
2checkout payment module
for osCommerce Online Merchant v2.2
Modified pm2checkout module with easier install, based on version V2.1 revised April 2, 2005 by Alex Seto
Original install document is included to give credit to all the contributors aswell as a historical overview of this contribution.
To install just follow the instructions in the install file.
DO NOT email or pm me any questions about this module, ask any questions in the support forum:
http://forums.oscommerce.com/index.php?showtopic=272486
This contribution is ofcourse GNU, and used at your own risk..and so on..... ;-)
Esta version tiene un problema, si usa otra moneda diferente a las ofrecidas en 2checkout, por ejemplo si usas pesos mexicanos y cuando confirmas para ir a pagar, no te hace la conversion sino que te toma esa candidata neta y te la pone en la moneda configurada en 2checkout, ahora el programa te hace la conversion sin problemas, si tu usas una moneda diferente a la configurada en 2checkout, solamente cambia USD por la moneda configurada en 2checkout en catalog/includes/modules/payment find in about line 155
if (DEFAULT_CURRENCY <> 'USD')
{
$tcoOrderTotal = $currencies->get_value("USD") * $order->info['total'];
}
else
$tcoOrderTotal = $order->info['total'];
cambia USD por otra moneda que tu quieras pero que sea aceptada por 2checkout
Tambien se corrigio el problema del idioma, si esta en espaņol te cambia el lenguaje automaticamente en 2checkout, tambien es posible hacerlo para otros idiomas que acepte 2checkout
Tu puedes ver esta modificacion trabajando en http://www.topeborrego.com
The version 1.1 has a problem, if you uses another money like mexican currency, when it send you to pay it do not do the conversion to the currency that you set in 2checkout. it takes the same total and put it like the default currency without do the conversion. now it is fixed.
In this case the program will convert to USD from your currency, but if you need another conversion, only change the USD for your currency in catalog/includes/modules/payment find in about line 155
if (DEFAULT_CURRENCY <> 'USD')
{
$tcoOrderTotal = $currencies->get_value("USD") * $order->info['total'];
}
else
$tcoOrderTotal = $order->info['total'];
change USD for another currency that you want but that is accepted by 2checkout
also if you webpage is in spanish when it send you to pay in 2checkout, it will be set 2checkout in spanish, it is possible to do the same with others languages that are accepted by 2checkout
You can see this working in http://www.topeborrego.com
