How do I find what error messages does AbleCommerce give when the credit card given by the user is invalid.
For Eg:- Wrong zip code, Incorrect CVV2 match, Wrong expiration date, Credit card Expired etc, Gateway is not responding.
Is there any documentation on list of errors that AbleCommerce will give to the user when validating his card. I am not able to test these errors with test cards and Payment Gateway in Testmode. We are using PayFlow Pro payment gateway.
Appreciate any help.
Thanks,
Carol
Credit Card Error Messages
-
- Commander (CMDR)
- Posts: 121
- Joined: Wed Dec 17, 2008 9:13 am
Re: Credit Card Error Messages
Check Website/Checkout/PaymentForms/CreditCardPaymentForm.ascx file for all validation messages. You can found these messages in ErrorMessage part of Validator controls.
Re: Credit Card Error Messages
Those messages come from the gateway/processor - in your case, PayFlow Pro. You'd have to get the list from them.
You can review those errors when they happen by looking in the ac_Transactions table.
Here's a nVelocity snippet that does that. I send a "Transaction Failed" email to site users.
You can review those errors when they happen by looking in the ac_Transactions table.
Here's a nVelocity snippet that does that. I send a "Transaction Failed" email to site users.
Code: Select all
<table class="Email">
<tr><th colspan="4">Payments for Order $order.OrderId</th></tr>
<tr>
<th>Payment</th><th>Ref#</th><th>Amount</th><th>Status</th>
</tr>
#foreach($payment in $order.Payments)
<tr>
<td valign="top">$payment.PaymentMethodName</td>
<td valign="top">$payment.ReferenceNumber</td>
<td valign="top">$payment.Amount.ToString("C")</td>
<td valign="top">#foreach($transaction in $payment.Transactions)
$transaction.TransactionType $transaction.TransactionStatus ($transaction.ProviderTransactionId) - $transaction.ResponseMessage
#end
</td>
</tr>
#end
</table>
Nick Cole
http://www.ethofy.com
http://www.ethofy.com
- Logan Rhodehamel
- Developer
- Posts: 4116
- Joined: Wed Dec 10, 2003 5:26 pm
Re: Credit Card Error Messages
I am not sure if it applies to live accounts in test mode, but with test accounts if you make purchases of over $1000 PayFlow returns errors based on the amount. For example if you attempt to pay for an order that totals 1012, PayFlow will return a decline result. You might try that and see what it does in your test mode. If that works, then I can give more details about how you can test various errors from the customer perspective.
Cheers,
Logan
.com
If I do not respond to an unsolicited private message, it's not because I'm ignoring you. It's because the answer to your question is valuable to others. Try the new topic button.
Logan

If I do not respond to an unsolicited private message, it's not because I'm ignoring you. It's because the answer to your question is valuable to others. Try the new topic button.
- jmestep
- AbleCommerce Angel
- Posts: 8164
- Joined: Sun Feb 29, 2004 8:04 pm
- Location: Dayton, OH
- Contact:
Re: Credit Card Error Messages
There are also entries in the App_Code/StoreDataHelper.cs that take the response from the gateway and translate it:
//US DOMESTIC CODES
case "A": return "Partial Match";
case "E": return "Invalid";
case "N": return "No Match";
case "R": return "Unavailable";
case "S": return "Not Supported";
case "U": return "Unavailable";
case "W": return "Partial Match";
case "X": return "Match";
case "Y": return "Match";
case "Z": return "Partial Match";
//INTERNATIONAL CODES
case "B": return "Partial Match";
case "C": return "No Match";
case "D": return "Match";
case "G": return "Not Supported";
case "I": return "No Match";
case "M": return "Match";
case "P": return "Partial Match";
//US DOMESTIC CODES
case "A": return "Partial Match";
case "E": return "Invalid";
case "N": return "No Match";
case "R": return "Unavailable";
case "S": return "Not Supported";
case "U": return "Unavailable";
case "W": return "Partial Match";
case "X": return "Match";
case "Y": return "Match";
case "Z": return "Partial Match";
//INTERNATIONAL CODES
case "B": return "Partial Match";
case "C": return "No Match";
case "D": return "Match";
case "G": return "Not Supported";
case "I": return "No Match";
case "M": return "Match";
case "P": return "Partial Match";
Judy Estep
Web Developer
jestep@web2market.com
http://www.web2market.com
708-653-3100 x209
New search report plugin for business intelligence:
http://www.web2market.com/Search-Report ... -P154.aspx
Web Developer
jestep@web2market.com
http://www.web2market.com
708-653-3100 x209
New search report plugin for business intelligence:
http://www.web2market.com/Search-Report ... -P154.aspx
-
- Commander (CMDR)
- Posts: 121
- Joined: Wed Dec 17, 2008 9:13 am
Re: Credit Card Error Messages
Hi Logan
You are right. Payflow Pro declines if the amount is more than 1000$. That's what we have right now in our application.
But in Testmode in AbleCommerce order amont > 1000$ is making a successful transaction.
jmestep
I saw code in appdata/storedatahelper. I saw references to CVV methods only in Admin/orders where we have order summary which displays CVV2 match/no match etc.
I want to find what are the messages that will be shown to the user if there is a cvv2 mis match, or if Payment Gateway is not responding, or expired card etc.
I see "warning messages" property which might have error messages
List<string> warningMessages = checkoutResponse.WarningMessages;
if (warningMessages.Count == 0)
warningMessages.Add("The order could not be submitted at this time. Please try again later or contact us for assistance.");
if (CheckedOut != null) CheckedOut(this, new CheckedOutEventArgs(checkoutResponse));
But I don't see where these warning Messages is being used to show messages to the user. (I am not looking for messages in ASP.net validation controls).
Appreciate all your responses.
Thank you,
Carol
You are right. Payflow Pro declines if the amount is more than 1000$. That's what we have right now in our application.
But in Testmode in AbleCommerce order amont > 1000$ is making a successful transaction.
jmestep
I saw code in appdata/storedatahelper. I saw references to CVV methods only in Admin/orders where we have order summary which displays CVV2 match/no match etc.
I want to find what are the messages that will be shown to the user if there is a cvv2 mis match, or if Payment Gateway is not responding, or expired card etc.
I see "warning messages" property which might have error messages
List<string> warningMessages = checkoutResponse.WarningMessages;
if (warningMessages.Count == 0)
warningMessages.Add("The order could not be submitted at this time. Please try again later or contact us for assistance.");
if (CheckedOut != null) CheckedOut(this, new CheckedOutEventArgs(checkoutResponse));
But I don't see where these warning Messages is being used to show messages to the user. (I am not looking for messages in ASP.net validation controls).
Appreciate all your responses.
Thank you,
Carol