What You’ll Learn
- How WooCommerce credit packs work
- Creating credit packs
- Displaying packs for purchase
- Handling refunds
Before You Start
- WooCommerce plugin active
- Post Credits module enabled
- WooCommerce payment gateway configured
How Credit Packs Work
Credit packs are special WooCommerce products:
- Created as hidden products (don’t appear in regular shop)
- Members purchase via shortcode or custom page
- Credits added automatically when order completes
- Refunds automatically remove the credited amount
Creating a Credit Pack
- Go to Member Blog → Post Credits → Credit Packs
- Click Create New Pack
- Fill in the details:
| Field | What to Enter | Example |
|---|---|---|
| Pack Name | Display name members see | “10 Post Credits” |
| Credits Amount | Number of credits included | 10 |
| Price | WooCommerce product price | $9.99 |
| Description | Brief pack description | “Perfect for occasional bloggers” |
- Click Create Pack
Example Pack Structure
| Pack | Credits | Price | Price Per Credit |
|---|---|---|---|
| Starter Pack | 5 | $4.99 | $1.00 |
| Standard Pack | 15 | $12.99 | $0.87 |
| Value Pack | 50 | $34.99 | $0.70 |
Offering bulk discounts encourages larger purchases.
Displaying Credit Packs
Use the shortcode to display purchasable packs on any page:
[bpmb_credit_packs]
Shortcode Options
| Attribute | Default | Description |
|---|---|---|
columns | 3 | Number of columns in grid |
show_description | yes | Show pack descriptions |
Example Usage
[bpmb_credit_packs columns="2" show_description="yes"]
What Members See
The shortcode displays:
- All available credit packs
- Price for each pack
- Add to Cart buttons
- Member’s current credit balance
Purchase Flow
When a member purchases credits:
- Member views credit packs (via shortcode)
- Clicks “Add to Cart” on desired pack
- Completes WooCommerce checkout
- Order marked as “Complete”
- Credits automatically added to their account
- Member can immediately use credits to publish
Handling Refunds
When you refund an order:
| Refund Type | Credit Action |
|---|---|
| Full refund | All credits from that order removed |
| Partial refund | Proportional credits removed |
What If Credits Are Already Used?
If a member has used some credits before the refund, their balance may go negative. You can:
- Allow the negative balance (they need to purchase more)
- Manually adjust their balance via admin
- Have a conversation about partial refunds
Creating a Purchase Page
Create a dedicated page for purchasing credits:
- Create a new page (e.g., “Buy Credits”)
- Add the shortcode:
[bpmb_credit_packs] - Add introductory text explaining the credit system
- Publish the page
- Set this URL in Post Credits settings as the “Purchase URL”
Now when members run out of credits, they’re directed to this page.
Tips for Success
- Offer variety – Create 3-4 packs at different price points
- Bulk discounts – Reward larger purchases with lower per-credit pricing
- Clear naming – Use names like “10 Post Credits” not “Pack A”
- Visible placement – Add the purchase page to your main navigation
Troubleshooting
| Issue | Solution |
|---|---|
| Credits not added after purchase | Check that order status is “Complete” (not just “Processing”) |
| Packs not showing | Verify packs are created and not deleted |
| Wrong price showing | Edit the pack and verify the price field |
Related Documentation
- Understanding the Post Credits System
- Membership Plugin Credit Integration
- Manual Credit Management
