Community Add-Ons

Maintainers: EarlyQ
Add file to this package
Top » Payment Modules

2Checkout Payment Module
for osCommerce Online Merchant v2.2

Features:

- Uses Authorize.net or 2Checkout parameters.
- Displays 2Checkout CC Form in English or Spanish, depending on language chosen.
- Receives transaction details at the end of the order.
Stores it in twocheckout table in database with access via admin.
- Includes MD5 Hash Checking.

Legend:  Download   Report
Expand All / Collapse All
fixed currency not supported by 2checkout version 1.2 superpillo 9 Jul 2007  

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

2Checkout Payment Module v1.1 EarlyQ 6 May 2007  
2Checkout Payment Module EarlyQ 30 Jan 2007