This guide covers the native SureCart integration in BricksMembers. With this integration, you can automatically assign membership levels when customers purchase SureCart products—no webhooks or complex configuration required.
Why Use the Native Integration?
BricksMembers registers as an official SureCart integration, so it appears in the product integration dropdown. The native integration offers:
- Zero configuration complexity — No webhook URLs, secrets, or field mappings
- Instant level assignment — Levels assigned when checkout completes (purchase_created)
- Subscription support — purchase_invoked (subscription restored) and purchase_revoked (refund, cancel, expiry) handled automatically
- Product-level or centralized mapping — Map in product settings or in BricksMembers → SureCart
Prerequisites
- SureCart installed and active
- At least one SureCart product created
- At least one membership level created in BricksMembers
Step 1: Enable the SureCart Module
- Go to BricksMembers → Settings → Modules
- Find SureCart in the list
- Enable the toggle
- Click Save Settings
Once enabled, you’ll see a new SureCart menu item under BricksMembers.
Step 2: Configure Integration Settings
Navigate to BricksMembers → SureCart.
Integration Settings
Create WordPress users for guest checkout
- When enabled: Guest checkout creates a WordPress user and assigns the mapped level
- Default user role: Select the role for new users (default: Subscriber)
Remove levels when purchase is revoked (refund, cancel, or subscription ended)
- When enabled: Levels are removed when SureCart fires purchase_revoked (refund, cancellation, subscription expiry)
- Recommendation: Enable for memberships so access matches payment status
Step 3: Map Products to Levels
In User Level Mapping, for each membership level, check the SureCart products that should grant that level when purchased.
Alternative: In SureCart, edit a product and use the Integrations section. BricksMembers appears as an integration—select the level to assign when the product is purchased.
How It Works
- purchase_created — Checkout complete → levels assigned
- purchase_invoked — Access granted (e.g., subscription restored) → levels assigned
- purchase_revoked — Refund, cancellation, or expiry → levels removed (if “Remove when revoked” is enabled)