Skip to content

Commit

Permalink
fix: afterpay_body fix (#418)
Browse files Browse the repository at this point in the history
  • Loading branch information
rising-dragon401 committed Jun 4, 2024
1 parent 58e9dfd commit 60d45fd
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions src/Utilities/PaymentBody.res
Original file line number Diff line number Diff line change
Expand Up @@ -563,6 +563,17 @@ let afterpayRedirectionBody = () => [
("payment_method", "pay_later"->JSON.Encode.string),
("payment_method_type", "afterpay_clearpay"->JSON.Encode.string),
("payment_experience", "redirect_to_url"->JSON.Encode.string),
(
"payment_method_data",
[
(
"pay_later",
[
("afterpay_clearpay_redirect", []->Utils.getJsonFromArrayOfJson),
]->Utils.getJsonFromArrayOfJson,
),
]->Utils.getJsonFromArrayOfJson,
),
]

let giroPayBody = (~name, ~iban="", ()) => [
Expand Down

0 comments on commit 60d45fd

Please sign in to comment.