aboutsummaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
Diffstat (limited to 'packages')
-rw-r--r--packages/taler-integrationtests/src/test-paywall-flow.ts9
1 files changed, 9 insertions, 0 deletions
diff --git a/packages/taler-integrationtests/src/test-paywall-flow.ts b/packages/taler-integrationtests/src/test-paywall-flow.ts
index 5214acc4f..74be96c8e 100644
--- a/packages/taler-integrationtests/src/test-paywall-flow.ts
+++ b/packages/taler-integrationtests/src/test-paywall-flow.ts
@@ -201,6 +201,15 @@ runTest(async (t: GlobalTestState) => {
t.assertTrue(orderStatus.order_status === "paid");
+ // Check that with a completely new session ID, the status would NOT
+ // be paid.
+ orderStatus = await merchant.queryPrivateOrderStatus({
+ orderId: firstOrderId,
+ sessionId: "mysession-four",
+ });
+
+ t.assertTrue(orderStatus.order_status === "unpaid");
+
// Now check if the public status of the new order is correct.
console.log("requesting public status", publicOrderStatusUrl);