merchant

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

commit 879be3f7d27eb5279bbe51194a66aab4fcc8d8ce
parent 316aca645c411b7a8b886711b002360f1c9a5fed
Author: Christian Grothoff <christian@grothoff.org>
Date:   Fri, 23 Jul 2021 18:44:08 +0200

-fix struct name

Diffstat:
Msrc/backend/taler-merchant-httpd_post-orders-ID-paid.c | 1+
Msrc/backend/taler-merchant-httpd_post-orders-ID-pay.c | 2+-
Msrc/lib/merchant_api_post_order_pay.c | 2+-
3 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/backend/taler-merchant-httpd_post-orders-ID-paid.c b/src/backend/taler-merchant-httpd_post-orders-ID-paid.c @@ -28,6 +28,7 @@ #include <taler/taler_exchange_service.h> #include "taler-merchant-httpd_post-orders-ID-paid.h" + MHD_RESULT TMH_post_orders_ID_paid (const struct TMH_RequestHandler *rh, struct MHD_Connection *connection, diff --git a/src/backend/taler-merchant-httpd_post-orders-ID-pay.c b/src/backend/taler-merchant-httpd_post-orders-ID-pay.c @@ -1540,7 +1540,7 @@ execute_pay_transaction (struct PayContext *pc) /* Sign on our end (as the payment did go through, even if it may have been refunded already) */ { - struct PaymentResponsePS mr = { + struct TALER_PaymentResponsePS mr = { .purpose.purpose = htonl (TALER_SIGNATURE_MERCHANT_PAYMENT_OK), .purpose.size = htonl (sizeof (mr)), .h_contract_terms = pc->h_contract_terms diff --git a/src/lib/merchant_api_post_order_pay.c b/src/lib/merchant_api_post_order_pay.c @@ -264,7 +264,7 @@ handle_pay_finished (void *cls, if (oph->am_wallet) { /* Here we can (and should) verify the merchant's signature */ - struct PaymentResponsePS pr = { + struct TALER_PaymentResponsePS pr = { .purpose.purpose = htonl (TALER_SIGNATURE_MERCHANT_PAYMENT_OK), .purpose.size = htonl (sizeof (pr)), .h_contract_terms = oph->h_contract_terms