Correct Xero payment confirmation
This commit is contained in:
parent
6e0cb54032
commit
013feabd20
2 changed files with 3 additions and 1 deletions
|
@ -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"
|
||||
|
|
|
@ -747,7 +747,8 @@ routes pipe config = do
|
|||
]
|
||||
False
|
||||
(xi_number xI)
|
||||
(xi_shortcode xI)
|
||||
(xr_shortCode
|
||||
invReq)
|
||||
(T.pack tk)
|
||||
_ <-
|
||||
liftAndCatchIO $
|
||||
|
|
Loading…
Reference in a new issue