WooCommerce + PedIg

Teacher discounts, with automatic card checks

At checkout, Summa Teacher Discount checks the Hungarian Teacher Card (Pedagógus Igazolvány) number with the PedIg system and applies the discount the moment the card is valid. You never have to ask for a copy of the card, and nobody else can use the discount code.

Summa Teacher Discount logo
Features

A discount for teachers, without manual checks

The card is checked through the official PedIg partner API, and the discount appears in the order as a regular WooCommerce coupon.

🪪

Checked with PedIg

The customer enters the card number at checkout and checks it with one click. If the card is valid, the discount shows up in the total right away, without a page reload.

📈

Tiered discount

The rate can depend on the cart value, for example 5%, 7% above 20,000 HUF and 9% above 30,000 HUF. You set the tiers; shipping is not counted.

🔒

A protected coupon

Typing the coupon code into the coupon field does nothing; it only works after a successful card check. The card number is checked again when the order is placed.

⚡

Works through PedIg outages

A card found valid is remembered for an hour. If PedIg goes down in the meantime, the customer still gets the discount on the order.

🧪

Testing on the live shop

One switch shows the form to administrators only. Together with the PedIg test API, you can try the discount without customers seeing it.

🧾

Card number on the order

The card number is saved to the order and to the customer account, so it is already filled in on the next purchase. Every check is logged in the WooCommerce log.

The customer’s view

A card number, one button, done

The card number field appears at checkout, below the order notes. The customer sees the discount as its own line in the order total.

  • Checked without a page reload
  • A clear message for an invalid number
  • The rate follows the cart value
Checkout → Teacher discount
Teacher discount by cart value5 / 7 / 9%7% above 20,000 HUF, 9% above 30,000 HUF
12345678Apply discount
PedIg checkValid card7% discount
Subtotal24,990 HUF
Teacher discount (7%)−1,749 HUF
To payexcluding shipping23,241 HUF

Illustration with made-up data.

Getting started

Three steps to go live

01

PedIg partnership

As a PedIg partner, the shop gets a username and password for the card check API. We help with this if you do not have it yet.

02

Setup and testing

We install the plugin, set up the coupon and the discount tiers, then run test purchases against the test API with the form visible to admins only.

03

Go live

We switch to the live API and the form appears at checkout for every customer. From then on, teachers apply the discount themselves.

FAQ

Frequently asked questions

PedIg partner access (a username and password for the card check API) and a WooCommerce store using the classic checkout page. The check runs through the PedIg system, which the plugin connects to.
Any size: a single fixed percentage, or several tiers based on the gross cart subtotal. The highest tier whose threshold the cart value exceeds always applies.
Nothing happens: the coupon only works after a successful card check in that customer’s session, and the plugin checks again when the order is placed. If the card number is removed or changed in the meantime, the discount comes off.
Cards found valid within the last hour keep working. New cards cannot be checked during an outage; the customer sees an error message and can order without the discount.
Yes. In the settings you can show the form to administrators and shop managers only, and switch to the PedIg test API. The settings page also has a button to test the connection.
It sends only the card number to PedIg and gets back whether the card is valid. The card number is saved to the order and to the customer account, which is worth mentioning in your privacy policy.
WordPress 6.2, WooCommerce 7.0 and PHP 7.4 or newer. It works with the classic (shortcode) checkout page, not with the block checkout. It is HPOS compatible, and its interface is in Hungarian.

A discount for teachers, without the paperwork

Tell us about your store – we reply within 24 hours on working days with a concrete offer.

Try the plugin →