Skip to content

Commit

Permalink
refactor(paymentbody): refactored Payment Body
Browse files Browse the repository at this point in the history
  • Loading branch information
ArushKapoorJuspay committed Apr 23, 2024
1 parent 07bf0bb commit 2f83f0b
Show file tree
Hide file tree
Showing 2 changed files with 134 additions and 502 deletions.
3 changes: 2 additions & 1 deletion src/Payments/PaymentMethodsWrapper.res
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,8 @@ let make = (
->Option.getOr(Bank.defaultBank)
intent(
~bodyArr=PaymentBody.getPaymentBody(
~paymentMethod=paymentMethodName,
~paymentMethod=paymentMethodDetails.methodType,
~paymentMethodType=paymentMethodName,
~country=countryCode.isoAlpha2,
~fullName=fullName.value,
~email=email.value,
Expand Down
Loading

0 comments on commit 2f83f0b

Please sign in to comment.