summaryrefslogtreecommitdiff
path: root/FS/FS/cust_main.pm
diff options
context:
space:
mode:
authorJonathan Prykop <jonathan@freeside.biz>2016-10-11 20:43:13 -0500
committerJonathan Prykop <jonathan@freeside.biz>2016-10-11 20:43:13 -0500
commitc5a2d3613acdc3b9ab6f32eaf5316c2834071417 (patch)
treed5656bb8fca454d6c49d8d5d8cdbb39cd4056fc8 /FS/FS/cust_main.pm
parent04f53daab621710db56b075e1aaf56e7c52f9ba9 (diff)
71513: Card tokenization in v4+
Diffstat (limited to 'FS/FS/cust_main.pm')
-rw-r--r--FS/FS/cust_main.pm7
1 files changed, 7 insertions, 0 deletions
diff --git a/FS/FS/cust_main.pm b/FS/FS/cust_main.pm
index 2f05af6..11d7763 100644
--- a/FS/FS/cust_main.pm
+++ b/FS/FS/cust_main.pm
@@ -4443,6 +4443,10 @@ CHEK only
CHEK only
+=item saved_cust_payby
+
+scalar reference, for returning saved object
+
=back
=cut
@@ -4639,6 +4643,9 @@ PAYBYLOOP:
return $error;
}
+ ${$opt{'saved_cust_payby'}} = $new
+ if $opt{'saved_cust_payby'};
+
$dbh->commit or die $dbh->errstr if $oldAutoCommit;
'';