diff options
author | priscilla <priscilla.huang@efrei.net> | 2023-03-14 10:11:23 -0400 |
---|---|---|
committer | priscilla <priscilla.huang@efrei.net> | 2023-03-22 10:23:06 -0400 |
commit | 03f432afbf824777b2d5aa5897fc6737a08119eb (patch) | |
tree | c501880a8e4d5f853c044fd2e1db1634bd51918b /src/include/taler_merchant_service.h | |
parent | 21bce66874c961271aed9016015a8d3fdcc09279 (diff) |
update of the test TOTP but not finish
Diffstat (limited to 'src/include/taler_merchant_service.h')
-rw-r--r-- | src/include/taler_merchant_service.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/include/taler_merchant_service.h b/src/include/taler_merchant_service.h index 20da7abd..b2f2f334 100644 --- a/src/include/taler_merchant_service.h +++ b/src/include/taler_merchant_service.h @@ -2179,6 +2179,11 @@ struct TALER_MERCHANT_PayResponse */ struct TALER_MerchantSignatureP merchant_sig; + /** + * Optional payment confirmation code returned by the service. + */ + const char *pos_confirmation; + } success; // TODO: might want to return further details on errors, @@ -4208,6 +4213,11 @@ struct TALER_MERCHANT_TemplateGetResponse const char *pos_key; /** + * Option that add amount of the order + */ + const enum TALER_MerchantConfirmationAlgorithm pos_alg; + + /** * Template for the contract. */ const json_t *template_contract; |