Add debugging to order payment
This commit is contained in:
parent
9a87d43459
commit
ae198541ee
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue