Setup webhooks - mundipagg/magento2 GitHub Wiki
Magento 2 Endpoint
Default Magento 2 rest api url: rest/default/V1/
Some store don't use the defaul value: rest/V1/
Mundipagg's endpoint: mundipagg/webhook
Example:
Your store url: https://www.your-store.com
Full url: https://www.your-store.com/rest/default/V1/mundipagg/webhook
or
Full url: https://www.your-store.com/rest/V1/mundipagg/webhook
Events
The module requires the following events:
| order | charge |
|---|---|
order.created |
charge.created |
order.paid |
charge.paid |
order.payment_failed |
charge.payment_failed |
order.canceled |
charge.refunded |
order.updated |
charge.updated |
order.closed |
charge.pending |
charge.processing |
|
charge.underpaid |
|
charge.overpaid |
|
charge.partial_canceled |
Creating Webhook for your store
This process is done by the MundiPagg support team (request sending a email to [email protected]) or create via our dashboard.
- Access MundiPagg Dashboard;
- Choice your store;
- Go to Notifications > Configuration
- Select + ADD for create a new configuration
- Set url and check required events
- Click in save