RT#38363: use cust_payby when saving cards during payments [ng_selfservice]
authorJonathan Prykop <jonathan@freeside.biz>
Fri, 15 Jan 2016 19:31:24 +0000 (13:31 -0600)
committerJonathan Prykop <jonathan@freeside.biz>
Fri, 15 Jan 2016 19:31:24 +0000 (13:31 -0600)
ng_selfservice/payment_ach.php
ng_selfservice/payment_cc.php

index e58664f..ecbd9c7 100644 (file)
@@ -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'] ) {
index aa13c69..5c49dab 100644 (file)
@@ -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'] ) {