merchant

Merchant backend to process payments, run by merchants
Log | Files | Refs | Submodules | README | LICENSE

commit 6365debb81e660ed24402085e8432b6407baa187
parent 1739fb4231985841da1754a8e00678e783b09d2f
Author: Christian Blättler <blatc2@bfh.ch>
Date:   Sat, 27 Apr 2024 10:11:08 +0200

tokens, not coins 🙃

Diffstat:
Msrc/backend/taler-merchant-httpd_post-orders-ID-pay.c | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/taler-merchant-httpd_post-orders-ID-pay.c b/src/backend/taler-merchant-httpd_post-orders-ID-pay.c @@ -2197,9 +2197,9 @@ phase_validate_tokens (struct PayContext *pc) unsigned int num_validated = 0; struct TALER_MerchantContractInput input = selected.inputs[i]; - if (input.type != TALER_MCIT_COIN) + if (input.type != TALER_MCIT_TOKEN) { - /* only validate coins, for now */ + /* only validate tokens, for now */ continue; }