diff options
author | Florian Dold <florian.dold@gmail.com> | 2020-08-13 10:48:17 +0530 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2020-08-13 10:48:27 +0530 |
commit | 61ee1efbe9b31062c5bdf890e9b86c631c5d9b2b (patch) | |
tree | 15eb3a913162fe8dcfcb63eae707ec8961cec062 /packages/taler-integrationtests/src/test-paywall-flow.ts | |
parent | 13f835862dc712f09cb6037e149e50eb17b97f59 (diff) | |
download | wallet-core-61ee1efbe9b31062c5bdf890e9b86c631c5d9b2b.tar.xz |
logging
Diffstat (limited to 'packages/taler-integrationtests/src/test-paywall-flow.ts')
-rw-r--r-- | packages/taler-integrationtests/src/test-paywall-flow.ts | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/packages/taler-integrationtests/src/test-paywall-flow.ts b/packages/taler-integrationtests/src/test-paywall-flow.ts index b329a9c6d..a0af0d3b6 100644 --- a/packages/taler-integrationtests/src/test-paywall-flow.ts +++ b/packages/taler-integrationtests/src/test-paywall-flow.ts @@ -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, |