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".
This commit is contained in:
usrdno 2010-01-14 11:15:00 +00:00
parent e114b8ce9b
commit 90d434f915
1 changed files with 1 additions and 1 deletions

View File

@ -510,7 +510,7 @@ public final class MPayment extends X_C_Payment
catch (Exception e) catch (Exception e)
{ {
log.log(Level.SEVERE, "processOnline", e); log.log(Level.SEVERE, "processOnline", e);
setErrorMessage("Payment Processor Error"); setErrorMessage("Payment Processor Error: " + e.getMessage());
} }
setIsApproved(approved); setIsApproved(approved);
return approved; return approved;