PHPackages                             vulcandigital/silverstripe-paypalwebhook - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Payment Processing](/categories/payments)
4. /
5. vulcandigital/silverstripe-paypalwebhook

ActiveSilverstripe-vendormodule[Payment Processing](/categories/payments)

vulcandigital/silverstripe-paypalwebhook
========================================

A delegation interface for handling PayPal webhook events

1.0.0(8y ago)14BSD-3-ClausePHP

Since Mar 1Pushed 8y ago1 watchersCompare

[ Source](https://github.com/vulcandigital/silverstripe-paypalwebhook)[ Packagist](https://packagist.org/packages/vulcandigital/silverstripe-paypalwebhook)[ RSS](/packages/vulcandigital-silverstripe-paypalwebhook/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (1)Dependencies (4)Versions (1)Used By (0)

silverstripe-paypalwebhook
==========================

[](#silverstripe-paypalwebhook)

This module is a PayPal webhook event handling delegation interface, a subclass can handle one or more event and an event can be handled by one or more subclass

Requirements
------------

[](#requirements)

- silverstripe/framework: ^4

Configuration
-------------

[](#configuration)

By default the environment is set to sandbox

```
Vulcan\PayPalWebhook\PayPalWebhook:
  environment: sandbox
  oauth_sandbox_clientid: ".."
  oauth_sandbox_secretid: ".."
  oauth_live_clientid: ".."
  oauth_live_secretid: ".."
  webhook_sandbox_id: ".."
  webhook_live_id: ".."
```

You can also use test keys and the webhook simulator will work fine with this module

> **WARNING**: While this module is in sandbox mode, events will NOT be verified!

Usage
-----

[](#usage)

1. Install and dev/build
2. Add a sandbox webhook endpoint to PayPal that points to  and ensure that it sends the events you require
3. Create your functionality for your event(s):

```
