Gaetan Craig-Riou
|
584b976dff
|
Per review, small code improvment
|
2025-12-10 10:28:12 +11:00 |
|
Gaetan Craig-Riou
|
d7505bcef4
|
Add Payments::WebhookPayload to manage payload data
It includes test data so any change in the payload should not affect
the test webhook enpoint functionality
|
2025-12-10 10:28:12 +11:00 |
|
Gaetan Craig-Riou
|
a38023475c
|
Trigger payment webhook when a payment status changes
It used ActiveSupport::Notifications and a listener :
StatusChangedListenerService to trigger the WebhookService
|
2025-12-10 10:28:11 +11:00 |
|
Gaetan Craig-Riou
|
4a6ba29b99
|
Add Payments::WebhookService
It enqueues jobs to post the generated payload to the various configured
webhook endpoints for payment status change
|
2025-12-10 10:28:11 +11:00 |
|