Skip to content

Granting credits with MemberPress

WP Career Board overviewFree + ProGet WP Career Board →

You can give employers job-posting credits when a MemberPress transaction completes, and again on each recurring payment. It works like the PMPro guide.

Use this guide when:

  • You use MemberPress to manage members.
  • You want credit allotments tied to memberships.
  • MemberPress is installed and active, and you have at least one membership.
  • To charge for posting, set a credit cost on a board. See Credit packages and costs.
  1. Go to Career Board -> Settings -> Credits and find the Credit mappings card.
  2. In Product / Plan, pick the membership. MemberPress memberships sit under the “MemberPress” heading. If MemberPress shows as not installed in the Detected providers card, its memberships are not offered here.
  3. Enter the credits granted, for example 50.
  4. Click + Add Mapping.
  • When a transaction completes for the membership, the mapped credits are added once per transaction.
  • On each recurring payment, the new transaction adds the credits again.
  • On cancellation or expiry, nothing is removed. To take credits back, use a manual adjustment.

The employer’s Credits tab lists the membership under Buy through the store. Buy opens the membership page.

  1. Subscribe to the mapped membership with a test account.
  2. Open the Credits tab of that member’s employer dashboard. The balance shows the mapped amount.
  3. Transaction History shows a top-up for it.

A trial plus a paid plan. Create a free trial membership mapped to 5 credits and a paid one mapped to 50. Each completed transaction adds its own mapped credits.

One-time membership, one-time grant. Map a non-recurring membership. The member gets the credits once and keeps them until they are spent.

Read a balance in code. The balance is the sum of the ledger, not a user-meta value. Read it with \Wbcom\Credits\Credits::get_balance( 'wp-career-board', $user_id ) or over REST at GET /wcb/v1/employers/{id}/credits.

A member paid but got no credits. Check that the membership has a mapping row and that MemberPress shows as active in Detected providers.

A payment is still pending. Credits are added only when MemberPress marks the transaction completed. If it is still pending, check the payment gateway first.