Recurring Payments – WPJB 5.1

We just released WPJobBoard 5.1.0. The update notification should be visible on your wp-admin panel within 24 hours. If you cannot find it go to wp-admin / Dashboard / Updates and click “Check Again” that should do it.

Our main goal was to allow automatic recurring memberships with Stripe and to make it easier to purchase the membership from a pricing page. For now, on your job board the recurring payments will only work with the Stripe integration, but in future we are planning to make them available for PayPal as well.

Recurring Payment

To make recurring payment work, you need to do a couple of things.

First of all, you need to connect WPJobBoard with Stripe. Go to Stripe Dashboard, and register or login. Choose API from the menu on the left and copy Publishable Key and Secret Key to WPJobBoard configuration in wp-admin / Settings (WPJB) / Configuration / Stripe. (You will find Stripe in Payment Methods section).

Second thing is to set at least one membership as recurring. You can do this from wp-admin / Settings (WPJB) / Pricing / Employer Membership. You should be able to see a new checkbox called “Recurring” when you checked it when user will be buying a new member this will create a recurring subscription. After you save configuration new plan will be created in Stripe.

Plans will be automatically populated to Stripe.

Plans will be automatically populated to Stripe.

Important! When you uncheck the recurring option and save your pricing, your plan will be removed from Stripe, also all subscriptions for this plan will be canceled.

The last thing to do is to set webhook. Again choose API option from the menu on left in the Stripe dashboard. Select “Webhook” tab over the white box in the middle of the page, and click “Add endpoint” button in the top right corner of the center white box. You should see a new window.

How to fill webhook

How to fill webhook

Fill all params as you can see it on the screen above. List of checkboxes will show up when you choose “Select types to send” in “Filter event” option. You should provide correct URL in the “URL to be called” field. The correct URL should be http://example.com/wp-admin/admin-ajax.php?action=wpjb_stripe_subscriptionRenew – where in place of example.com you should put your actual domain.

Correctly added webhook

Correctly added webhook

You are good to go. Your clients now can buy a recurring membership.

New Purchase Membership Page

To keep WPJobBoard modern we created new membership purchase page.

Membership purchase page.

Membership purchase page.

The page is generated automatically based on active memberships. Content is generated by new shortcode [wpjb_membership_pricing] – the page is automatically created for new installations.

If you are already using WPJobBoard you need to add this page by yourself from wp-admin / Pages panel. In this case you also need to connect this page to shortcode from wp-admin / Settings (WPJB) / Configuration / Default Pages & URLs.

We created a separate article about new Shortcode in our documentation. You can read more there.

New Active Membership Page

Because of new pricing page, we needed to change membership page in employer panel. Now this page is more like information page. The employer can check his active and archived membership with expiration date and usage.

New membership page

Location Search

Previously when you put few words in location field (e.g. city and state) in most cases no results were shown. We changed our search function to allow you to put more details into location search.

Search for New York

Search for New York

When you search for single City you can receive many results of cities located all around the globe. But now, you can put other location parts like state or country to make your search more precise.

More precise search

More precise search

Adding “USA” to location reduced our search results to only one New York. You will receive same output if you provide state e.g.: “New York NY”. Also, a comma is optional, the search is working on space-separated words. So “New York, USA” and “New York USA” will return same output.

Other Changes

  • FEATURE: Few changes in wp-admin configuration view – now design should be more consistent and nicer.
  • FEATURE: Simple Print: printing view of applications and resumes (CTRL + P) contains only content of the resume or application.
  • FEATURE: “Pay Now” button in Employer Panel shows with the site layout (previously showed form only)
  • FEATURE: Education / Experience in My Resume no longer requires entering End Date when the position is marked at current.
  • FIXED: admin can’t uncheck “Publish Profile” checkbox in employer profile.

Along with WPJobBoard 5.1.0, we are also releasing Jobeleon (our WordPress Job Board Theme), if you are updating WPJB to latest version make sure you will update Jobeleon as well.

The list of modified files you can download here.

  1. Awesome, looking forward to checking it out. The pricing for the memberships was one area that definitely felt a little clunky.

Leave a Reply

Your email address will not be published. Required fields are marked *