merchant

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

commit 95d712067c01eeeebe0f86e3e802eabf0379e293
parent 345c3418b478cc04381898e98393df550ee563c6
Author: priscilla <priscilla.huang@efrei.net>
Date:   Tue,  7 Feb 2023 09:18:58 -0500

backenddb pending webhook test

Diffstat:
Msrc/include/taler_merchantdb_plugin.h | 20++------------------
1 file changed, 2 insertions(+), 18 deletions(-)

diff --git a/src/include/taler_merchantdb_plugin.h b/src/include/taler_merchantdb_plugin.h @@ -420,8 +420,7 @@ typedef void typedef void (*TALER_MERCHANTDB_PendingWebhooksCallback)(void *cls, uint64_t webhook_pending_serial, - struct GNUNET_TIME_Absolute - next_attempt, + struct GNUNET_TIME_Absolute next_attempt, uint32_t retries, const char *url, const char *http_method, @@ -434,6 +433,7 @@ typedef void */ struct TALER_MERCHANTDB_PendingWebhookDetails { + /** * Identifies when we should make the next request to the webhook. 0 for unknown, * #GNUNET_TIME_UNIT_FOREVER_ABS for never. @@ -2752,22 +2752,6 @@ struct TALER_MERCHANTDB_Plugin const char *http_method, const char *header, const char *body); - - /** - * Lookup details about a particular pending webhook. - * - * @param cls closure - * @param instance_id instance to lookup webhook for - * @param webhook_serial webhook to lookup - * @param[out] pwb set to the pending webhook details on success, can be NULL - * (in that case we only want to check if the webhook exists) - * @return database result code - */ - enum GNUNET_DB_QueryStatus - (*lookup_pending_webhook)(void *cls, - const char *instance_id, - uint64_t *webhook_serial, - struct TALER_MERCHANTDB_PendingWebhookDetails *pwb); /** * Lookup the webhook that need to be send in priority. These webhooks are not successfully * send.