merchant

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

commit 47aec436a6c8a2e7ca13313235b6694ec18702ac
parent ef859872fc76b3cfdef0af58e949db3be5ccb66a
Author: bohdan-potuzhnyi <bohdan.potuzhnyi@gmail.com>
Date:   Thu, 19 Dec 2024 10:51:10 +0100

adding some templates for the order handling

Diffstat:
Msrc/backend/taler-merchant-httpd_private-post-orders.c | 18+++++++++++++++++-
1 file changed, 17 insertions(+), 1 deletion(-)

diff --git a/src/backend/taler-merchant-httpd_private-post-orders.c b/src/backend/taler-merchant-httpd_private-post-orders.c @@ -3002,6 +3002,15 @@ parse_order (struct OrderContext *oc) oc->phase++; } +#ifdef HAVE_DONAU_DONAU_SERVICE_H + +static void +parse_donau_instances (struct OrderContext *oc) +{ + return; +} + +#endif /** * Parse contract choices. Upon success, continue @@ -3667,6 +3676,12 @@ TMH_private_post_orders ( case ORDER_PHASE_PARSE_CHOICES: parse_choices (oc); break; + #ifdef HAVE_DONAU_DONAU_SERVICE_H + //TODO: PLACE HOLDER FOR THE PARSE DONAU INSTANCES, maybe it needs to be lower in the order + case ORDER_PHASE_PARSE_DONAU: + parse_donau_instances (oc); + break; + #endif case ORDER_PHASE_MERGE_INVENTORY: merge_inventory (oc); break; @@ -3705,4 +3720,4 @@ TMH_private_post_orders ( } -/* end of taler-merchant-httpd_private-post-orders.c */ +/* end of taler-merchant-httpd_private-post-orders.c */ +\ No newline at end of file