projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix certain problems with third-party payment, #23579
[freeside.git]
/
ng_selfservice
/
elements
/
post_thirdparty.php
diff --git
a/ng_selfservice/elements/post_thirdparty.php
b/ng_selfservice/elements/post_thirdparty.php
index
a543be9
..
c0b1015
100644
(file)
--- a/
ng_selfservice/elements/post_thirdparty.php
+++ b/
ng_selfservice/elements/post_thirdparty.php
@@
-1,7
+1,10
@@
<?
if ( $payment_results['error'] ) {
// an error at this stage isn't meaningful to the user
<?
if ( $payment_results['error'] ) {
// an error at this stage isn't meaningful to the user
+ // but make sure it's logged
+ error_log("[start_thirdparty] $error");
$error = 'Internal error communicating with payment processor.';
$error = 'Internal error communicating with payment processor.';
+ include('error.php');
} elseif ( isset($payment_results['url']) ) {
$url = $payment_results['url'];
?>
} elseif ( isset($payment_results['url']) ) {
$url = $payment_results['url'];
?>