RT# 83401 Send country field to B::OP on tokenize
authorMitch Jackson <mitch@freeside.biz>
Tue, 21 May 2019 19:54:13 +0000 (15:54 -0400)
committerMitch Jackson <mitch@freeside.biz>
Tue, 21 May 2019 20:22:17 +0000 (16:22 -0400)
FS/FS/cust_main/Billing_Realtime.pm

index 3284ee2..346d566 100644 (file)
@@ -323,7 +323,8 @@ sub _bop_cust_payby_options {
 
     if ( $cust_payby->locationnum ) {
       my $cust_location = $cust_payby->cust_location;
-      $options->{$_} = $cust_location->$_() for qw( address1 address2 city state zip );
+      $options->{$_} = $cust_location->$_()
+        for qw( address1 address2 city state zip country );
     }
   }
 }