osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 

Problem with confirmation of payment

This is a discussion on Problem with confirmation of payment within the Authorize.net forums, part of the Payment Modules category; Wow, the problem sticks there. I cannot say what I might have done, that's the worst of it. It something ...


Go Back   osCommerce and osCMax shopping cart software forums > osCMax v2.0 Forums > osCMax v2 Features Discussion > Payment Modules > Authorize.net

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Reply

 

LinkBack Thread Tools
  #11  
Old 05-30-2008, 11:03 AM
Member
 
Join Date: Mar 2008
Posts: 33
Thanks: 0
Thanked 2 Times in 2 Posts
Rep Power: 0
jack_strit is on a distinguished road
Default Re: ummmm...got the same problem as Zap...

Wow, the problem sticks there. I cannot say what I might have done, that's the worst of it. It something with permissions affecting the Auth.net mod?
Too crazy...


Answer wanted, dead or alive.
Preferably alive.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #12  
Old 05-30-2008, 01:49 PM
michael_s's Avatar
osCMax Developer

 
Join Date: Jul 2002
Location: Phoenix, AZ
Posts: 10,331
Thanks: 68
Thanked 322 Times in 305 Posts
Rep Power: 10
michael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond repute
Default Re: ummmm...got the same problem as Zap...

Post your php version and configuration (safe mode? open basedir restrictions? version? and custom mods?)

If it was previously working, and now is not, what changed in that time frame? Did your host change security settings? Upgrade Curl or php? Any other changes?
__________________
Michael Sasek
osCMax Developer


  • osCMax Templates - Hundreds of premium quality templates. New designs every month!

  • xShop for osCMax - Windows Based osCMax administration. Improved workflow, security, speed and convenience.

  • osCMax Hosting - From basic hosting to High Availability, Load Balanced arrays, the most experienced osCMax host.

  • osCMax Template Tutorial - Learn how to make your own custom templates and how to use the powerful features of the osCMax template system.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #13  
Old 05-30-2008, 01:51 PM
michael_s's Avatar
osCMax Developer

 
Join Date: Jul 2002
Location: Phoenix, AZ
Posts: 10,331
Thanks: 68
Thanked 322 Times in 305 Posts
Rep Power: 10
michael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond repute
Default Re: ummmm...got the same problem as Zap...

One other suggestion. Do a clean osCMax install without MVS installed and see if the checkout works...
__________________
Michael Sasek
osCMax Developer


  • osCMax Templates - Hundreds of premium quality templates. New designs every month!

  • xShop for osCMax - Windows Based osCMax administration. Improved workflow, security, speed and convenience.

  • osCMax Hosting - From basic hosting to High Availability, Load Balanced arrays, the most experienced osCMax host.

  • osCMax Template Tutorial - Learn how to make your own custom templates and how to use the powerful features of the osCMax template system.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #14  
Old 06-02-2008, 08:13 AM
Member
 
Join Date: Mar 2008
Posts: 33
Thanks: 0
Thanked 2 Times in 2 Posts
Rep Power: 0
jack_strit is on a distinguished road
Default Re: Problem with confirmation of payment

Ok, I did something to check what was actually being returned:

In authorizenet.php in this function:
function before_process() {

I went to line 224 and added the bold just to see what $x_response_code was throwing back.

PHP Code:
if ($x_response_code != '1') {
 
//several lines of if-then-elseif etc

else {
              
tep_redirect(tep_href_link(FILENAME_CHECKOUT_PAYMENT'error_message=' urlencode('There was an unspecified error processing your credit card.').urlencode("$x_response_code"), 'SSL'truefalse));
        } 
Ok, so then I did an order and looked at what got returned. (I have tried to make it a little more readable.)

https://www.site.net//checkout_payme...ur+credit+card.
1 1 1 This+transaction+has+been+approved.
2oyPD2 Y 508441341 1-31-inch+Codfish+Shelf%2A%2A
1-5-foot+Codfish+Bookcase%2A%2A
1-Oak+Codfish+Shelves%2A%2A
757.50 CC auth_capture 1 Andrea Festurette 123+South+St
Cunningham Alabama 63234 United+States 1234567890
jackstrit%40yahoo.com Andrea Festurette 123+South+St Cunningham Alabama%7C63234%7C
United States D5505533243C1AF564366103D785BCFB

bdhido7bhm15gglk8f64f4mr04&osCsid=bdhido7bhm15gglk 8f64f4mr04

So it looks like $x_response_code == 1 1 1 This+transaction+has+been+approved.
2oyPD2 Y 508441341 1-31
Etc.etc.

and because it is not just "1" it is throwing the default error...any further advice besides reinstalling a clean OSCMax? (Ok, I admit it, I don't really want to start over. )

Thanks,
J
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #15  
Old 06-02-2008, 11:36 AM
Member
 
Join Date: Mar 2008
Posts: 33
Thanks: 0
Thanked 2 Times in 2 Posts
Rep Power: 0
jack_strit is on a distinguished road
Default Re: Problem with confirmation of payment

Problem Solved!

In file authorizenet.php

line 207

PHP Code:
$response_vars explode('|'$response[0]); 
Notice I used the pipe '|' delimiter instead of the comma ','. That is how this string is delimited. It works now. Maybe only the testing account is delimited this way, maybe authorize.net changed the way they sent back information, maybe, maybe...

Anyone have any comments on this?? Besides "yeah, I knew that" haha...

J

PS. Zap..you should thank me!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

Thread Thread Starter Forum Replies Last Post
a problem of the paypal payment method xzyyy osCMax v2 Features Discussion 2 03-19-2007 11:24 AM
Confirmation Page takes me back to Payment Page Dubious osCMax v2 Installation issues 1 10-20-2006 02:04 PM
New Payment Module Problem to osCMax v2 cameroti osCMax v2 Customization/Mods 6 10-20-2005 08:00 AM
checkout confirmation ssl problem tekgeek osCommerce 2.2 Installation Help 3 08-08-2004 11:11 AM
Payment Module Problem ezpro osCMax v1.7 Installation 1 06-22-2004 11:31 AM


All times are GMT -8. The time now is 02:38 AM.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO
http://www.oscmax.com/forums/
Copyright 2008 osCMax