logging
This commit is contained in:
parent
13f835862d
commit
61ee1efbe9
@ -167,8 +167,10 @@ runTest(async (t: GlobalTestState) => {
|
|||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|
||||||
|
const secondOrderId = orderResp.order_id;
|
||||||
|
|
||||||
orderStatus = await merchant.queryPrivateOrderStatus({
|
orderStatus = await merchant.queryPrivateOrderStatus({
|
||||||
orderId: orderResp.order_id,
|
orderId: secondOrderId,
|
||||||
sessionId: "mysession-three",
|
sessionId: "mysession-three",
|
||||||
});
|
});
|
||||||
|
|
||||||
@ -187,6 +189,8 @@ runTest(async (t: GlobalTestState) => {
|
|||||||
t.assertTrue(preparePayResp.status === PreparePayResultType.AlreadyConfirmed);
|
t.assertTrue(preparePayResp.status === PreparePayResultType.AlreadyConfirmed);
|
||||||
t.assertTrue(preparePayResp.paid);
|
t.assertTrue(preparePayResp.paid);
|
||||||
|
|
||||||
|
console.log("requesting public status", publicOrderStatusUrl);
|
||||||
|
|
||||||
// Ask the order status of the claimed-but-unpaid order
|
// Ask the order status of the claimed-but-unpaid order
|
||||||
publicOrderStatusResp = await axios.get(publicOrderStatusUrl, {
|
publicOrderStatusResp = await axios.get(publicOrderStatusUrl, {
|
||||||
validateStatus: () => true,
|
validateStatus: () => true,
|
||||||
|
Loading…
Reference in New Issue
Block a user