Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

SIM service throws osc login screen


pbrunnen

Recommended Posts

Hi everyone...

I am ripping out hair here with the SIM module for authorize.net

 

I have the handoff going from OSC to SIM working fine, but the relay response comes back to the login screen.

 

Any ideas where I can look??

Link to comment
Share on other sites

Hi all,

I seem to be making headway here... I have setup the following and it appears to work. :-)

I hope this helps someone down the road...

 

-----

In the Admin under Configuration

-----

Session Settings

Force Cookie Use = False

Check SSL Session ID = True

Check User Agent = False

Check IP Address = False

Prevent Spider Sessions = True

Recreate Session = False

 

Authorizenet_sim Settings

Transaction Mode = Production

 

-----

For testing, I suggest that you create a separate php file and include this:

print "<br><br><hr><br>Post Values:<br>\n";

print_r($_POST);

 

and direct authorize.net to relay to that page any you can see everything that auth.net is returning.

-----

 

Additionally, It seems that even with authorize account in test mode, I need to set the Transaction Mode setting to production or I get flakey results.

Also I modified the payment modules thusly:

 

@ tep_draw_hidden_field('x_method', ((MODULE_PAYMENT_AUTHORIZENET_SIM_METHOD == 'Credit Card') ? 'CC' : 'ECHECK')) .

-- tep_draw_hidden_field('x_receipt_link_method','POST') .

++ //tep_draw_hidden_field('x_receipt_link_method','POST') .

-- tep_draw_hidden_field('x_receipt_link_text','Complete your Order') .

++ //tep_draw_hidden_field('x_receipt_link_text','Complete your Order') .

-- tep_draw_hidden_field('x_receipt_link_url', tep_href_link(FILENAME_CHECKOUT_PROCESS)) .

++ //tep_draw_hidden_field('x_receipt_link_url', tep_href_link(FILENAME_CHECKOUT_PROCESS)) .

 

@ //PAYMENT FORM DETAILS

-- tep_draw_hidden_field('x_relay_url', tep_href_link(FILENAME_CHECKOUT_PROCESS)) .

++ tep_draw_hidden_field('x_relay_url', tep_href_link(FILENAME_CHECKOUT_PROCESS, '', 'SSL', true)) .

tep_draw_hidden_field('x_relay_response','TRUE') .

 

 

Thanks. -Cheers, Peter.

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...