Integrations

Step-by-step guides for integrating Web-Hookify with popular services and platforms.

Stripe

Popular

Accept payments and handle subscription events with Stripe webhooks.

PayPal

Popular

Process PayPal payments and handle transaction notifications.

Shopify

E-commerce

Sync orders, inventory, and customer data from your Shopify store.

GitHub

Developer

Automate workflows with GitHub repository and deployment events.

Discord

Communication

Send notifications and updates to Discord channels automatically.

Slack

Communication

Integrate with Slack for team notifications and workflow automation.

Stripe Integration

Complete guide for setting up Stripe webhooks with Web-Hookify.

Step 1: Create Webhook in Web-Hookify

curl -X POST https://api.webhookify.dev/v1/webhooks \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "service": "stripe",
    "description": "Stripe payment notifications",
    "events": [
      "payment_intent.succeeded",
      "payment_intent.payment_failed",
      "invoice.payment_succeeded",
      "customer.subscription.created"
    ]
  }'

Step 2: Configure Stripe Dashboard

  1. Log in to your Stripe Dashboard
  2. Navigate to Developers → Webhooks
  3. Click "Add endpoint"
  4. Paste your Web-Hookify webhook URL
  5. Select the events you want to receive
  6. Click "Add endpoint"

Step 3: Handle Webhook Events

// Example: Processing Stripe webhook events
app.post('/webhook', express.raw({type: 'application/json'}), (req, res) => {
  const sig = req.headers['stripe-signature'];
  let event;

  try {
    event = stripe.webhooks.constructEvent(req.body, sig, endpointSecret);
  } catch (err) {
    console.log('Webhook signature verification failed.', err.message);
    return res.status(400).send('Webhook Error: ' + err.message);
  }

  // Handle the event
  switch (event.type) {
    case 'payment_intent.succeeded':
      const paymentIntent = event.data.object;
      console.log('PaymentIntent was successful!');
      break;
    case 'payment_method.attached':
      const paymentMethod = event.data.object;
      console.log('PaymentMethod was attached to a Customer!');
      break;
    default:
      console.log('Unhandled event type ' + event.type);
  }

  res.json({received: true});
});

Common Stripe Events

  • payment_intent.succeeded - Payment completed
  • invoice.payment_succeeded - Subscription payment
  • customer.subscription.created - New subscription
  • customer.subscription.deleted - Subscription cancelled

PayPal Integration

Set up PayPal webhooks to receive payment and subscription notifications.

Step 1: Create PayPal Webhook

curl -X POST https://api.webhookify.dev/v1/webhooks \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "service": "paypal",
    "description": "PayPal payment notifications",
    "events": [
      "PAYMENT.CAPTURE.COMPLETED",
      "PAYMENT.CAPTURE.DENIED",
      "BILLING.SUBSCRIPTION.CREATED",
      "BILLING.SUBSCRIPTION.CANCELLED"
    ]
  }'

Step 2: Configure PayPal Developer Console

  1. Log in to PayPal Developer Console
  2. Select your application
  3. Go to the Webhooks section
  4. Click "Add Webhook"
  5. Enter your Web-Hookify webhook URL
  6. Select the event types you want to receive
  7. Save the webhook configuration

PayPal Webhook Verification

PayPal webhooks require signature verification. Make sure to validate the webhook signature using PayPal's verification process to ensure authenticity.

Shopify Integration

Sync your Shopify store data with real-time webhook notifications.

Available Shopify Events

Order Events

  • • orders/create
  • • orders/updated
  • • orders/paid
  • • orders/cancelled
  • • orders/fulfilled

Customer Events

  • • customers/create
  • • customers/update
  • • customers/delete

Setup Instructions

  1. Create a webhook endpoint in Web-Hookify for Shopify
  2. In your Shopify admin, go to Settings → Notifications
  3. Scroll down to the Webhooks section
  4. Click "Create webhook"
  5. Select the event type and paste your webhook URL
  6. Choose JSON format and save

GitHub Integration

Automate workflows with GitHub repository and deployment events.

Step 1: Create Webhook in Web-Hookify

curl -X POST https://api.webhookify.dev/v1/webhooks \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "service": "github",
    "description": "GitHub repository events",
    "events": [
      "push",
      "pull_request",
      "issues",
      "deployments"
    ]
  }'

Step 2: Configure GitHub Repository

  1. Log in to your GitHub account
  2. Navigate to the repository you want to integrate
  3. Click on "Settings"
  4. Select "Webhooks" from the sidebar
  5. Click "Add webhook"
  6. Paste your Web-Hookify webhook URL
  7. Select the events you want to receive
  8. Click "Add webhook"

Step 3: Handle Webhook Events

// Example: Processing GitHub webhook events
app.post('/webhook', express.json(), (req, res) => {
  const event = req.headers['x-github-event'];
  const signature = req.headers['x-hub-signature-256'];

  // Verify the signature
  if (!verifySignature(req.body, signature)) {
    return res.status(400).send('Invalid signature');
  }

  // Handle the event
  switch (event) {
    case 'push':
      console.log('Push event received!');
      break;
    case 'pull_request':
      console.log('Pull request event received!');
      break;
    case 'issues':
      console.log('Issues event received!');
      break;
    case 'deployments':
      console.log('Deployment event received!');
      break;
    default:
      console.log('Unhandled event type ' + event);
  }

  res.json({received: true});
});

function verifySignature(payload, signature) {
  // Implement signature verification logic here
  return true;
}

Common GitHub Events

  • push - Code pushed to repository
  • pull_request - Pull request created or updated
  • issues - Issue created or updated
  • deployments - Deployment triggered