From cc421742dfe222b04235e52368c6567bba04a87c Mon Sep 17 00:00:00 2001 From: Peter Bastiani Date: Tue, 12 Jan 2021 09:05:27 +0100 Subject: [PATCH] AW-1805 Add support for validity --- projects/common/src/fm/services/mollie.service.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/common/src/fm/services/mollie.service.ts b/projects/common/src/fm/services/mollie.service.ts index ed3e1f8..8d44245 100644 --- a/projects/common/src/fm/services/mollie.service.ts +++ b/projects/common/src/fm/services/mollie.service.ts @@ -27,7 +27,7 @@ export class MollieService { "redirectUrl": redirectUrl, "itemCode": templatePackage.code, "locale": "nl_NL", - "validity": "12m" + "validity": templatePackage.data?.validity }; return this.httpClient.post(`${this.ApiEndpoint()}/api/v1/payments/create`, payload); }