Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Success! godaddy + ssl + auth.net(AIM)


lronhoover

Recommended Posts

success using this module:

Authorize.net AIM module

 

godaddy shared hosting account with SSL. i beat my head against the wall for a week on this one and found out the problem, a very simple one which either wasn't in this module's documentation, or i missed it. not interested in searching through it either, but here's what was happening:

 

i'd fill out CC info, go to checkout_confirmation.php, submit, and go back to checkout_payment.php with generic error message in URL, but nothing on the page to suggest an error. endless loop, no messages, horribly frustrating.

 

answer? clear out any receipt urls & response urls in your authent acct first. then i found that this module explodes the CC response on the pipe (|) character - this was the catch. if there'd been a mention of that, then i'd quickly have gone to my authnet account under "direct response", and set it to "delimit = yes, character = pipe, encapsulate=none", which resulted in success. this really should be mentioned in the installation doc for this module, and that's the thing that i'm mostly annoyed about. additionally, this module doesn't provide an error that meshes with OSC's native error object handling.

 

some other folks with problems, this one not being their problem of course, might want to try to intercept the payment script and have it echo the transaction response and die. that was how i was able to track this problem. look for some code like:

 

$response = curl_exec($ch);

curl_close ($ch);

$this->response = explode('|', $response);

 

at that point you could try and insert some code that would display the response, like:

echo $response; die;

 

-or-

 

foreach($this->response as $key => $value){

echo $key.": ".$value."<br/>";

}

 

 

anyhow i just wanted to contribute with what helped me, as it seems that many many people have problems getting this to work properly. best of luck and thanks to all of you in the open-source community...

Edited by lronhoover
Link to comment
Share on other sites

  • 1 month later...

I just got mine working. The only problem I was having was solved by this tip. My host is HostGator.com and I am using GoDaddy's SSL certificate. I have not upgraded to the new RC1, but it's running fine on my much modified store.

Thanks!

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...