Вы находитесь на странице: 1из 2

--------------------------------------------

CHANGELOG
--------------------------------------------
Version: 1.4
Author: Ryan Cloke
Date: Nov 27, 2007
Note: Added support for nonssl carts.
--------------------------------------------

*Module Name: as2checkout Payment Handler v. 1.0


*CREATOR: Absolute Solutions <zen.mods@absolute-solutions.co.uk>
*PURPOSE: Payment handler working with 2checkout
*DATE: June 2006
*VERSION COMPATIBILITY: only tested on 1.3.0.2
*
*
This module has been designed to work with the latest 2checkout procedure. With
this in mind, it is designed to inform 2checkout of the products you are sellin
g. This is over-rideable in the admin for the module. In order for this to work
, and the products to be displayed on the 2checkout pages, you must download a c
opy of your products table to a CSV file, and then uplaod it to the 2Chrckout ad
min page. I recommend using EasyPopulate for this, although you will need to al
ter the CSV file you get when you perform a standard export.
This module currently uses the Authorize.Net protocol for sending information to
the 2CO server. The 2CO protocal is available, but untested within the module.
The parameters required are commented out within the scripting.
Currently 2CO supports both its own protocol and the Authorize.Net protocol, how
ever, the two cannot be mixed.
When you use this script, you will notice that one completing the transaction, y
our uses are sent from 2CO to a page that redirects them to the Zen Cart. This
page is the process_2checkout page. It is necessary as 2CO will not return cust
omers to a page with an active divert in the header.
-----------------------------------------
INSTALL PROCEDURE
-----------------------------------------
+ Install all 4 files included.
+ Run the database_update.sql file
+ Navigate to the Admin and the payment modules page.
+ Install the module
+ Enter your user id, and your secret word
+ Setup the 2CheckOut Admin.
+ You will need to setup the standard settings, such as name, bank details etc.
+ Under "Look & Feel", you need to set to the two return addresses to http://you
r_store.com/process_2checkout.php
+ Also set direct returns to YES
+ Finally, enter your secret word.
-----------------------------------------
Database Changes
-----------------------------------------
run database_update.sql
CREATE TABLE `2checkout` (
`2co_id` int(11) NOT NULL auto_increment,
`start_time` datetime NOT NULL default '0000-00-00 00:00:00',
`finish_time` datetime NOT NULL default '0000-00-00 00:00:00',
`status` varchar(50) collate latin1_general_ci NOT NULL default '',
`return_md5` text collate latin1_general_ci NOT NULL,
`amount` float NOT NULL default '0',
`2co_order_id` int(11) NOT NULL default '0',
`session_id` varchar(50) collate latin1_general_ci NOT NULL default '',
PRIMARY KEY (`2co_id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci;
-----------------------------------------
NEW FILES
-----------------------------------------
process_2checkout.php - page user returned to on completion of transaction
includes/modules/payment/as2checkout.php
includes/languages/english/modules/payment/as2checkout.php
includes/extra_configures/as2checkout_defines.php
-----------------------------------------
ALTERED FILES
-----------------------------------------
NONE
-----------------------------------------
TEMPLATE FILES
-----------------------------------------
NONE
-----------------------------------------
SUPPORT
-----------------------------------------
Support can be obtained for this module by PM within the Zen Forum, to "ABSOLUTE
", or by email: zen.mods@absolute-solutions.co.uk
Support Thread: http://www.zen-cart.com/forum/showthread.php?t=39658
If you feel that you would like to make a contributions for this module, these c
an be made by PayPal to paypal@absolute-solutions.co.uk

-----------------------------------------
SUPPORTERS
-----------------------------------------
This module has been supported by way of contributions by:
DOUW

Вам также может понравиться