Skip to content

Native Buy Credits checkout

WP Career Board overviewFree + ProGet WP Career Board →

You can let employers buy credits right on the Credits tab of their dashboard. They pick a pack (or a custom amount), choose Stripe or PayPal, and pay on the hosted payment page. The same panel appears in the Credit Balance block.

Native checkout Product mapping
Where the buyer pays The Credits tab, then the hosted Stripe or PayPal page Your WooCommerce, PMPro or MemberPress checkout
What you set up Gateway keys and webhook, credit packs or a custom-amount rate A Credit mapping from a product or plan to a credit amount
Tax, coupons, receipts Built in (see Checkout, receipts and emails) Handled by the store plugin

You can use both at once. The Credits tab lists the gateway packs first, then Buy through the store for each mapped product.

Go to WP Career Board -> Settings -> Credits and:

  1. Under Payment methods, turn on Native checkout (“Allow Stripe / PayPal hosted checkout”). The other toggle, Product mapping, controls the store route and is independent.
  2. Set up at least one gateway in the Direct payment gateways card. See Direct payment gateways.
  3. Under Credit packs & pricing, define what you sell: fixed packs, a custom-amount rate, or both. See Credit packages and costs.
  4. Optional: set billing details, tax and coupons. See Checkout, receipts and emails.

The Buy panel appears once native checkout is on, a gateway is enabled with keys, and there is a pack or a custom-amount rate to sell.

Employers open the Credits tab of their dashboard, or a page with the Credit Balance block or [wcbp_credit_balance]. Buy Credits next to the balance opens a panel with:

  • A Payment method row with each available gateway.
  • One card per credit pack, showing credits, price and, when set, how long the credits last.
  • A Custom amount (credits) field when custom pricing is on, with the price updating as they type, between your minimum and maximum.
  • Billing details (name, email and country, or the full address if you chose that).
  • A Coupon code field.
  • A note when you charge tax.
  • Continue to payment, which sends them to the hosted Stripe or PayPal page.

The price is worked out on the server. Nothing the browser sends decides the charge.

Below the panel the tab shows Awaiting payment (purchases that have not cleared yet, added as soon as the payment clears), Receipts with View receipt links, and the Transaction History with Show more (Top-up, Hold, Deduction, Refund, Expired).

After paying or canceling, the buyer lands back on the Credits tab:

  • Paid: “Payment received - confirming your credits…” The page checks the balance until the top-up shows, then says “Credits added to your balance.” If it takes long it says “Confirming - your balance updates shortly.”
  • Canceled: “Checkout canceled - you were not charged.”

The signed webhook from Stripe or PayPal is what adds the credits (see Direct payment gateways), and the page also claims the payment when the buyer returns. If the employer closes the tab early, the webhook still credits the account. Delayed payment methods stay under Awaiting payment until they clear.