This commit is contained in:
Florian Dold 2020-08-13 10:48:17 +05:30
parent 13f835862d
commit 61ee1efbe9
No known key found for this signature in database
GPG Key ID: D2E4F00F29D02A4B

View File

@ -167,8 +167,10 @@ runTest(async (t: GlobalTestState) => {
},
});
const secondOrderId = orderResp.order_id;
orderStatus = await merchant.queryPrivateOrderStatus({
orderId: orderResp.order_id,
orderId: secondOrderId,
sessionId: "mysession-three",
});
@ -187,6 +189,8 @@ runTest(async (t: GlobalTestState) => {
t.assertTrue(preparePayResp.status === PreparePayResultType.AlreadyConfirmed);
t.assertTrue(preparePayResp.paid);
console.log("requesting public status", publicOrderStatusUrl);
// Ask the order status of the claimed-but-unpaid order
publicOrderStatusResp = await axios.get(publicOrderStatusUrl, {
validateStatus: () => true,