Home 9 Payments 9 Payment Integration

Payment Integration

Accept credit card payments directly on your invoices with Stripe integration. When clients pay, the payment automatically syncs to Xero—no manual reconciliation needed.

Features

  • “Pay Now” button: Appears on your invoices, giving clients a simple way to pay immediately
  • Stripe integration: Secure card payments processed through Stripe
  • Automatic Xero sync: When a payment is received, it’s automatically recorded in Xero
  • Email notifications: Both you and your client receive confirmation when a payment is processed

Setting Up Payment Integration

To enable payment integration, you’ll need to enter your Stripe API keys:

Step 1: Get Your Stripe API Keys

  1. Log in to your Stripe Dashboard
  2. Go to Developers → API Keys
  3. Copy your Publishable key (starts with pk_test_ or pk_live_)
  4. Click Reveal to copy your Secret key (starts with sk_test_ or sk_live_)

Tip: Start with test mode keys (pk_test_ and sk_test_) to try the integration without processing real payments.

Step 2: Enter Keys in LiteWork

  1. Go to LiteWork Settings → Payments
  2. Enter your Publishable Key
  3. Enter your Secret Key
  4. Click Save Stripe Credentials

Step 3: Set Up Webhook (Recommended)

Webhooks allow Stripe to notify LiteWork when a payment is completed, enabling automatic invoice updates in Xero.

  1. Go to the Stripe Webhooks Dashboard
  2. Click Add endpoint
  3. Enter your webhook URL (shown in LiteWork Settings → Payments)
  4. Select events: checkout.session.completed and payment_intent.payment_failed
  5. Click Add endpoint to save
  6. Copy the Signing secret (starts with whsec_) from Stripe
  7. Paste it into the Webhook Secret field in LiteWork and click Save Stripe Credentials

Branding on Checkout

Your company logo and name automatically appear on the Stripe checkout page—they’re pulled from your LiteWork company settings. No additional configuration needed.

Recommended: For more control over your checkout appearance, configure branding directly in your Stripe Dashboard → Settings → Branding. This approach is better because:

  • Stripe’s branding settings apply consistently across all payment flows
  • You can customize colors, fonts, and checkout page appearance
  • Changes take effect immediately without updating LiteWork settings
  • Your branding persists even if you use Stripe with other applications

Once connected, the “Pay Now” button automatically appears on your invoices.

How Clients Pay

When clients receive an invoice (via email or PDF), they click the “Pay Now” button. This opens a secure Stripe checkout page where they can enter their card details. The payment is processed instantly, and both parties receive confirmation.

Payment Sync to Xero

When a payment is received, LiteWork automatically creates a payment record in Xero against the matching invoice. The invoice status updates to “Paid” in both systems. No manual reconciliation required.

Fees

Stripe charges standard processing fees, which vary by country. For the most up-to-date information, please refer to Stripe’s official pricing page (select your country at the bottom of the page). LiteWork does not charge any additional fees for payment integration.

Email and PDF Options

Control which payment options appear in your emails and PDFs:

  • Pay Now button: Toggle on/off in LiteWork Settings → Payments
  • View in Xero link: Toggle on/off in LiteWork Settings → Payments (or Email tab)

When both Stripe and Xero are connected, you can also enable Include Stripe in Xero to add the Pay Now button to invoices viewed through Xero’s portal.

Alternative: Xero Payment Services

If you prefer to use Xero’s built-in payment services instead, see Xero Online Invoice Link to learn how to give clients a link to view and pay invoices through Xero’s portal.