close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Problem with https testing server for checkout

Thread began 7/09/2012 6:17 am by mrs | Last modified 7/11/2012 2:20 pm by Jason Byrnes | 534 views | 3 replies |

mrs

Problem with https testing server for checkout

I have got a store that is ready to go live, and it is sitting in a https SSL folder, but I am having trouble with testing the checkout facility because I am using a test domain.

When I click from the cart page to checkout, the testing domain address is replaced with the live domain address. Trouble is, the live domain is with the current online store. I will be transferring the domain to my test site once the test site is proved to be OK.

This is what happens:

-> Click Products in menu
-> Click a product
-> Add it to cart
-> Click checkout
-> Address changes from test to live domain!

Trouble is, I can't see where in the database I've entered the live domain!

Here's the testing server address which is awaiting the transfer of the live domain:

4x4/

Why is the domain name changing?

Thanks

Mat

Sign in to reply to this post

Jason ByrnesWebAssist

in the webassist/plugins/shopping_cart/checkout_form.php file, the following code at line 1 sets redirect to the HTTPS server:

$testRedirect = "https://".$_SERVER['SERVER_NAME'].$_SERVER['REQUEST_URI'];


on your server, even though you are using the testing URL, the $_SERVER['SERVER_NAME'] variable must be set to the live URL

during testing, you can change that line of code to:

$testRedirect = "https://1055116435.n1442724.test.prositehosting.co.uk".$_SERVER['REQUEST_URI'];


to force it to use the test URL

Sign in to reply to this post

mrs

I am getting too many redirects and the page errors!

I have been trying to test it as a live site, ie: I have unchecked the 'test' check box in the admin section, but as I've mentioned, I am trying to test this before the customer moves his domain name over to my servers. I want to ensure the site is working properly before he drops the connection to his current working site.

The $testRedirect... does that apply to the site when the site has been set to test mode? I need to test this live so that all payments are going through successfully. I have tested in both test mode and non-test mode where I have disabled the SSL requirement, the payment has gone through sagepay, but has shown at sagepay as a failed payment because it wasn't on a SSL. Because I don't have possession of the domain yet, I can't use the correct domain where the site is expecting the SSL to be.

It's getting a bit messy!

Sign in to reply to this post

Jason ByrnesWebAssist

I have created a support ticket so we can look into this issue further.

To view and edit your support ticket, please log into your support history:
supporthistory.php

If anyone else is experiencing this same issue, please append to this thread.

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...