Correct Xero payment confirmation

This commit is contained in:
Rene Vergara 2023-06-22 16:16:33 -05:00
parent 6e0cb54032
commit 013feabd20
Signed by: pitmutt
GPG key ID: 65122AD495A7F5B2
2 changed files with 3 additions and 1 deletions

View file

@ -463,5 +463,6 @@ payXeroInvoice pipe dbName inv address amt zec = do
setRequestHost "api.xero.com" $
setRequestMethod "PUT" defaultRequest
res <- httpJSON req :: IO (Response Object)
print res
return ()
else error "Invalid parameters"

View file

@ -747,7 +747,8 @@ routes pipe config = do
]
False
(xi_number xI)
(xi_shortcode xI)
(xr_shortCode
invReq)
(T.pack tk)
_ <-
liftAndCatchIO $