Add debugging to order payment

This commit is contained in:
Rene Vergara 2023-06-19 18:06:21 -05:00
parent 9a87d43459
commit ae198541ee
Signed by: pitmutt
GPG key ID: 65122AD495A7F5B2

View file

@ -1460,6 +1460,7 @@ scanPayments config pipe = do
recordPayment ::
Pipe -> T.Text -> T.Text -> (String, Double) -> IO ()
recordPayment p dbName z x = do
print x
o <- access p master dbName $ findOrderById (fst x)
let xOrder = o >>= (cast' . Doc)
case xOrder of