Selling Credit Packs with WooCommerce
Pro. This feature requires WB Member Blog Pro. The free plugin must be installed and active first. See the Pro index for every Pro module.
Let members purchase post credits directly through WooCommerce. Create credit packs at different price points and credits are added automatically when the order completes.
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:
FieldWhat to EnterExamplePack NameDisplay name members see“10 Post Credits”Credits AmountNumber of credits included10PriceWooCommerce product price$9.99DescriptionBrief pack description“Perfect for occasional bloggers”
Click Create Pack
Example Pack Structure
PackCreditsPricePrice Per CreditStarter Pack5$4.99$1.00Standard Pack15$12.99$0.87Value Pack50$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
AttributeDefaultDescriptioncolumns3Number of columns in gridshow_descriptionyesShow 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 TypeCredit ActionFull refundAll credits from that order removedPartial refundProportional 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
IssueSolutionCredits not added after purchaseCheck that order status is “Complete” (not just “Processing”)Packs not showingVerify packs are created and not deletedWrong price showingEdit the pack and verify the price field
Related Documentation
Understanding the Post Credits System Membership Plugin Credit Integration Manual Credit Management
]]>

