Business logic
components.payment_gateway.internal.business_logic.queries ¶
webhook_log_extended_queries ¶
get_extended_webhook_logs_in_period ¶
get_extended_webhook_logs_in_period(
session,
/,
from_date,
to_date,
account_id=None,
card_holder_id=None,
status_filter=None,
)
Source code in components/payment_gateway/internal/business_logic/queries/webhook_log_extended_queries.py
webhook_log_queries ¶
get_latest_webhook_log_by_external_id ¶
Get webhook log by id, a webhook log is a record of a webhook payload sent to the payment gateway from Adyen
Args: - webhook_id: The internal id of the webhook log to fetch
- WebhookLog: The webhook log record
- id: The internal id of the webhook log
- payload: The raw content of the webhook payload from Adyen
Source code in components/payment_gateway/internal/business_logic/queries/webhook_log_queries.py
get_webhook_log ¶
Get webhook log by id, a webhook log is a record of a webhook payload sent to the payment gateway from Adyen
Args: - webhook_id: The internal id of the webhook log to fetch
- WebhookLog: The webhook log record
- id: The internal id of the webhook log
- payload: The raw content of the webhook payload from Adyen