Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Problem in checkout confirmation step


nvedia

Recommended Posts

Posted

I was trying to sort out the problem with one of the payment module.

For my local install, when I said

echo "$form_action_url";

I get the value as

https://secure.authorize.net/gateway/transact.dll

 

When I tried to do with one of the live site

I get the value of $form_action_url as

 

which is different from what was supposed to be

https://gateway.usight.com/postauth.secure

(taken from https://gateway.usight.com/post_auth.jsp)

So I assigned $form_action_url="https://gateway.usight.com/postauth.secure" just to test if it starts working but after the checkout it asks to download the file postauth.secure containing all the info which is getting passed

 

Sample info which I am getting is

<form name="checkout_confirmation" action="https://urltomysite/index.php?main_page=checkout_process&zenid=4903780f82614bad49351ff0957380ac" 
method="post" id="checkout_confirmation" onsubmit="submitonce();">
<input type="hidden" name="GWUsername" value="user" />
<input type="hidden" name="GWCardNumber" value="4111111111111111" />
<input type="hidden" name="CVV2" /><input type="hidden" name="GWCardExpMonth" value="01" />
<input type="hidden" name="GWCardExpYear" value="2007" />
<input type="hidden" name="GWAmount" value="20.45" />
<input type="hidden" name="Email" value="[email protected]" />
<input type="hidden" name="GWBillingFirstName" value="Steve" />
<input type="hidden" name="GWBillingLastName" value="Ryden" />
<input type="hidden" name="GWNameOnCard" value="Steve Ryden" />
<input type="hidden" name="GWBillingAddress" value="234, Blue Park" />
<input type="hidden" name="GWBillingCity" value="Florida" />
<input type="hidden" name="GWBillingState" value="NA" />
<input type="hidden" name="GWBillingZip" value="34664" />
<input type="hidden" name="GWBillingCountry" value="US" />
<input type="hidden" name="Phone" value="7898278936" />
<input type="hidden" name="InvoiceNo" value="slf20061114123022" />
<input type="hidden" name="Description" value="Order Submitted from IP:" />
<input type="hidden" name="Customer_id" />
<input type="hidden" name="zenid" value="4903780f82614bad49351ff0957380ac" />
<div class="buttonRow forward">
<input type="image" src="includes/templates/farm/buttons/english/button_confirm_order.gif" alt="Confirm Order" title=" Confirm Order " name="btn_submit" id="btn_submit" /></div>
</form>

 

These values indicate that usight.php has been used and these variables are getting passed

 

Few questions:

1. Is this the correct approach to handle this situation?

2. Where does the variable $form_action_url gets its value from and why is it not automatically picking up https://gateway.usight.com/postauth.secure in this case?

 

Also,after the transaction is over and GWReturnURL=return page is shown, my cart doesnt gets empty

What might be causing this?

 

Thanks for the help

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...