Jump to content

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

Cs-Cart Failed Payment Notification Rate Topic   - - - - -

 
  • Mikew
  • Advanced Member
  • Members
  • Join Date: 01-Mar 13
  • 81 posts

Posted 03 February 2021 - 07:29 PM #1

Currently if a credit card fails to go through CS-Cart just goes back to the checkout page without letting the customer know if or why the payment failed. Is there a way to have Cs-cart display a message if a credit card fails to go through? 

Something like "Your payment failed. Please check your card information and zip code for accuracy"
 
Thanks in advance for any help!

Using CS-Cart version 4.9.3
 
Warm regards
Mike

Mike W.
www.laserengravedmemories.com

www.christianplaques.com (Not yet live)


 
  • tbirnseth
  • CS Cart Expert
  • Authorized Reseller
  • Join Date: 08-Nov 08
  • 12052 posts

Posted 03 February 2021 - 07:39 PM #2

It will generally convey the failure message returned from the provider.  This is payment method specific.


EZ Merchant Solutions: Custom (USA based) B2B Development, Consulting, Development and Special Projects (get a quote here).
Commercial addons, payment methods and modifications to meet your business and operations needs.


 
  • Mikew
  • Advanced Member
  • Members
  • Join Date: 01-Mar 13
  • 81 posts

Posted 03 February 2021 - 08:23 PM #3

It will generally convey the failure message returned from the provider.  This is payment method specific.

 

Thanks for your reply. For some reason mine does not give any massage if the payment does not go though. Is there a setting I need to check?


Mike W.
www.laserengravedmemories.com

www.christianplaques.com (Not yet live)


 
  • tbirnseth
  • CS Cart Expert
  • Authorized Reseller
  • Join Date: 08-Nov 08
  • 12052 posts

Posted 03 February 2021 - 08:25 PM #4

No setting.  As I said it's payment provider specific.  You'll have to look at what it sets $pp_response_text (from memory so accuracy not guaranteed) to in whatever script is related to your payment provider.


EZ Merchant Solutions: Custom (USA based) B2B Development, Consulting, Development and Special Projects (get a quote here).
Commercial addons, payment methods and modifications to meet your business and operations needs.


 
  • eComLabs
  • CS-Cart Expert
  • Authorized Reseller
  • Join Date: 27-Jan 14
  • 21883 posts

Posted 04 February 2021 - 04:27 AM #5

Thanks for your reply. For some reason mine does not give any massage if the payment does not go though. Is there a setting I need to check?

 

What payment method do you use?


GET A FREE QUOTE | CS-Cart Add-ons | CS-Cart Licenses | CS-Cart Development | CS-Cart Design | Server Configuration | UniTheme and YOUPI
CS-Cart                USD 345     Multi-Vendor              USD 1250    Multi-Vendor PLUS           USD 3100 (2775)
CS-Cart Ultimate  USD 775     CS-Cart + YOUPI      USD 545      Multi-Vendor Ultimate       USD 7500 (6000)

 
  • Mikew
  • Advanced Member
  • Members
  • Join Date: 01-Mar 13
  • 81 posts

Posted 05 February 2021 - 08:04 PM #6

What payment method do you use?

Hello,

 I use Paypal Pro.


Mike W.
www.laserengravedmemories.com

www.christianplaques.com (Not yet live)


 
  • eComLabs
  • CS-Cart Expert
  • Authorized Reseller
  • Join Date: 27-Jan 14
  • 21883 posts

Posted 08 February 2021 - 06:14 AM #7

app/addons/paypal/payments/paypal_pro.php

 

try to add the following code to the end of file

if ($pp_response['order_status'] == 'F') {
    $pp_response['error'] = $pp_response['reason_text'];
    $pp_response['reason_text'] = __('my_paypal_error_message');
}

then go to translations and add the my_paypal_error_message language variable with required text message

 

(!) Not tested


GET A FREE QUOTE | CS-Cart Add-ons | CS-Cart Licenses | CS-Cart Development | CS-Cart Design | Server Configuration | UniTheme and YOUPI
CS-Cart                USD 345     Multi-Vendor              USD 1250    Multi-Vendor PLUS           USD 3100 (2775)
CS-Cart Ultimate  USD 775     CS-Cart + YOUPI      USD 545      Multi-Vendor Ultimate       USD 7500 (6000)