arxpw / WebhookForwarder

basic lambda stuff to forward webhooks around

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

GoCardless Webhook Forwarder

PHP LAMBDA + BREF project to forward GoCardless webhooks to different environments.

template

Initial Setup

  • Fill out your GoCardless webhook creds within your .env file
  • Fill out your Webhook URLS within your .receivers file
cp .env.sample .env
cp .receivers.sample .receivers

Dependencies

Ensure you have PHP + Composer Installed, then run:

composer install

Install and configure the Serverless Framework

npm i -g serverless

Configure your AWS creds for deployment

serverless config credentials —provider aws —key <key> —secret <secret>

Test this endpoint locally ( requires PHP to be installed )

php -S localhost:8088

Deploy

serverless deploy

About

basic lambda stuff to forward webhooks around


Languages

Language:PHP 100.0%