Jump to content

  • You cannot start a new topic
  • You cannot reply to this topic

Westpac Payway Cs-Cart Default Issue Rate Topic   - - - - -

 
  • ibaker
  • Senior Member
  • Members
  • Join Date: 23-Oct 06
  • 269 posts

Posted 09 November 2017 - 04:59 AM #1

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. <my domain> .com/shop/app/payments/westpac.php

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



 
  • eComLabs
  • CS-Cart Expert
  • Authorized Reseller
  • Join Date: 27-Jan 14
  • 15,479 posts

Posted 09 November 2017 - 07:11 AM #2

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


GET A FREE QUOTE | CS-Cart Add-ons | CS-Cart Licenses | CS-Cart Development | CS-Cart Design | Server Configuration

Certified CS-Cart RU Developer | Сертифицированный разработчик на CS-Cart Русская Версия

 
  • ibaker
  • Senior Member
  • Members
  • Join Date: 23-Oct 06
  • 269 posts

Posted 09 November 2017 - 07:52 AM #3

Thanks, yes it is and it contains:

 

Order deny,allow
Allow from all
Options -Indexes

 

and permissions set at 644



 
  • eComLabs
  • CS-Cart Expert
  • Authorized Reseller
  • Join Date: 27-Jan 14
  • 15,479 posts

Posted 09 November 2017 - 01:42 PM #4

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


GET A FREE QUOTE | CS-Cart Add-ons | CS-Cart Licenses | CS-Cart Development | CS-Cart Design | Server Configuration

Certified CS-Cart RU Developer | Сертифицированный разработчик на CS-Cart Русская Версия

 
  • ibaker
  • Senior Member
  • Members
  • Join Date: 23-Oct 06
  • 269 posts

Posted 12 November 2017 - 07:26 AM #5

If I just go to the url

https://www. <my domain> .com/shop/app/payments/westpac.php

I just get a white page



 
  • oleg.gorshkov
  • CS-Cart Expert
  • Authorized Reseller
  • Join Date: 06-Dec 13
  • 2,249 posts

Posted 13 November 2017 - 05:46 AM #6

If I just go to the url

https://www. <my domain> .com/shop/app/payments/westpac.php

I just get a white page

 

Hello!

 

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


Simtech Development | sales@simtechdev.com | www.simtechdev.com
CERTIFIED CS-CART PARTNER | LICENSES | DEVELOPMENT | ADD-ONS | DESIGN | UPGRADE
Testing by QA and personal manager for free.

 
  • ibaker
  • Senior Member
  • Members
  • Join Date: 23-Oct 06
  • 269 posts

Posted 13 November 2017 - 06:43 AM #7

thanks but how do I do that?



 
  • eComLabs
  • CS-Cart Expert
  • Authorized Reseller
  • Join Date: 27-Jan 14
  • 15,479 posts

Posted 13 November 2017 - 07:08 AM #8

It is required to debug issue on your server


GET A FREE QUOTE | CS-Cart Add-ons | CS-Cart Licenses | CS-Cart Development | CS-Cart Design | Server Configuration

Certified CS-Cart RU Developer | Сертифицированный разработчик на CS-Cart Русская Версия

 
  • oleg.gorshkov
  • CS-Cart Expert
  • Authorized Reseller
  • Join Date: 06-Dec 13
  • 2,249 posts

Posted 14 November 2017 - 09:18 AM #9

thanks but how do I do that?

 

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

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

Simtech Development | sales@simtechdev.com | www.simtechdev.com
CERTIFIED CS-CART PARTNER | LICENSES | DEVELOPMENT | ADD-ONS | DESIGN | UPGRADE
Testing by QA and personal manager for free.

 
  • ibaker
  • Senior Member
  • Members
  • Join Date: 23-Oct 06
  • 269 posts

Posted Yesterday, 05:34 AM #10

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

https://www.recreati...nts/westpac.php

 

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.recreati...nts/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.