Westpac Payway Cs-Cart Default Issue

I am using the default CS-Cart Westpac Credit Card Payment Module which hands off the payment info to Westpac Payway.

Every time someone makes a credit card payment I receive an email error notification.

I have followed the instructions as listed in the CS-Cart Westpac Payment screen and entered the details as listed in my PayWay backend.

I contacted the PayWay and they have advised that the Notification URL in the server to server section is incorrect as that is causing the error however it is exactly the url that the CS-Cart module says to put in there.

This it seems is a CS-Cart fault now but knowing what CS-Cart charges to fix their own errors I am hoping someone else may be able to assist.

CS-Cart screen says to place:

https://www. .com/shop/app/payments/westpac.php

in the PayWay notification url which is incorrect and causing the error

At first please make sure that the .htaccess exists in the /app/payments directory

Thanks, yes it is and it contains:

Order deny,allow
Allow from all
Options -Indexes

and permissions set at 644

If you run the URL in the script do you see any errors or white page?

If I just go to the url

https://www. .com/shop/app/payments/westpac.php

I just get a white page

If I just go to the url

https://www. .com/shop/app/payments/westpac.php

I just get a white page


Try to enable development mode and open the page again or check the error logs.

thanks but how do I do that?

It is required to debug issue on your server

thanks but how do I do that?

You can add this code in config.local.php file:

define('DEVELOPMENT', true);
ini_set('display_errors', 'on');
ini_set('display_startup_errors', true);

Ok, I have added that to the bottom of the config.local file and then went to the browser and entered:


and all I got was a white page i.e. nothing happened.

This is the error email I receive every time someone tries to pay by credit card. Payway says everything at their end is set up correctly and it must be the application that is causing the issue:

Dear Sir / Madam

We were unable to successfully post the PayWay Net transaction response to your provided reply link URL. There may be a network issue or your site may be offline.

You may need to manually update your records.

If the "Exception" section below contains the acronym "SSL", please ensure the following:

1. You have purchased and installed a legitimate SSL certificate from a trusted certificate authority. This allows the sensitive transaction details to be sent back to you encrypted.

2. That the Root and Intermediate Certificate Authority (CA) SSL certificate are also installed. This is often referred to as a 'CA Bundle'. This will allow us to verify that your SSL certificate is authentic and has been issued from a trusted source by following the SSL certificate chain which your web server passes to the client. Your SSL certificate provider will have instructions on how to install the CA bundle for your SSL certificate on your specific web server software.

URL : https://www.recreationalflying.com/shop/app/payments/westpac.php

Receipt Number : xxxxxxxxx

Exception : javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

Should you have any enquiries, please contact us via email at xxxxx or phone on xxxxx (available Monday to Friday, 8:30 am. to 5:30 AEST), and a representative will be happy to assist you.