Author Sommay on 04-21-2000 at 18:03 (EST)
|I would to know to add x_type AUTH_ONLY values so that Authorize.net can only Authorize only not Auto Capture.
|Messages In This Discussion|
| 2. RE: Authorize.net (AUTH_ONLY)|
Author Bill Weiner on 04-21-2000 at 18:58 (EST)
|Darn, this forum doesn't let me enter greater-than or less-than signs (even when I try escaping them). The line should look like this:|
print "ZZZINPUT TYPE="HIDDEN" NAME="x_Type" VALUE="AUTH_ONLY"ZZZ";
Except replace the ZZZ with greater-than/less-than signs...just like the other lines in that subroutine.
| 3. Thanks|
Author sommay on 04-25-2000 at 11:46 (EST)
|Thanks bill - I got it to work. If I can set the Invoice Number to four to five digits and seguential i'll be a happy camper- sommay
| 5. RE: I would like to set the AUTH_ONLY param also.|
Author Bill Weiner on 03-07-2001 at 06:47 (EST)
|Below are some instructions on how to add the "AUTH_ONLY" parameter to uShop 3.x:|
STEP 1: Make a backup of your current "ushop-lib.pl" script... just in case.
STEP 2: Open your "ushop-lib.pl" file with any text editor such as WordPad.
STEP 3: Do a search on the following line to get to the start of the subroutine that outputs the Authorize.Net parameters:
STEP 4: About 14 lines into that subroutine, you will see the following line:
$ret_html .= "< INPUT TYPE="hidden" NAME="payment_method" VALUE="authorize_net_payment"> ";
STEP 5: Immediately after that line, add the following line:
$ret_html .= "< INPUT TYPE="hidden" NAME="x_Type" VALUE="AUTH_ONLY"> ";
STEP 6: Save the file (as TEXT if your editor asks)... and try it out!