Case Study - Identity verification for WordPress
WordPress plugin that integrates Stripe Identity for user document verification.
- Client
- Stripe Identity
- Year
- Service
- Plugin development
Overview
Many WordPress sites need to verify their users' identity to comply with KYC regulations or simply add a layer of trust. Stripe Identity offers this functionality, but there was no simple integration for WordPress.
We developed a plugin that allows adding identity verification to any page through a shortcode, handling the entire flow transparently for the user.
What we did
- PHP
- WordPress
- Stripe API
- Webhooks
- Verification time
- < 2 min
- Approval rate
- 99%
- KYC compliance
- 100%
- Extra development
- 0
Verification flow
The [stripe_identity_form] shortcode renders a form with a "Verify Me" button. When clicked, a verification session is created in Stripe and the user is redirected to the hosted flow where they can upload their documents.
Once verification is complete, Stripe sends a webhook that the plugin processes to update the user's status in the WordPress database.
Security
The plugin validates webhook signatures using the Stripe secret. Emails are sanitized with native WordPress functions. API credentials are handled securely following ecosystem best practices.