summaryrefslogtreecommitdiff
path: root/packages/taler-integrationtests/src/merchantApiTypes.ts
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2020-08-07 11:33:48 +0530
committerFlorian Dold <florian.dold@gmail.com>2020-08-07 11:36:30 +0530
commit32755f547547ddede4fd69951bdee0beda91c4f7 (patch)
treeb8df188843d12b8f56fa4e987dd111cd23581bf8 /packages/taler-integrationtests/src/merchantApiTypes.ts
parente79a118ab6fb19eb981e2b1fa29e42455873b97d (diff)
downloadwallet-core-32755f547547ddede4fd69951bdee0beda91c4f7.tar.gz
wallet-core-32755f547547ddede4fd69951bdee0beda91c4f7.tar.bz2
wallet-core-32755f547547ddede4fd69951bdee0beda91c4f7.zip
only shut down once
Diffstat (limited to 'packages/taler-integrationtests/src/merchantApiTypes.ts')
-rw-r--r--packages/taler-integrationtests/src/merchantApiTypes.ts3
1 files changed, 3 insertions, 0 deletions
diff --git a/packages/taler-integrationtests/src/merchantApiTypes.ts b/packages/taler-integrationtests/src/merchantApiTypes.ts
index 412b9bb8b..fe70c356c 100644
--- a/packages/taler-integrationtests/src/merchantApiTypes.ts
+++ b/packages/taler-integrationtests/src/merchantApiTypes.ts
@@ -93,6 +93,7 @@ export const codecForCheckPaymentUnpaidResponse = (): codec.Codec<
.makeCodecForObject<CheckPaymentUnpaidResponse>()
.property("order_status", codec.makeCodecForConstString("unpaid"))
.property("taler_pay_uri", codec.codecForString)
+ .property("order_status_url", codec.codecForString)
.property(
"already_paid_order_id",
codec.makeCodecOptional(codec.codecForString),
@@ -161,6 +162,8 @@ export interface CheckPaymentUnpaidResponse {
// URI that the wallet must process to complete the payment.
taler_pay_uri: string;
+ order_status_url: string;
+
// Alternative order ID which was paid for already in the same session.
// Only given if the same product was purchased before in the same session.
already_paid_order_id?: string;