Zen Cart Logo
Forums / Managing Customers and Orders / cc charged but no order, using iTransact

cc charged but no order, using iTransact

Locked

Views: 4,510

Results 1 to 20 of 22
This thread is locked. New replies are disabled.
7 Aug 2007, 3:39 PM
#1
jordana avatar

jordana

New Zenner

Join Date:
Apr 2007
Posts:
72
Plugin Contributions:
0

cc charged but no order, using iTransact

I'm having the same problem as reported in this thread for authorize.net. I'm using version 1.3.0.2 and iTransact as the processor. The customer placed an order, both she and I received a confirmation email, but there order is not in the admin. There are no apostrophes or quotes in the customer information of her order.

In addition to fixing this problem for future orders, I'd also like to find the lost order if possible.

Thanks.

8 Aug 2007, 12:16 AM
#2
jordana avatar

jordana

New Zenner

Join Date:
Apr 2007
Posts:
72
Plugin Contributions:
0

Re: cc charged but no order, using iTransact

A bit more info on this, the customer receives the confirmation of the order, I receive payment, but the items remain in the shopping cart after checkout.

8 Aug 2007, 12:22 AM
#3
chuck avatar

chuck

Totally Zenned

Join Date:
Jul 2005
Posts:
255
Plugin Contributions:
0

Re: cc charged but no order, using iTransact

jordana:

A bit more info on this, the customer receives the confirmation of the order, I receive payment, but the items remain in the shopping cart after checkout.

While I'm not familiar with this payment module, if the cart isn't getting emptied, then it sounds like the payment gateway isn't sending back a valid or recognizable response, or else the module you're using isn't written very well, or is out of date.

Has it ever worked properly? When? When did it stop?
Does this only happen on certain orders, or for certain customers?
What is the status of the transaction in your iTransact merchant account? What did it say happened when the transaction was processed? were there any warnings?

8 Aug 2007, 1:23 AM
#4
jordana avatar

jordana

New Zenner

Join Date:
Apr 2007
Posts:
72
Plugin Contributions:
0

Re: cc charged but no order, using iTransact

The shopping cart worked before installing iTransact. When I had the payment set as Credit Card and used the test cc #, the order showed up in the admin, the cart cleared and the customer was sent to the thank you page.

After installing iTransact module the cart no longer cleared, payment was successful, but the order didn't show up in admin. The customer was sent to a blank white page instead of the thank you page.

The order processes in iTransact with no errors that I see. This happens for all customers.

Thanks for your help.

8 Aug 2007, 1:38 AM
#5
chuck avatar

chuck

Totally Zenned

Join Date:
Jul 2005
Posts:
255
Plugin Contributions:
0

Re: cc charged but no order, using iTransact

jordana:

The shopping cart worked before installing iTransact. When I had the payment set as Credit Card and used the test cc #, the order showed up in the admin, the cart cleared and the customer was sent to the thank you page.

After installing iTransact module the cart no longer cleared, payment was successful, but the order didn't show up in admin. The customer was sent to a blank white page instead of the thank you page.So, you're saying that during testing w/o itransact it was fine, but then after you installed it you got a blank page upon completion? And you didn't try to find out why the blank page was happening ?
And now you've gone live with your site, knowing that customers get a blank page ?

I think you'd be smarter to find out the cause of the blank page ... as that's likely why the cart isn't emptying.

What's in your server errorlog when the blank page happens?

8 Aug 2007, 1:41 AM
#6
jordana avatar

jordana

New Zenner

Join Date:
Apr 2007
Posts:
72
Plugin Contributions:
0

Re: cc charged but no order, using iTransact

Yes, I admit this was dumb.

The error logs:

PHP Fatal error: Call to undefined function: apache_request_headers() in /includes/modules/payment/itransact.php on line 197

8 Aug 2007, 1:42 AM
#7
jordana avatar

jordana

New Zenner

Join Date:
Apr 2007
Posts:
72
Plugin Contributions:
0

Re: cc charged but no order, using iTransact

line 197 of itransact.php says:

$external=apache_request_headers();

8 Aug 2007, 3:01 AM
#8
chuck avatar

chuck

Totally Zenned

Join Date:
Jul 2005
Posts:
255
Plugin Contributions:
0

Re: cc charged but no order, using iTransact

Where did you get this iTransact module from ?
What version of PHP are you using ?

8 Aug 2007, 3:05 AM
#9
chuck avatar

chuck

Totally Zenned

Join Date:
Jul 2005
Posts:
255
Plugin Contributions:
0

Re: cc charged but no order, using iTransact

jordana:

line 197 of itransact.php says:

$external=apache_request_headers();

I suspect you're using an older version of PHP (older than 4.3.0), since apache-request_headers() only exists from 4.3.0 onward.

You may have to tell it to use an older method for obtaining the information it's looking for:
Try changing that line to say:```
$external = [COLOR="Red"][B]getallheaders[/B]/COLOR;

8 Aug 2007, 3:23 AM
#10
jordana avatar

jordana

New Zenner

Join Date:
Apr 2007
Posts:
72
Plugin Contributions:
0

Re: cc charged but no order, using iTransact

no luck, now the error says

PHP Fatal error: Call to undefined function: getallheaders()

Do you think if I were using a newer version of PHP I wouldn't have this problem?

8 Aug 2007, 3:31 AM
#11
jordana avatar

jordana

New Zenner

Join Date:
Apr 2007
Posts:
72
Plugin Contributions:
0

Re: cc charged but no order, using iTransact

just contacted my host, they said they support php 4 and 5

8 Aug 2007, 3:52 AM
#12
chuck avatar

chuck

Totally Zenned

Join Date:
Jul 2005
Posts:
255
Plugin Contributions:
0

Re: cc charged but no order, using iTransact

chuck:

What version of PHP are you using ?
jordana:

just contacted my host, they said they support php 4 and 5
fair enough, but what version is your site running with ?
Admin->Tools->Server Information

8 Aug 2007, 4:12 AM
#13
jordana avatar

jordana

New Zenner

Join Date:
Apr 2007
Posts:
72
Plugin Contributions:
0

Re: cc charged but no order, using iTransact

verison 4.4.6

8 Aug 2007, 4:17 AM
#14
chuck avatar

chuck

Totally Zenned

Join Date:
Jul 2005
Posts:
255
Plugin Contributions:
0

Re: cc charged but no order, using iTransact

PHP Documentation:

Prior to PHP 4.3.0, apache_request_headers() was called getallheaders(). After PHP 4.3.0, getallheaders() is an alias for apache_request_headers().
This function is only supported when PHP is installed as an Apache module.Are you running on Windows or Linux?
Are you running Apache on your webserver?
Is it running PHP as CGI or as SAPI ?
(You may have to ask your hosting company some of these questions)

8 Aug 2007, 4:19 AM
#15
chuck avatar

chuck

Totally Zenned

Join Date:
Jul 2005
Posts:
255
Plugin Contributions:
0

Re: cc charged but no order, using iTransact

chuck:

Where did you get this iTransact module from ?

Wondering if you have an answer for this?

8 Aug 2007, 4:36 AM
#16
jordana avatar

jordana

New Zenner

Join Date:
Apr 2007
Posts:
72
Plugin Contributions:
0

Re: cc charged but no order, using iTransact

It's on Linux.
Yes, it is on apache
it's running the php as cgi

8 Aug 2007, 4:39 AM
#17
jordana avatar

jordana

New Zenner

Join Date:
Apr 2007
Posts:
72
Plugin Contributions:
0

Re: cc charged but no order, using iTransact

the module came from masterblaster on this site, I'll look for the link

8 Aug 2007, 7:17 AM
#19
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: cc charged but no order, using iTransact

jordana:

the module came from masterblaster on this site, I'll look for the link

Perhaps you should contact masterblaster and point out the problem.

8 Aug 2007, 7:23 AM
#20
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: cc charged but no order, using iTransact

You *might *be able to work around the problem by changing these lines```
$external=apache_request_headers();
$referer=$external[Referer];//get refer information

 if (eregi('secure.paymentclearing.com',$referer)) {  // See if the return is good

to this :
[B]//[/B]$external=apache_request_headers();
[B]//[/B]$referer=$external[Referer];//get refer information

 if (eregi('secure.paymentclearing.com',[B] $_SERVER['HTTP_REFERRER'][/B])) {  // See if the return is good