summaryrefslogtreecommitdiff
path: root/ng_selfservice
diff options
context:
space:
mode:
authorJonathan Prykop <jonathan@freeside.biz>2016-01-15 13:31:24 -0600
committerJonathan Prykop <jonathan@freeside.biz>2016-01-15 13:31:24 -0600
commite74ab331f1d713d9baf4daa12834fe7d9028520d (patch)
tree9c54bb40f5ae431ca86210f8266da39e126ac9ea /ng_selfservice
parent768ab093771b3305a67c9d929b461ef777ecdad8 (diff)
RT#38363: use cust_payby when saving cards during payments [ng_selfservice]
Diffstat (limited to 'ng_selfservice')
-rw-r--r--ng_selfservice/payment_ach.php1
-rw-r--r--ng_selfservice/payment_cc.php1
2 files changed, 2 insertions, 0 deletions
diff --git a/ng_selfservice/payment_ach.php b/ng_selfservice/payment_ach.php
index e58664f81..ecbd9c749 100644
--- a/ng_selfservice/payment_ach.php
+++ b/ng_selfservice/payment_ach.php
@@ -41,6 +41,7 @@ if ( $receipt_html ) { ?>
$payment_info = $freeside->payment_info( array(
'session_id' => $_COOKIE['session_id'],
+ 'payment_payby' => 'CHEK',
) );
if ( isset($payment_info['error']) && $payment_info['error'] ) {
diff --git a/ng_selfservice/payment_cc.php b/ng_selfservice/payment_cc.php
index aa13c698c..5c49dab36 100644
--- a/ng_selfservice/payment_cc.php
+++ b/ng_selfservice/payment_cc.php
@@ -42,6 +42,7 @@ if ( $receipt_html ) { ?>
$payment_info = $freeside->payment_info( array(
'session_id' => $_COOKIE['session_id'],
+ 'payment_payby' => 'CARD',
) );
if ( isset($payment_info['error']) && $payment_info['error'] ) {