How It Works

Live in under 5 minutes.

Most of the setup is automated. CreditGuard handles the configuration — you only need to add one checkout block manually.

01
Automated — < 2 minutes

Install from the Shopify App Store

Click install. CreditGuard immediately begins four automated setup tasks in parallel:

  • Creates the credit_management.credit_limit metafield definition on company locations
  • Registers a payment customisation that hides 'Pay on Account' for suspended or over-limit accounts
  • Registers the checkout cart validation with blockOnFailure enabled
  • Syncs all your existing B2B companies and locations into CreditGuard
02
1 manual step — 60 seconds

Add the checkout block

After setup, CreditGuard shows you step-by-step instructions with screenshots to add the CreditGuard block in the Shopify checkout editor. This block shows buyers their credit status and the 'submit for approval' button when needed.

03
Instant enforcement

Set your first credit limit

Open any company, navigate to a location, enter a credit limit, and save. That location is now enforced. The limit syncs instantly to Shopify metafields — no delay.

04
Background task

Pre-install sync runs automatically

The first time you open any location page, CreditGuard fetches all unpaid orders that existed before you installed the app and imports them into the credit balance automatically. A live progress banner keeps you informed.

Order Lifecycle

How every B2B order interacts with CreditGuard.

Every checkout runs through the same validation function. Here's what happens on each path.

Buyer completes checkout
Checkout Validation Function runs (server-side, zero DB calls)
Check 1: Is account suspended?
Check 2: Does location have overdue invoices?
Check 3: Cart + outstanding > credit limit?
Passes all checks
Order created in Shopify
CreditGuard webhook reserves credit
Balance updated
Invoice tracked with due date
Payment received → credit released
Payment stats updated
Fails any check
Buyer sees block message
Buyer clicks 'Submit for approval'
Draft order created with CREDIT_APPROVAL_REQUIRED tag
Shopify Flow trigger fires → merchant notified
Merchant reviews & approves draft
Draft converted to order → credit reserved automatically

Buyer Experience

What your buyers see when blocked.

Every block reason shows a distinct, clear message. Buyers are never left confused about why their order was stopped.

Account suspended

"This account has been suspended. Please contact your account manager."

Overdue invoice

"This location has overdue invoices. Please settle outstanding invoices before placing new orders."

Over credit limit

"Shows cart total, outstanding balance, and combined total vs. credit limit. 'Submit order for approval' button available."

Ready to go live?

Install CreditGuard and have your first credit limit enforced in under 5 minutes.