osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 
 

2Checkout Payment Module

This is a discussion on 2Checkout Payment Module within the New osCommerce Contributions forums, part of the osCommerce 2.2 Forums category; The version 1.1 has a problem, if you uses another money like mexican currency, when it send you to pay ...


Go Back   osCommerce and osCMax shopping cart software forums > osCommerce 2.2 Forums > New osCommerce Contributions

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Reply

 

LinkBack Thread Tools
  #1  
Old 07-09-2007, 01:52 AM
michael_s's Avatar
osCMax Developer

 
Join Date: Jul 2002
Location: Phoenix, AZ
Posts: 10,527
Thanks: 76
Thanked 334 Times in 313 Posts
Rep Power: 10
michael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond repute
Post 2Checkout Payment Module

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

More...
__________________
Michael Sasek
osCMax Developer


  • osCMax Templates - Hundreds of premium quality templates designed for osCMax 2. Loyalty discounts up to 30% off!
    Each purchase supports the osCMax project with much needed funds!

  • xShop for osCMax - Windows Based osCMax administration. Improved workflow, security, speed and convenience.

  • osCMax Hosting - From basic hosting to High Availability, Load Balanced arrays, the most experienced osCMax host. Default multi server configuration for exceptional performance!

  • osCMax Template Tutorial - Learn how to make your own custom templates and how to use the powerful features of the osCMax template system.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
Advertisement
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

Thread Thread Starter Forum Replies Last Post
Anyone know how to install 2Checkout payment module? Naza 2Checkout 3 05-22-2007 10:57 PM
2Checkout Payment Module michael_s New osCommerce Contributions 0 05-06-2007 08:18 PM
2Checkout Payment Module michael_s New osCommerce Contributions 0 01-30-2007 05:10 AM
2Checkout Payment Module michael_s New osCommerce Contributions 0 01-30-2007 05:10 AM
2checkout.com and oscommerce payment module jfaisal osCommerce 2.2 Installation Help 3 11-27-2003 08:15 AM


All times are GMT -8. The time now is 01:08 PM.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO
http://www.oscmax.com/forums/
Copyright 2008 osCMax