mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-07 12:54:31 -04:00
Logging for checkout 3ds error handling
This commit is contained in:
parent
6f0f0a4ffa
commit
2b4c3b799d
@ -87,6 +87,9 @@ trait Utilities
|
||||
|
||||
$error_message = '';
|
||||
|
||||
nlog("checkout failure");
|
||||
nlog($_payment);
|
||||
|
||||
if (is_array($_payment) && array_key_exists('actions', $_payment) && array_key_exists('response_summary', end($_payment['actions']))) {
|
||||
$error_message = end($_payment['actions'])['response_summary'];
|
||||
} elseif (is_array($_payment) && array_key_exists('status', $_payment)) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user