close ad
Install the LAtest Updates to Work with CC 2017 and CC 2018
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Checkout Page Won't Display

Thread began 6/04/2013 6:52 am by peterm.bruce341471 | Last modified 6/06/2013 12:57 pm by Jason Byrnes | 571 views | 9 replies |

peterm.bruce341471

Checkout Page Won't Display

Hi,

Can you open a ticket as I don't want to display site details in the forum. The website I'm building with powerstore is working well but when you click the checkout button in the cart it re-directs to checkout.php but the page won't display, I get a server error yet I've checked and the file exists. I can't find the checkout button anywhere in the page files it seems hidden away.

Can you help, we really need to get the store launched!!

Thanks Jason,

Peter

Sign in to reply to this post

Jason ByrnesWebAssist

I'll need to troubleshoot directly, see the private message section.

Sign in to reply to this post

peterm.bruce341471

I've attached as PM details requested.

Thanks Jason.

Sign in to reply to this post

Jason ByrnesWebAssist

Originally Said By: peterm.bruce341471
  I've attached as PM details requested.

Thanks Jason.  
Sign in to reply to this post

peterm.bruce341471

Jason, details attached.

Sign in to reply to this post

Jason ByrnesWebAssist

The error occurs on trying to change from the http site to the secure https site.

some servers have a seperate upload folder for the http site versus the secured https site.

where you are using PayPal payments pro, it strongly recommended that you use the https address for the checkout, you will need to uplaod the power store files to the correct directory on the server for the https address, contact your host if you are unsure where that is.

for the time being, i have disabled the redirect to the https server by editing the webassist/plugins/checkout_form.php page and commenting the following code:

php:
/*if ((empty($_SERVER['HTTPS']) || $_SERVER['HTTPS']=="off") && !isset($_POST["Checkout_x"]) && !isset($_POST["Checkout"]) && (time() - $_SESSION['WA_HTTPS_Redirect']) > 8) {

  if (!isset($_SERVER['REQUEST_URI'])) $_SERVER['REQUEST_URI'] = $_SERVER['PHP_SELF'];
  $testRedirect = "https://".$_SERVER['SERVER_NAME'].$_SERVER['REQUEST_URI'];
  $c = curl_init();
  curl_setopt($c, CURLOPT_URL, $testRedirect);
  curl_setopt($c, CURLOPT_TIMEOUT, 90);
  curl_setopt($c, CURLOPT_SSL_VERIFYPEER, 0);
  curl_setopt($c, CURLOPT_SSL_VERIFYHOST, 0);
  $result = curl_exec($c);
  if ($result)  {
      $_SESSION['WA_HTTPS_Redirect'] = time();
      header("location: ".$testRedirect);
      die();
  }
}*/



once you have the files uploaded to the https location, you should uncomment that code.

Sign in to reply to this post

peterm.bruce341471

Paypal Checkout Or Paypal Payments Pro Problem

Originally Said By: Jason Byrnes
  The error occurs on trying to change from the http site to the secure https site.

some servers have a seperate upload folder for the http site versus the secured https site.

where you are using PayPal payments pro, it strongly recommended that you use the https address for the checkout, you will need to uplaod the power store files to the correct directory on the server for the https address, contact your host if you are unsure where that is.

for the time being, i have disabled the redirect to the https server by editing the webassist/plugins/checkout_form.php page and commenting the following code:
php:
/*if ((empty($_SERVER['HTTPS']) || $_SERVER['HTTPS']=="off") && !isset($_POST["Checkout_x"]) && !isset($_POST["Checkout"]) && (time() - $_SESSION['WA_HTTPS_Redirect']) > 8) {

  if (!isset($_SERVER['REQUEST_URI'])) $_SERVER['REQUEST_URI'] = $_SERVER['PHP_SELF'];
  $testRedirect = "https://".$_SERVER['SERVER_NAME'].$_SERVER['REQUEST_URI'];
  $c = curl_init();
  curl_setopt($c, CURLOPT_URL, $testRedirect);
  curl_setopt($c, CURLOPT_TIMEOUT, 90);
  curl_setopt($c, CURLOPT_SSL_VERIFYPEER, 0);
  curl_setopt($c, CURLOPT_SSL_VERIFYHOST, 0);
  $result = curl_exec($c);
  if ($result)  {
      $_SESSION['WA_HTTPS_Redirect'] = time();
      header("location: ".$testRedirect);
      die();
  }
}*/


once you have the files uploaded to the https location, you should uncomment that code.  



Jason,

I've installed an ssl certificate which is working fine but I'm now having problems processing transactions. I've re-instated the details you commented out and now the quick paypal checkout button does nothing when you click it and the direct payments pro method gives the error I've put in the PM section of this message.

Really struggling here, I'd be grateful for your assistance again.

Thanks,

Peter

Sign in to reply to this post

Jason ByrnesWebAssist

the problem with the checkout form going to a failure was due to the way the shipping rule was configured, i updated the shipping rule to correct the problem.

i also updated the express checkout button to work, now the express checkout goes to checkout failure showing the following message from paypal:
Security errorSecurity header is not

this means the API credentials are being rejected, this can happen if the API Credentials are for a live account and you enable sandbox mode or vice versa, it can also happen if the you do not accept the billing agreement with paypal.

Sign in to reply to this post

peterm.bruce341471

Solved

Jason,

Brilliant support as always - thank you so much. All the issues are dealt with, I really am very grateful.


Peter

Sign in to reply to this post

Jason ByrnesWebAssist

you're welcome.

Sign in to reply to this post
loading

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