FAQ: Can I require the customer to retry an order on a failed payment?

Version: AbleCommerce 7.0.0+ Asp.Net

Last Update: 9/21/09

 

 

Can I require the customer to retry an order on a failed payment?  The answer is Yes.

When you have setup a payment gateway and are authorizing credit cards with AbleCommerce, you may notice that all orders are created regardless of the outcome of the payment transaction.  This is the default behavior, but it can be easily changed by following the steps below.

 

Validate credit cards prior to order completion

By making this change, you are changing the behavior of the checkout process with credit card payments.  If a credit card fails to authorize during an order, the customer is directed to another page where they can try to re-enter the credit card information or try a new payment method.

If you do not want to make this change, the default behavior is to accept all orders regardless of the outcome of the credit card transaction.

  1. Login to the AbleCommerce merchant menu as the admin.

  2. Go to Website > Content and Layout

  3. Find and edit the ”My Order Page” content scriptlet.

  4. The content field should have this tag:

    [[ConLib:MyOrderPage]]

  5. You need to include the "HandleFailedPayments" attribute to turn on failed payment handling, so change it to look like this instead:

    [[ConLib:MyOrderPage HandleFailedPayments="true"]]

  6. After updating the scriptlet content, save the changes.

  7. Find and edit the "Receipt Page" content scriptlet.

  8. The content field should have this tag:

    [[ConLib:ReceiptPage]]

  9. Again, you need to include the "HandleFailedPayments" attribute to turn on failed payment handling, so change it to look like this instead:

    [[ConLib:ReceiptPage HandleFailedPayments="true"]]

  10. After updating the scriptlet content, save the changes.

 

You should always test your changes.

 

 

Copyright © 1994 - 2023 AbleCommerce.com, All rights Reserved | Privacy Policy

A division of Able Solutions Corporation, headquarters located in Vancouver, WA