Kraken Commerce Adobe Commerce / Magento 2 specialists · since 2018
ID.me Group Verification · Adobe Commerce / Magento 2

Reward the people who serve — with verified discounts built into checkout.

A Kraken Commerce extension that drops the ID.me verification flow directly into your Adobe Commerce / Magento 2 cart and checkout. Military, first responders, nurses, teachers, students — verified by ID.me, discounted automatically, all through Magento's native cart price rules.

Cart + checkoutVerification surfaces in both places — no custom dev required
OAuth 2.0HMAC-signed state tokens, encrypted client secrets
Native rulesConfigured through Magento Cart Price Rules
Why offer verified discounts

Discounts you can stand behind — given only to the people who actually qualify.

Generic coupon codes leak. Honor-system discounts get exploited. ID.me solves the verification problem so you can confidently offer meaningful savings to military, first responders, nurses, teachers, and students — and turn that goodwill into loyalty and repeat orders.

110M+
members verified through ID.me — the identity network used by federal agencies, retailers, and healthcare providers.
6+
verified groups out of the box — military, first responders, nurses, teachers, students, and custom groups via the ID.me developer portal.
Configured per-group in Magento Cart Price Rules
Zero
custom checkout development required — the verify button drops into both the cart sidebar and the checkout payment step.
Magento 2.3+ · Compatible with Magento 2.4.x
How it works

Three integration points, one verification network.

The extension surfaces ID.me at the moments shoppers are deciding whether to complete the purchase — the cart, the checkout, and the order summary. Each integration is a real Magento UI component, not a third-party iframe pasted on top.

The Verify with ID.me button shown in the Magento 2 shopping cart summary sidebar.
Shopping cart sidebar. The verification button appears under the Summary block, alongside Apply Discount Code and Gift Cards.
01 · Cart integration

Verify before they ever reach the checkout page.

The "Verify with ID.me" button lives in the cart summary sidebar — so shoppers can see their discount applied before they commit to checking out. The earlier the discount lands, the higher the cart-to-checkout conversion.

  • Sits with Apply Discount Code and Gift Cards — feels native, not bolted on
  • "What is ID.me?" link with custom HTML you control from admin
  • Discount reflected in the cart subtotal the moment verification completes
The Verify with ID.me button on the Magento 2 checkout payment method step.
Checkout · Review & Payments step. A collapsible "Discounts for Military and First Responders" section, expandable by default if you choose.
02 · Checkout integration

A second chance to capture the discount during payment.

For shoppers who skipped the cart step, the verification flow shows up again in the Review & Payments step — alongside Credit/Debit Card and your other payment methods. Collapsible by default, or expanded if you'd rather not bury it.

  • Popup-based OAuth flow — no full-page redirect, no lost cart
  • Customizable copy for both the desktop and mobile message
  • "Section expanded by default" toggle in admin
After successful verification the discount is applied automatically and reflected in the order summary.
After verification. "Verified by ID.me" replaces the button. The discount line appears in the order summary; a confirmation banner explains what was applied.
03 · Automatic discount application

Discount applied. Confirmation shown. Nothing for the shopper to remember.

After ID.me confirms eligibility, the discount lands in the order summary instantly — no coupon code to type, no extra form to submit. A clear confirmation banner tells the shopper what was applied. They can also remove verification if they need to.

  • "Military and First Responder 3% Off" (or whatever you configure) shown in order summary
  • Customizable confirmation banner copy — desktop and mobile variants
  • Remove link gives the shopper full control of their session
Supported groups

Verify the groups that fit your brand — with subgroup precision.

ID.me's verification network covers a broad range of communities. The extension exposes both the parent group and the subgroup as conditions in Magento Cart Price Rules, so you can target exactly who qualifies — active service members only, K-12 teachers only, registered nurses only — and at what discount.

M

Military

  • Active service member
  • Veteran
  • Retiree
  • Military spouse
  • Military family
  • Surviving spouse
FR

First responders

  • Firefighter
  • Police officer
  • EMT
  • 911 dispatcher
N

Nurse

  • Registered nurse
  • Licensed practical nurse
T

Teacher

  • K-12 teacher
  • Professor
S

Student

  • College student
+

Custom groups

  • Configure additional groups via the ID.me developer portal
  • Comma-separated scope list in admin
  • Auto-fetched policies JSON
Admin experience

Native Cart Price Rules. Native admin. Native reporting.

We don't ship a parallel discount engine — we extend Magento's. Discounts are configured exactly the way your team already configures every other promotion: through Cart Price Rules, with two new conditions added.

New rule condition · Group

"ID.me Verification Group" — target Military, First Responder, Nurse, Teacher, Student, or any custom group you've enabled. Stack with existing conditions.

New rule condition · Subgroup

"ID.me Subgroup" — drill down to Veteran, Active Service, EMT, K-12 Teacher, Registered Nurse, etc. Run different discount amounts per subgroup.

Dashboard widget

Revenue from ID.me-verified orders, average order value for verified customers, verification-to-purchase conversion rate, and units per transaction.

Order-level data

Each verified order shows the customer's group, subgroups, and ID.me UUID — for auditing, compliance, and dispute resolution.

Configuration

Enable/disable toggle, OAuth client ID & secret, verification scopes, policies JSON, About text HTML, custom desktop & mobile messaging.

Section default state

Choose whether the "Discounts for Military and First Responders" section is expanded or collapsed by default at checkout.

Security & integration

A serious OAuth 2.0 implementation — because identity verification is a serious surface.

Identity flows are exactly the place you don't want a "good enough" implementation. The extension uses ID.me's OAuth 2.0 endpoints with the security defaults a senior Magento engineer would expect.

CSRF

HMAC-SHA256 signed state tokens

State parameters are HMAC-signed with a 10-minute expiry. Replay attempts and forged callbacks are rejected at the controller layer.

Secrets

Encrypted client secret storage

The ID.me client secret is stored using Magento's built-in encryptor — never in plaintext, never exposed to the browser.

Flow

Popup-based verification

The OAuth dance happens in a popup. The shopper's cart, payment data, and form state stay intact — no redirect-and-return failures.

Stack

League OAuth2 Client

Built on League OAuth2 Client v2.7+, the same battle-tested library Adobe ships with M2 itself. Magento 2.3+ · PHP 7.4 / 8.x.

Implementation

From kickoff to verified orders in under two weeks.

A small, focused engagement. We install, configure your ID.me developer credentials, wire up your cart price rules, and validate end-to-end before handoff.

1
Day 1

Kickoff

Confirm groups to enable, baseline discount strategy, and your ID.me developer portal application.

2
Days 2–4

Install

Composer install on staging, OAuth credentials configured, scopes and policies wired up.

3
Days 5–8

Configure rules

Cart Price Rules set up per-group and per-subgroup. Custom messaging, expanded-by-default state, About copy.

4
Days 9–12

Validate & ship

End-to-end testing across cart and checkout, sandbox verifications, dashboard handoff, production release.

We're not a "full service" agency; we don't offer UX optimization, SEO, paid search, or other marketing services. Our goal is to be the best development-focused eCommerce agency and to partner with your in-house team or marketing agency.

Kraken Commerce · Small by design · Founded 2018

Ready to offer verified discounts in your Adobe Commerce / Magento 2 store?

Tell us your store URL, the groups you'd like to verify, and your discount strategy. We'll come back inside two business days with extension access and a scoped install plan.

sales@krakencommerce.com
Copied to clipboard
Two-business-day response. · Your note goes straight to a senior engineer — no automated funnels.
Prefer to put time on the calendar? Book an intro call.