✨ Features

Payment Gateway Configuration

Configure payment processing for invoices.

Supported Gateways

GatewayTypeStatus
StripeCredit CardBuilt-in
PayPalOnlineBuilt-in
ManualBank TransferBuilt-in

Stripe Setup

  1. Create a Stripe account
  2. Get API keys from Stripe Dashboard
  3. Configure in Gauzy:
STRIPE_SECRET_KEY=sk_live_xxxxx
STRIPE_PUBLISHABLE_KEY=pk_live_xxxxx
STRIPE_WEBHOOK_SECRET=whsec_xxxxx
  1. Go to Settings → Payment → Stripe
  2. Enter API keys
  3. Enable Stripe as payment method

PayPal Setup

PAYPAL_CLIENT_ID=your-client-id
PAYPAL_CLIENT_SECRET=your-client-secret
PAYPAL_MODE=live  # or sandbox

Payment Flow

Diagram; its source is available below
Diagram source
sequenceDiagram
    Client->>API: Create Payment Intent
    API->>Stripe: Create PaymentIntent
    Stripe-->>API: Client Secret
    API-->>Client: Payment form data
    Client->>Stripe: Submit payment
    Stripe-->>API: Webhook (payment_intent.succeeded)
    API->>DB: Update invoice status = PAID
    API->>Client: Payment confirmation

Manual/Bank Transfer

  1. Add bank details in Settings → Payment
  2. Include bank info on invoices
  3. Manually mark invoices as paid when transfer received

Edit this page

Copyright © 2023-Present Ever Co. LTD.Docs by Sourcey