chore: merging back release v0.3.0 back to main (#636) (#655)

Co-authored-by: Sangamesh Kulkarni <59434228+Sangamesh26@users.noreply.github.com>
Co-authored-by: ItsMeShashank <shashank.attarde@juspay.in>
Co-authored-by: Abhishek <abhishek.marrivagu@juspay.in>
Co-authored-by: Jagan <jaganelavarasan@gmail.com>
Co-authored-by: SamraatBansal <55536657+SamraatBansal@users.noreply.github.com>
Co-authored-by: Sampras Lopes <lsampras@protonmail.com>
This commit is contained in:
Arun Raj M
2023-02-26 13:55:17 +05:30
committed by GitHub
parent 7792de55ef
commit f3224cc4df
74 changed files with 5979 additions and 355 deletions

View File

@ -63,7 +63,7 @@ pub async fn create_merchant_account(
merchant_name: req.merchant_name,
api_key,
merchant_details,
return_url: req.return_url,
return_url: req.return_url.map(|a| a.to_string()),
webhook_details,
routing_algorithm: req.routing_algorithm,
sub_merchants_enabled: req.sub_merchants_enabled,
@ -146,7 +146,7 @@ pub async fn merchant_account_update(
.transpose()
.change_context(errors::ApiErrorResponse::InternalServerError)?,
return_url: req.return_url,
return_url: req.return_url.map(|a| a.to_string()),
webhook_details: req
.webhook_details