hngprojects / hng_boilerplate_nestjs

Description
Apache License 2.0
182 stars 105 forks source link

[FEAT] : Implement Webhook Handling for Payment Events #24

Closed Juninhotech closed 2 weeks ago

Juninhotech commented 1 month ago

Description

Set up a webhook endpoint to handle payment events from the payment gateway provider. This will enable the system to receive real-time notifications of payment events (e.g., successful payments, subscription renewals) and update user accounts accordingly.

Acceptance Criteria

Purpose:

To ensure that user accounts are updated in real-time based on payment events, improving the accuracy and timeliness of account management.

Requirements:

1. Configure Webhook Endpoint:**

2. Implement Webhook Handler:

3. Update User Accounts:

4. Expected Outcome:

Checklist:

1. Configure Webhook Endpoint URL:

2. Implement Webhook Handler:

3. Update User Accounts:

4. Testing:

5. Error Handling and Monitoring:

markessien commented 1 month ago

This is not an appropriate ticket, as it only handles half of the functionality needed for a user to actually use this functionality. All tickets must complete full functionality.