WooCommerce
The Easner Checkout for WooCommerce plugin (plugins/woocommerce/easner-checkout-for-woocommerce) adds Easner as a WooCommerce payment method. Upload easner-checkout.zip from Plugins, Add Plugin. It uses the same Checkout you integrate by hand: a hosted page, an overlay, or an inline form, for one-time payments and subscriptions.
Customers pay on the Easner pay form. The plugin creates the session with your secret key and marks the WooCommerce order paid from webhooks. It does not use payment links.
Before you install
- Create an Easner Business account at business.easner.com and open Console.
- In Settings, API keys, create a key with Checkout and Manage webhooks. Copy the secret key once. Copy the publishable key if you will use overlay or inline.
- In Console, Checkout, your site, Settings, add the store address as an allowed website before live payments.
- For live payments: finish business verification, turn on online payments in Settings, Payments, then create a live key and Connect again.
Install, paste keys, Connect
- Install WooCommerce, then the plugin.
- In WooCommerce, open Settings, Payments, Easner.
- Paste the secret key. Paste the publishable key if you choose overlay or inline.
- Choose Hosted page, Overlay, or Inline.
- Click Connect.
https://{your-store}/wp-json/easner/v1/webhook and stores the signing secret. You do not paste a webhook URL. Click Connect again after you change the secret key. A second Connect reuses the same URL.
What the key needs
Create the key in Console, Settings, API keys.
Before live payments, add the store as an allowed website (Console, Checkout, your site, Settings). A return URL that is not on that list is
origin_not_allowed, and the plugin says to add the store. Live also needs the business verified and online payments turned on. See Test and live.
Test with 4242 4242 4242 4242, any future date, and any CVC.
How the customer pays
The browser only receives the session
url or client_secret, plus the publishable key. The secret key stays in WordPress. The order is paid when checkout.completed arrives, not when the browser returns.
Subscriptions
With WooCommerce Subscriptions, a recurring cart creates a Checkout session withmode: subscription. Without that plugin, Easner takes one-time payments only. Easner bills the recurring price. A WooCommerce sign-up fee is not sent as a separate one-time charge. Subscription webhooks update the WooCommerce subscription. Manage billing opens an Easner customer portal session for the customer.
Refunds from the WooCommerce order call POST /v1/refunds. Refunds made in Console update the order from refund.created.
Thinkific
Thinkific does not take a payment gateway inside its own checkout. Easner Checkout for Thinkific is the partner app inplugins/thinkific/easner-checkout, on its own address. Thinkific installs that app. The app calls api.easner.com for Checkout. When checkout.completed arrives, the app enrolls the student and records an external order.
Before you install
- Create an Easner Business account at business.easner.com and open Console.
- Create a key with
checkoutandwebhooks.manage. Copy the secret once. Refunds also needrefunds.write. - Create the app in the Thinkific Partner Portal. Thinkific sends the creator to
{APP_URL}/install?subdomain={THINKIFIC_SUBDOMAIN}. - Add the app’s
httpsaddress as an allowed website before live payments. - For live charges, verify the business and turn on online payments. See Test and live.
Connect
In the app, paste the secret key and click Connect. Connect registers{APP_URL}/api/easner/webhook and stores the signing secret. You do not paste a webhook URL. A missing Manage webhooks scope tells the creator to enable it in Console.
Then map a course: Thinkific course id, product id, name, and price in cents. The app shows a buy link, {APP_URL}/buy/{site}/{course}.
What the student does
The buy link asks for an email and redirects to the Checkout sessionurl. The thank-you page does not grant access. The webhook creates the Thinkific user if needed, calls POST /enrollments with activated_at set, and calls POST /external_orders with provider easner.
A subscription course uses mode: subscription. Cancel, a failed renewal, or a full refund expires that enrollment. The thank-you page links to Manage billing, an Easner customer portal session.
Test with 4242 4242 4242 4242, any future date, and any CVC.