merchant

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

commit 63f28f5c678c01cc40d296c13354d5f1079af672
parent 59e91babec86664a606a9d81f436118294ee0ca9
Author: Christian Grothoff <grothoff@gnunet.org>
Date:   Sun, 24 Dec 2023 00:22:53 +0800

-note on forgettable

Diffstat:
Msrc/backend/taler-merchant-httpd_private-post-orders.c | 7+++++++
1 file changed, 7 insertions(+), 0 deletions(-)

diff --git a/src/backend/taler-merchant-httpd_private-post-orders.c b/src/backend/taler-merchant-httpd_private-post-orders.c @@ -1810,6 +1810,13 @@ parse_order (struct OrderContext *oc) oc->parse_order.merchant_pub = oc->hc->instance->merchant_pub; /* TODO: Not sure yet how to properly handle this in the refactored code */ + /* CG: Maybe the best answer is to do nothing here, and instead change + the TALER_JSON_contract_seed_forgettable() to take two arguments: + the (original) oc->order *and* the final (assembled) order. Then + do the (recursive) traversal over both objects and modify the + assembled order based on the fields in the (read-only) original + oc->order. Anyway, let me sleep over it, maybe I'll hack it up + tomorrow ;-). */ // if (GNUNET_OK != // TALER_JSON_contract_seed_forgettable (oc->order)) // {