Jump to content



Photo
* * * * * 1 votes

need some help with authorize.net module


This topic has been archived. This means that you cannot reply to this topic.
21 replies to this topic

#1   sparkandfuel.com

sparkandfuel.com
  • Members
  • 9 posts

Posted 10 May 2006 - 20:05

I've had osC ms2.2 running since sept 2005, with very little trouble ever I might add. very stable and capable shopping cart if you ask me.

I recently got a credit card processing agreement with authorize.net through merchantwarehouse.com, and everything is seemingly a-ok on the authorize.net account. I also have ssl/https:// up and running seemingly well.

The situation is that when an order is placed (my test orders), authourize.net processes the card and bills the customer (me) for the correct ammount, but not for real since its only in test mode. but, the funny thing is that once you click "confirm order" (which actually processes the order), the user gets kicked back to the login screen and no actual order is placed! wierd!

no order is generated, but payment is recieved!

I've done this a total of 4 times now, with some small changes to the authorize.net payment module settings through the admin page (each time the result is the same voyage back to the login page),
Please throw me a bone! /crying.gif' class='bbc_emoticon' alt=':'(' />

-gary-

#2   danc

danc
  • Members
  • 10 posts

Posted 10 May 2006 - 20:58

Did you set your response/receipt URLs in your autorize.net setttings?

https://yourdomian.c...onfirmation.php Default Receipt URL
https://yourdomain.c...out_process.php Default Relay Response URL

#3   buddylee602

buddylee602
  • Members
  • 9 posts

Posted 11 May 2006 - 00:14

Did you set your response/receipt URLs in your autorize.net setttings?

https://yourdomian.c...onfirmation.php Default Receipt URL
https://yourdomain.c...out_process.php Default Relay Response URL



When setting this do we use Link, Get, or Post as the method used to render the page?

#4   buddylee602

buddylee602
  • Members
  • 9 posts

Posted 11 May 2006 - 01:12

When setting this do we use Link, Get, or Post as the method used to render the page?


Well I tried all three and get the same result of being sent back to the login page...help /sad.gif' class='bbc_emoticon' alt=':(' />

#5   buddylee602

buddylee602
  • Members
  • 9 posts

Posted 11 May 2006 - 06:56

Well I tried all three and get the same result of being sent back to the login page...help /sad.gif' class='bbc_emoticon' alt=':(' />


Is there any solution to this?

#6   danc

danc
  • Members
  • 10 posts

Posted 11 May 2006 - 14:48

When setting this do we use Link, Get, or Post as the method used to render the page?

I have mine set to post.

I'm assuming that the login page you keep coming back to is your default webpage.
Here's what may be happening:
When you comfirm you order OSC sends the data to Authoize.net.
Authorize.net runs the card and kicks back a response and runs the Default Receipt or URL Default Relay Response URL.
So whats happening is Authorize.net can't find the
https://yourdomian.c...onfirmation.php
https://yourdomain.c...out_process.php
files on your webserver.
And goes to the default web page.

Double check the URLs does it have the https:
Is https: port 443 accessable to the internet. (check for firewall)
Look at your error logs on your webserver

Have you ever successfully charged anything with your authorize.net account?

#7   enigma1

enigma1
  • Members
  • 8,206 posts

Posted 11 May 2006 - 16:36

check your catalog\includes\configure.php file, make sure domain/server definitions do not include paths (they must be in the format www.mysite.com). And any paths (like catalog/) are separately defined in the catalog, cookies etc definitions.

#8   buddylee602

buddylee602
  • Members
  • 9 posts

Posted 12 May 2006 - 04:31

I've checked everything a million times and still getting same result of kick back to login page. I have successfully processed several orders just fine. My card has been charged and I've received the funds through Authorize.net. Here's my current settings:

Authorize.net

https://xxxxxxxx.com/store/checkout_confirmation.php Default Receipt URL
https://xxxxxxxx.com...out_process.php Default Relay Response URL


POST

Configure.php File

define('HTTP_SERVER', 'http://xxxxxxxx.com'); // eg, http://localhost - should not be empty for productive servers
define('HTTPS_SERVER', 'https://xxxxxxxx.com'); // eg, https://localhost - should not be empty for productive servers
define('ENABLE_SSL', true); // secure webserver for checkout procedure?
define('HTTP_COOKIE_DOMAIN', 'xxxxxxxx.com');
define('HTTPS_COOKIE_DOMAIN', 'xxxxxxxx.com');
define('HTTP_COOKIE_PATH', '/store/');
define('HTTPS_COOKIE_PATH', '/store/');
define('DIR_WS_HTTP_CATALOG', '/store/');
define('DIR_WS_HTTPS_CATALOG', '/store/');
define('DIR_WS_IMAGES', 'images/');
define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');
define('DIR_WS_INCLUDES', 'includes/');
define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/');
define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/');
define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/');
define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/');
define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/');

I don't know what else to do...I gotta get this up soon... /sad.gif' class='bbc_emoticon' alt=':(' />

#9   buddylee602

buddylee602
  • Members
  • 9 posts

Posted 12 May 2006 - 05:17

I got PayPal to work ok...but I had to dissalbe the encrypted buttons thing. Is this a normal solution for PayPal to work? Account was charged and order was posted in Store Admin. Still can't get it to post orders with Authorize.net.

#10   sparkandfuel.com

sparkandfuel.com
  • Members
  • 9 posts

Posted 12 May 2006 - 17:21

hmmm...
I've changed the Default Receipt URL at the authorize.net website,
and changed the Default Relay Response URL
and changed to "post"

and, I looked over the configure.php file, which stated "false" on this line:
define('ENABLE_SSL', false); // secure webserver for checkout procedure?

but I changed it to true... (although I understand what ssl does, I am unclear abut the mechanics of ssl, and how to apply it, my webserver states they provide one and I hope I am not mis-interpeting)

however, I'm still getting kicked back to the login screen at the order confirmation page.

I really appreciate your genuine posts here, and it helps a lot, I hope to resolve the issue with some help from you guys.

#11   enigma1

enigma1
  • Members
  • 8,206 posts

Posted 12 May 2006 - 18:19

then another possibility are the sessions. If you're on a dedicated server, set the force cookies to true for testing. See if you have the same problem. If it works it means the confirmation form does not pass the session or something.

#12   sparkandfuel.com

sparkandfuel.com
  • Members
  • 9 posts

Posted 12 May 2006 - 18:41

then another possibility are the sessions. If you're on a dedicated server, set the force cookies to true for testing. See if you have the same problem. If it works it means the confirmation form does not pass the session or something.


I forced cookies and tried the process again.
Unfortunetly, there was no change, and did not lend anything to come to a conclusion to troubleshoot with.

#13   sparkandfuel.com

sparkandfuel.com
  • Members
  • 9 posts

Posted 13 May 2006 - 01:43

Bring up my post!
this has got the business at a standstill.

#14   buddylee602

buddylee602
  • Members
  • 9 posts

Posted 13 May 2006 - 06:23

I can't even get my business started!

#15   enigma1

enigma1
  • Members
  • 8,206 posts

Posted 13 May 2006 - 14:02

I think the code flow is that the order goes to authorizenet and then returns to checkout_process.php where it detects something (probably due to the session or cookie) and redirects to the login page.

Place some test points in checkout_process.php check if the very first comparison in that file is the one that fails.

// if the customer is not logged on, redirect them to the login page
  if (!tep_session_is_registered('customer_id')) {
	$navigation->set_snapshot(array('mode' => 'SSL', 'page' => FILENAME_CHECKOUT_PAYMENT));
	tep_redirect(tep_href_link(FILENAME_LOGIN, '', 'SSL'));
  }

If the login comes because of this it must be the session that is lost.

#16   sparkandfuel.com

sparkandfuel.com
  • Members
  • 9 posts

Posted 14 May 2006 - 05:18

ok you crazy detail orriented people out there, I got authorize.net working.

I talked it over with at least 6 techs at authorize.net and a couple from merchantwherehouse.com, without much assistance and a lot of finger pointing in a big circle. Not Very Helpful, but who cares.

I decided to search this forum very deeply to find anything I could, and the path that led me to sucess was in installing a new payment module:
"authorize.net AIM"
this module and a long thread about it can be found here:
http://forums.oscomm...pic=199381&st=0

In the end, it was important to read the diretions that came along in the .zip file, all the settings worked out fine and I was well on my way to charging my own credit card to my business.
/thumbsup.gif' class='bbc_emoticon' alt=':thumbsup:' />

some important notes:
in your authorize.net settings,
Receipt / Relay URLs should be to https://yoursite/bla...out_process.php
they should BOTH point to the same page... I got kicked around when confirming the order, back and forth, until setting them both to the same page.

Delimited Response = No
Default Field Seperator = comma
Field Encapsulation Character = blank

it's got to be BLANK!!!, nothing else worked, and I tried, just so I could post that other things deffinetly didn't work.


sessions had nothing to do with it in the end, a good thought though and appreciated!


should anyone want to try it out on my site, you are free to check it out:
www.sparkandfuel.com/catalog/


Thanks for the help guys and gals (if there are any)
BuddyLee; this should get you up and running quickly, without fumbling around. what's your site? iI'll check it out.

#17   buddylee602

buddylee602
  • Members
  • 9 posts

Posted 15 May 2006 - 02:33

Genius! Thanks so much to all of you! Especially you Spark! Everything works like a charm...just a few more details and I'll be up and running! Thanks again!

#18   CarolineBogart

CarolineBogart
  • Members
  • 7 posts

Posted 19 August 2007 - 00:16

ok you crazy detail orriented people out there, I got authorize.net working.


......

As a crazy, detail oriented person who had the wrong setting for my Default Relay Response URL, I humbly bow before and thank you for what I am nominating as the single most important post on the forums! Yay!

If you love beautiful jewelry I will get you a discount!!! I am so grateful for you posting that, I'd been hitting my head on the Authorize piece for days. The symptom was that auth net would return to my shopping cart instead of where I told it to go. And it would actually still have the authorize.net transact.dll address in the address bar. I debugged out all of the post, get and server vars, nothing!

thank you thank you thank you. Seriously I'd be happy to get you a discount on the site that you just helped make go live with auth net. PM me -- the site is gabrielxxo.com

yay!

#19   Learner1988

Learner1988
  • Members
  • 33 posts

Posted 12 September 2007 - 22:05

As a crazy, detail oriented person who had the wrong setting for my Default Relay Response URL, I humbly bow before and thank you for what I am nominating as the single most important post on the forums! Yay!

If you love beautiful jewelry I will get you a discount!!! I am so grateful for you posting that, I'd been hitting my head on the Authorize piece for days. The symptom was that auth net would return to my shopping cart instead of where I told it to go. And it would actually still have the authorize.net transact.dll address in the address bar. I debugged out all of the post, get and server vars, nothing!

thank you thank you thank you. Seriously I'd be happy to get you a discount on the site that you just helped make go live with auth net. PM me -- the site is gabrielxxo.com

yay!


Where do I change the Default Relay Response URL?

#20   tonedoggydogg

tonedoggydogg
  • Members
  • 10 posts

Posted 18 June 2008 - 23:47

ok you crazy detail orriented people out there, I got authorize.net working.

I talked it over with at least 6 techs at authorize.net and a couple from merchantwherehouse.com, without much assistance and a lot of finger pointing in a big circle. Not Very Helpful, but who cares.

I decided to search this forum very deeply to find anything I could, and the path that led me to sucess was in installing a new payment module:
"authorize.net AIM"
this module and a long thread about it can be found here:
http://forums.oscomm...o...199381&st=0

In the end, it was important to read the diretions that came along in the .zip file, all the settings worked out fine and I was well on my way to charging my own credit card to my business.
/thumbsup.gif' class='bbc_emoticon' alt=':thumbsup:' />

some important notes:
in your authorize.net settings,
Receipt / Relay URLs should be to https://yoursite/bla...out_process.php
they should BOTH point to the same page... I got kicked around when confirming the order, back and forth, until setting them both to the same page.

Delimited Response = No
Default Field Seperator = comma
Field Encapsulation Character = blank

it's got to be BLANK!!!, nothing else worked, and I tried, just so I could post that other things deffinetly didn't work.


sessions had nothing to do with it in the end, a good thought though and appreciated!


should anyone want to try it out on my site, you are free to check it out:
www.sparkandfuel.com/catalog/


Thanks for the help guys and gals (if there are any)
BuddyLee; this should get you up and running quickly, without fumbling around. what's your site? iI'll check it out.



This worked like a charm in test mode, but when live, the site returns to the checkout confirmation page without any error messages. This would throw the user.

sparkandfuel.com states to set a few things, but I'm not sure where the Receipt / Relay URLs are located. (Which php file?)