Payment Success Webhook
robov opened this issue · comments
robov commented
How can I add custom code when the payment / subscription payment has been successfully completed ?
I need to update some RBAC settings on successful completion
Ihor Chepurnyi commented
Hi, you can create your own controller for this purposes. And then override this code
'controllerMap' => [
// Set path to your own controller with custom webhook
'webhook' => 'yii2mod\cashier\controllers\WebhookController',
],