Akopia Akopia Services

[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date ][Minivend by thread ]

RE: [ic] Custom Payment (credit Card) Options



Here are some instructions I put together some time ago for Authorize.Net.
Some of this may already be done if your using version 4.6.  

Hope this helps,

Ray Desjardins
mailto:webmaster@dfwmicrotech.com


Authorize.Net 3.X installation instructions:

1.  Place the below global sub routine file in
/your_minivend_root/globalsub/.
Example Path: /usr/local/minivend/globalsub/authorizenet  

2.  Edit your minivend.cfg and add the autorizenet include.
#include /globalsub/authorizenet

My Example:  
#### Now including individual usertag files
#include usertag/*
#include compat/*
#include globalsub/authorizenet

3.  Using your knar editor add the following variables to your catalog
variables database.  I did this to allow me to change the authorize net
variables much easier.  You can also add these to your catalog.cfg file if
you would like.

Variable			Value
Group
MV_PAYMENT_ID		your_authorize.net_login
Payment
MV_PAYMENT_MODE		custom authorizenet
Payment
MV_PAYMENT_SECRET		your_authorize.net_password
Payment
MV_PAYMENT_REFERER 	http://www.yourdomain.com/authorize.html
Payment

4.  I changed the /usr/local/minivend/lib/Vend/Order.pm module to allow a
few more arguments to authrorize.net at purchase time.  
Here is an example of my map_actual sub routine in the Order.pm module.
(This is change is optional but recommended)

sub map_actual { 
 
	# Allow remapping of payment variables 
    my %map = qw( 
		mv_credit_card_number       mv_credit_card_number 
		name                        name 
		fname                       fname 
		lname                       lname 
		b_name                      b_name 
		b_fname                     b_fname 
		b_lname                     b_lname 
		address                     address 
		address1                    address1 
		address2                    address2 
		b_address                   b_address 
		b_address1                  b_address1 
		b_address2                  b_address2 
		city                        city 
		b_city                      b_city 
		state                       state 
		b_state                     b_state 
		zip                         zip 
		b_zip                       b_zip 
		country                     country 
		b_country                   b_country 
		mv_credit_card_exp_month    mv_credit_card_exp_month 
		mv_credit_card_exp_year     mv_credit_card_exp_year 
		cyber_mode                  mv_cyber_mode 
		amount                      amount
 	      mv_order_number		    mv_order_number

    ); 

5.  Make sure your authorize.net account is configured to accept the
http://www.yourdomain.com/authorize.html as a referrer.  Put your account in
test mode and have fun.



-----Original Message-----
From: Ted Sindzinski [mailto:admin@extremefactor.com]
Sent: Sunday, November 05, 2000 3:15 PM
To: interchange-users@minivend.com
Subject: [ic] Custom Payment (credit Card) Options


Hello,
    I am currently trying to setup Interchange to work with
Authorize.net which authenticates via http requests.  I currently have a
little lwp script that I used with my old shopping cart to send the
transactions.  Although I have read a great deal of documentaiton, all I
can find about setting up payment schemes in Interchange is to use
'&charge=custom MY_PAYMENT_FUCNTION_NAME'.  With this line added, what
must I do to define the function name and get it running?  where must
errors return to to be seen? and lastly, where does this line go (file
wise)?

Thank you for any assistance

--
Ted Sindzinski
CTO Extreme Factor
*********************
www.extremefactor.com



_______________________________________________
Interchange-users mailing list
Interchange-users@www.minivend.com
http://www.minivend.com/mailman/listinfo/interchange-users

authorizenet


Search for: Match: Format: Sort by: