Skip to content

Commit

Permalink
fix: customer acceptance body added
Browse files Browse the repository at this point in the history
  • Loading branch information
Pritish Budhiraja committed Mar 11, 2024
1 parent f85b6a6 commit 86f4a70
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Utilities/PaymentBody.res
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ let mandateBody = paymentType => {
"mandate_data",
[("customer_acceptance", customerAcceptanceBody)]->Js.Dict.fromArray->Js.Json.object_,
),
("customer_acceptance", customerAcceptanceBody),
("setup_future_usage", "off_session"->Js.Json.string),
("payment_type", {paymentType === "" ? Js.Json.null : paymentType->Js.Json.string}),
]
Expand Down

0 comments on commit 86f4a70

Please sign in to comment.