Set up webhooks

  1. Go to your project in Publisher Account.
  2. Go to Project settings > Webhooks, specify the Webhook URL, and generate a secret key to sign project webhooks.

  1. Save settings.
  2. Implement the following webhooks for Pay Station:

  1. Go to the Checkout tab and click Connect.

  1. Test the webhook handler.

Note:
Acknowledge the receipt of a webhook your server must respond with:
  • HTTP code 204 without a message body
  • HTTP code 400 describing the problem if the specified user was not found or if an invalid signature was passed
You can read more about webhooks, including examples, in the API reference.

  1. Click Pay Station in the left-hand-side menu and go to Settings.
  2. Set the Checkout toggle to On.

  1. Click Save.

Continue reading