WP Manifestindependent plugin directory
manifest / ecommerce / easy-peasy-pay

Easy Peasy Pay

★ 0stars

Install

Download source zip No release zip yet

This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.

Install straight from GitHub with WP-CLI:

wp plugin install https://github.com/prishpon/easy-peasy-pay/archive/refs/heads/main.zip
No built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.

Features 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

  1. 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