File tree Expand file tree Collapse file tree 2 files changed +2
-5
lines changed Expand file tree Collapse file tree 2 files changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -221,11 +221,7 @@ impl TryFrom<&ZslRouterData<&types::PaymentsAuthorizeRouterData>> for ZslPayment
221
221
let family_name = item. router_data . get_optional_billing_last_name ( ) ;
222
222
let router_url = item. router_data . request . get_router_return_url ( ) ?;
223
223
let webhook_url = item. router_data . request . get_webhook_url ( ) ?;
224
- let billing_country = item. router_data . get_optional_billing_country ( ) . ok_or (
225
- errors:: ConnectorError :: MissingRequiredField {
226
- field_name : "billing.address.country" ,
227
- } ,
228
- ) ?;
224
+ let billing_country = item. router_data . get_billing_country ( ) ?;
229
225
230
226
let lang = item
231
227
. router_data
Original file line number Diff line number Diff line change @@ -588,6 +588,7 @@ impl<'a> From<&'a domain::Address> for api_types::Address {
588
588
&& address. line2 . is_none ( )
589
589
&& address. line3 . is_none ( )
590
590
&& address. state . is_none ( )
591
+ && address. country . is_none ( )
591
592
&& address. zip . is_none ( )
592
593
&& address. first_name . is_none ( )
593
594
&& address. last_name . is_none ( )
You can’t perform that action at this time.
0 commit comments