Closed (fixed)
Project:
e-Commerce
Version:
5.x-3.3
Component:
authorize_net
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
20 Dec 2007 at 02:49 UTC
Updated:
19 Jan 2009 at 13:11 UTC
I have a few products on my site that allow people to go through the sales process with out actually having to use a credit card.
However the checkout wont detect that the total is 0.00 and allow the person to finish the check out with out
eg. entering a credit card for eway, and paypal pro throughs an error message about invalid total.
The shopping cart should detect the total as $0.00 and bypass the payment services and set the flow as completed.
Comments
Comment #1
brmassa commentedClint,
what eC version are you using?
massa
PS: dont use "HEAD" as version because we dont develop on HEAD anymore. put the version you are using
Comment #2
clint.davis commentedSorry i thought head ment the latest version, set to 5.x-4.x-dev
to further this issue, when having a total of $0.00, and actually filling in the credit card info from eway, it spits a internal server error 500.
Comment #3
caspercash commentedSame here.. I have the same problem.. Transactions that have a gross of $0.00 were recorded in my transaction log.. The status of there workflow is completed.
The 0.00 gross charge appears in the transaction log and these transactions were done through authorize.net.. I’ve compared the module authorize_net.module and the paypal.module to trace if the code has similarities when the customer is about to place the order of his/her transaction. While comparing, I found out that the code of the authorize_net.module when placing the order has a difference compared to the paypal.module. In the paypal.module, before placing the order, it has a condition checking whether the gross of the transaction is greater than 0 while in the authorize.net module, there is no condition. This is the code of the paypal.module:
->case ‘payment page’: if ($txn->gross > 0) {return paypal_goto($txn);}break;
and this is the code of the authorize_net.module:
->case ‘payment page’: return authorize_net_goto($txn);
Can anyone help me about this issue? The 0.00 gross charge on the transaction always appear and I really don't know what's wrong with it. It might be in the code of the authorize.net module or in the authorize.net payment gateway or in the ec_checkout module. Any help is very much appreciated. Thanks!
By the way this is the info of the module authorize_net:
; $Id: authorize_net.info,v 1.2.2.10 2007/07/27 04:31:04 gordon Exp $
core = "5.0"
dependencies = payment
description = "Authorize.Net payment gateway in E-Commerce."
package = "E-Commerce Payment Methods"
name = "Authorize.Net"
; Information added by drupal.org packaging script on 2007-08-01
version = "5.x-3.3"
project = "ecommerce"
datestamp = "1185944404"
P.S. The $0.00 charge in the transaction log randomly appears and I still finding out on how, when and why does this happen.
Comment #4
brmassa commented