AW-1805 Add support for validity
All checks were successful
FarmMaps.Develop/FarmMapsLib/pipeline/head This commit looks good

This commit is contained in:
Peter Bastiani 2021-01-12 09:05:27 +01:00
parent 9a38630d01
commit cc421742df

View File

@ -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<IMolliePaymentResponse>(`${this.ApiEndpoint()}/api/v1/payments/create`, payload);
}