logging
This commit is contained in:
parent
44dcfb3790
commit
4891c4c7ce
@ -470,6 +470,7 @@ async function processPurchaseQueryRefundImpl(
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
const requestUrl = new URL(
|
const requestUrl = new URL(
|
||||||
`orders/${purchase.contractData.orderId}`,
|
`orders/${purchase.contractData.orderId}`,
|
||||||
purchase.contractData.merchantBaseUrl,
|
purchase.contractData.merchantBaseUrl,
|
||||||
@ -479,6 +480,8 @@ async function processPurchaseQueryRefundImpl(
|
|||||||
purchase.contractData.contractTermsHash,
|
purchase.contractData.contractTermsHash,
|
||||||
);
|
);
|
||||||
|
|
||||||
|
logger.trace(`making refund request to ${requestUrl.href}`);
|
||||||
|
|
||||||
const request = await ws.http.get(requestUrl.href);
|
const request = await ws.http.get(requestUrl.href);
|
||||||
|
|
||||||
logger.trace("got json", JSON.stringify(await request.json(), undefined, 2));
|
logger.trace("got json", JSON.stringify(await request.json(), undefined, 2));
|
||||||
|
Loading…
Reference in New Issue
Block a user