File tree 1 file changed +2
-2
lines changed
src/Omnipay/SagePay/Message
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ protected function getBaseAuthorizeData()
34
34
$ data ['BillingAddress2 ' ] = $ card ->getBillingAddress2 ();
35
35
$ data ['BillingCity ' ] = $ card ->getBillingCity ();
36
36
$ data ['BillingPostCode ' ] = $ card ->getBillingPostcode ();
37
- $ data ['BillingState ' ] = $ card ->getBillingCountry () === 'US ' ? $ card ->getBillingState () : null ;
37
+ $ data ['BillingState ' ] = $ card ->getBillingCountry () === 'US ' ? $ card ->getBillingState () : '' ;
38
38
$ data ['BillingCountry ' ] = $ card ->getBillingCountry ();
39
39
$ data ['BillingPhone ' ] = $ card ->getBillingPhone ();
40
40
@@ -45,7 +45,7 @@ protected function getBaseAuthorizeData()
45
45
$ data ['DeliveryAddress2 ' ] = $ card ->getShippingAddress2 ();
46
46
$ data ['DeliveryCity ' ] = $ card ->getShippingCity ();
47
47
$ data ['DeliveryPostCode ' ] = $ card ->getShippingPostcode ();
48
- $ data ['DeliveryState ' ] = $ card ->getShippingCountry () === 'US ' ? $ card ->getShippingState () : null ;
48
+ $ data ['DeliveryState ' ] = $ card ->getShippingCountry () === 'US ' ? $ card ->getShippingState () : '' ;
49
49
$ data ['DeliveryCountry ' ] = $ card ->getShippingCountry ();
50
50
$ data ['DeliveryPhone ' ] = $ card ->getShippingPhone ();
51
51
$ data ['CustomerEMail ' ] = $ card ->getEmail ();
You can’t perform that action at this time.
0 commit comments