summaryrefslogtreecommitdiff
path: root/ng_selfservice/elements
diff options
context:
space:
mode:
authorMark Wells <mark@freeside.biz>2014-04-22 17:53:01 -0700
committerMark Wells <mark@freeside.biz>2014-04-22 17:53:35 -0700
commit13f21e01ac9faa50c07f64c20cbceae0ae50790c (patch)
tree8c4143410da3a7e47be3387db3b259071db36177 /ng_selfservice/elements
parent16fde520a71f364cc8c941290ab293b6d7cd98ef (diff)
fix certain problems with third-party payment, #23579
Diffstat (limited to 'ng_selfservice/elements')
-rw-r--r--ng_selfservice/elements/post_thirdparty.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/ng_selfservice/elements/post_thirdparty.php b/ng_selfservice/elements/post_thirdparty.php
index a543be93a..c0b1015ea 100644
--- 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
+ // but make sure it's logged
+ error_log("[start_thirdparty] $error");
$error = 'Internal error communicating with payment processor.';
+ include('error.php');
} elseif ( isset($payment_results['url']) ) {
$url = $payment_results['url'];
?>