Easy Peasy Pay
Simple Stripe payment integration
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/prishpon/easy-peasy-pay/archive/refs/heads/main.zipFeatures Create payments via Stripe API (Payment Intents) Secure webhook handling for payment confirmation Update order status after successful payment REST API-based architecture (headless-ready) Easy to extend (e.g., PayPal, WooCommerce)
Installation Copy the plugin folder into: wp-content/plugins/ Activate plugin in WordPress Admin: Plugins → Easy Peasy Pay → Activate 🔌 API Endpoints
- Create Payment
POST
/wp-json/epp/v1/create-payment
Body:
{ "amount": 50 }
Response:
{ "client_secret": "pi_xxx_secret_xxx" } 2. Webhook Endpoint
POST
/wp-json/epp/v1/webhook
Used by Stripe to notify about payment events.
Payment Flow Client requests payment via REST API Plugin creates Stripe PaymentIntent Frontend confirms payment using Stripe.js Stripe sends webhook event Plugin updates order status Stripe Setup Create account: https://stripe.com Get API keys: Publishable key Secret key Add webhook in Stripe Dashboard:
Webhook URL:
https://your-site.com/wp-json/epp/v1/webhook
Events to listen:
payment_intent.succeeded