From 90d434f915a2594b331ce10a6643a629c4d3d3b5 Mon Sep 17 00:00:00 2001 From: usrdno Date: Thu, 14 Jan 2010 11:15:00 +0000 Subject: [PATCH] FR 2884597 - More flexible Credit Card validation in PaymentProcessor https://sourceforge.net/tracker/index.php?func=detail&aid=2884597&group_id=176962&atid=879335 In case of error, show error message from payment processor and not just "Payment processor error". --- base/src/org/compiere/model/MPayment.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/base/src/org/compiere/model/MPayment.java b/base/src/org/compiere/model/MPayment.java index edd2a014d4..3a22bb224c 100644 --- a/base/src/org/compiere/model/MPayment.java +++ b/base/src/org/compiere/model/MPayment.java @@ -510,7 +510,7 @@ public final class MPayment extends X_C_Payment catch (Exception e) { log.log(Level.SEVERE, "processOnline", e); - setErrorMessage("Payment Processor Error"); + setErrorMessage("Payment Processor Error: " + e.getMessage()); } setIsApproved(approved); return approved;