Fix WooCommerce callback

This commit is contained in:
Rene Vergara 2023-06-23 14:16:56 -05:00
parent 51471cd58f
commit e0c07091e9
Signed by: pitmutt
GPG key ID: 65122AD495A7F5B2

View file

@ -89,7 +89,7 @@ payWooOrder ::
-> BS.ByteString -- Total ZEC for order
-> IO ()
payWooOrder u i o t p z = do
wooReq <- parseRequest $ u ++ "/wc-api/zconfirm"
wooReq <- parseRequest $ u ++ "/?wc-api=zpmtcallback"
let req =
setRequestQueryString
[ ("token", Just t)