# controller\_paypal\_webhook

Source: https://zotonic.com/docs/3174/controller_paypal_webhook

URI: https://zotonic.com/id/3174

Language: en



Handle PayPal checkout callbacks.

Accept POST events at `/paypal/webhook`. Decode JSON and verify the signature through PayPal using the configured webhook ID before processing supported events. Verified updates enter the shared payment receive logic. Unknown-payment imports depend on mod\_payment configuration. Missing payments return 404 and processing failures return 500.

Generate the endpoint through its dispatch rule, for example:

```django
{% url paypal_payment_webhook %}
```

This provider-facing endpoint uses the verification described above rather than an administrator login.

License: 

Attribution: 

Related resources: https://zotonic.com/api/agent/related/3174?language=en


## API access

- [API help](<https://zotonic.com/api-help>)
- [OpenAPI specification](<https://zotonic.com/openapi.json>)
- [This resource as JSON](<https://zotonic.com/api/agent/resource/3174?language=en>)
