Confirmed REST paypal provider setup documentation is lacking

Xon

Well-known member
Enter the client ID and secret key from the relevant application in your PayPal Dashboard. You should also set up a webhook.
I can't find any information on what webhook events are required, or what the webhook URL should even be.

The webhook URL and what evens should be listed on the payment handler setup page, similarly to how the rest of the payment handlers do it.
 
Last edited:
A PayPal webhook is a way for PayPal to automatically notify your application about specific events, such as a payment being processed or a refund being issued. Instead of your application constantly checking for updates (polling), PayPal sends a message (an HTTP POST request) to a designated URL (your "webhook listener") whenever a chosen event occurs. This allows for near real-time updates and efficient handling of PayPal events.



Here's a more detailed explanation:
  • Event-Driven Notifications:
    Webhooks are event-driven, meaning they are triggered by specific actions within PayPal, like a payment being authorized or a subscription being renewed.
  • HTTP Callbacks:
    Webhooks are essentially HTTP callbacks. PayPal acts as a "notifier," sending data to your application's pre-defined URL (the webhook listener) when an event occurs.

  • No Polling Required:
    Unlike polling, where your application would repeatedly check for updates, webhooks deliver information as it happens, making them more efficient.

  • Customizable Events:
    You can choose which events you want to be notified about, allowing you to tailor the webhook to your specific needs.

  • Secure Communication:
    PayPal signs the webhook notifications to ensure they are authentic and haven't been tampered with.

  • Real-time Updates:
    Webhooks enable your application to react to PayPal events in near real-time, improving user experience and allowing for more dynamic integrations.
In essence, webhooks are a powerful mechanism for integrating PayPal into your application, providing real-time updates on crucial events without the need for constant polling.

Hope this helps, contact Paypal support.
 
This is a bug report because the XenForo REST Paypal handler is lacking actual detail for what configuration should be setup. The stripe payment handler details exactly what events the code supports, and what the webhook URL should be.

I'm a syadmin & developer who can actually look at the code to determine what is required. I don't need a thousand words of LLM generate lipsum ipsum which can be reduced to "check paypal support" when the answer requires an exact technical answer from XenForo
 
Back
Top Bottom