Payzo Docs

SellHub Integration

Integrate Payzo with your SellHub store using Lua

Overview

Payzo offers native integration with SellHub, allowing you to accept card payments directly in your SellHub store.

How It Works

  1. Customer creates an invoice in your SellHub store
  2. Customer selects Payzo as payment method
  3. Customer is redirected to Payzo checkout
  4. Customer completes payment with credit card
  5. Payzo automatically marks the invoice as paid in SellHub
  6. Customer receives their product automatically via Sellhub

Step 1: Get SellHub Credentials

  1. Log in to your SellHub Dashboard
  2. Go to Settings > API
  3. Copy your:
    • API Key

Step 2: Create SellHub Shop in Payzo

  1. Go to Payzo Dashboard > Shops
  2. Click "Create Shop"
  3. Select "SellHub Integration" as shop type
  4. Fill in the form:
    Shop Type: SellHub Integration
    SellHub API Key: your-api-key-here
    SellHub Store Name: (optional)
  5. Click "Create Shop"

Automatic Invoice Completion

When using SellHub integration, Payzo automatically:

  1. Receives payment completion event
  2. Extracts invoiceId from payment metadata
  3. Calls SellHub API to mark invoice as complete:
  4. SellHub delivers the product to customer

No additional code needed - this happens automatically!

Support

Need help with SellHub integration?

Next Steps

On this page