> For the complete documentation index, see [llms.txt](https://docs.paymentpageplugin.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.paymentpageplugin.com/payment-gateways/paypal/paypal-webhook-configuration.md).

# PayPal Webhook Configuration

Once you've configured your PayPal connection, you may want to set up webhooks in order for [Form Actions on Submit](https://docs.paymentpageplugin.com/features/form-actions-on-submit) to work properly.&#x20;

To create a Webhook, go to the [PayPal My Apps & Credentials](https://developer.paypal.com/developer/applications) section.

{% hint style="info" %}
Creating a webhook is the same process in TEST and LIVE modes - just ensure you've clicked "Sandbox" or "Live" using the switcher at the top of the [My Apps & Credentials](https://developer.paypal.com/developer/applications) section.&#x20;
{% endhint %}

Click the application you created in [PayPal Setup](https://docs.paymentpageplugin.com/payment-gateways/paypal/paypal-setup), and scroll to the bottom of the application details to edit the section called "Sandbox Webhooks."

![Sandbox Webhooks in PayPal Developer Portal](/files/bwU1B7V4GJ5oP8WAqZ7I)

Click "Add Webhook."

Paste in the Webhook URL from the Payment Page plugin settings, which is dynamically generated for your site:

![Webhook URL Field for PayPal Sandbox Webhooks](/files/aulQ5HVD95hx2ZNbWo29)

Then, select the option for "Payment capture completed."

![Checkbox for "Payment capture completed" Webhook](/files/pUxa3VQcm6WSL7WJzJH6)

Click "Save" at the bottom.&#x20;

Copy the newly created "Webhook ID" into the Payment Page plugin settings and click "Save Settings."

![Webhook ID Field in the Payment Page Plugin Settings](/files/Ls0CD0GGS6NRCW5C5gns)

That's it! Your new webhook is properly configured in TEST or LIVE modes.&#x20;

{% hint style="success" %}
Please reach out to <support@gauchoplugins.com> with any questions.&#x20;
{% endhint %}
