Print Page | Close Window

Leaving Gateway page to OrderComplete

Printed From: ProductCart E-Commerce Solutions
Category: ProductCart
Forum Name: Using ProductCart
Forum Description: Running your store with ProductCart
URL: https://forum.productcart.com/forum_posts.asp?TID=4989
Printed Date: 07-March-2025 at 2:39am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Leaving Gateway page to OrderComplete
Posted By: Rick_N
Subject: Leaving Gateway page to OrderComplete
Date Posted: 11-February-2012 at 5:46pm
I use InternetSecure as my payment gateway. When a purchase is complete the customer has to click a button at the Gateway to return to my site, namely orderComplete.asp.
If the customer does not click the button I am still informed the order took place but I have to manually take it from the incomplete order list and update the status of the order. Until I do this the customer is never notified and to them it looks like the order never took place.

OK, so I've noticed more and more of these lately and when i did a test transaction and I clicked the button that takes me back to my site I get an Internet Security warning that the information is about to be passed over an unencrypted connection.



The page at the gateway where the button to be clicked is located on a secure page. Even if I set the return URL to be secure  I get the same error. Is this something that I need to talk with EI about?
It appears that the info box is stating that the information being sent back to orderComplete.asp is not encrypted and customers just leave at that point by clicking Cancel instead of Continue.
Any thoughts or help would be appreciated.
Thanks.


-------------
EveningSecrets Lingerie...what 'every body' wants
http://www.eveningsecrets.com - EveningSecrets Lingerie



Replies:
Posted By: Guests
Date Posted: 13-February-2012 at 5:30pm
Hi Rick,

You're on the right track here: The issue is that when clicking through to come back to the store, the user is switching from HTTPS to HTTP.

I think this should do the trick for you:

In /pc/gwIntSecure.asp find the following block of code:

<%
pcStrReturnCGIURL=replace((scStoreURL&"/"&scPcFolder&"/pc/gwIntSecure.asp"),"//","/")
pcStrReturnCGIURL=replace(pcStrReturnCGIURL,"http:/","http://")
pcStrReturnCGIURL=replace(pcStrReturnCGIURL,"https:/","https://")
%>

Change that to:

<%
pcStrReturnCGIURL=replace((scStoreURL&"/"&scPcFolder&"/pc/gwIntSecure.asp"),"//","/")
pcStrReturnCGIURL=replace(pcStrReturnCGIURL,"http:/","https://")
pcStrReturnCGIURL=replace(pcStrReturnCGIURL,"https:/","https://")
%>



Posted By: Guests
Date Posted: 13-February-2012 at 5:31pm
Oh -- I should say that this assumes you actually have an SSL certificate for your site so that it will resolve under HTTPS. If not, then you should get one.



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net