mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-11-02 04:04:43 +08:00
fix(core): [Bluesnap] Add secondary_base_url for script (#2124)
This commit is contained in:
@ -110,14 +110,18 @@ where
|
||||
),
|
||||
}
|
||||
}
|
||||
Ok(api::ApplicationResponse::Form(redirection_data)) => api::build_redirection_form(
|
||||
&redirection_data.redirect_form,
|
||||
redirection_data.payment_method_data,
|
||||
redirection_data.amount,
|
||||
redirection_data.currency,
|
||||
)
|
||||
.respond_to(request)
|
||||
.map_into_boxed_body(),
|
||||
Ok(api::ApplicationResponse::Form(redirection_data)) => {
|
||||
let config = state.conf();
|
||||
api::build_redirection_form(
|
||||
&redirection_data.redirect_form,
|
||||
redirection_data.payment_method_data,
|
||||
redirection_data.amount,
|
||||
redirection_data.currency,
|
||||
config,
|
||||
)
|
||||
.respond_to(request)
|
||||
.map_into_boxed_body()
|
||||
}
|
||||
Err(error) => api::log_and_return_error_response(error),
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user