{"id":50142387,"url":"https://github.com/adamjohnlea/leastudios-payments","last_synced_at":"2026-05-24T02:04:57.849Z","repository":{"id":359608673,"uuid":"1224186107","full_name":"adamjohnlea/leastudios-payments","owner":"adamjohnlea","description":"Stripe payments for WordPress. Accept one-time payments and subscriptions using Stripe Embedded Checkout, manage orders and subscriptions from the admin, and process refunds without leaving WordPress.","archived":false,"fork":false,"pushed_at":"2026-05-22T19:46:33.000Z","size":178,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-05-22T20:29:00.172Z","etag":null,"topics":["mysql","php","stripe","wordpress","wordpress-plugin"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/adamjohnlea.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-04-29T03:24:46.000Z","updated_at":"2026-05-22T19:42:01.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/adamjohnlea/leastudios-payments","commit_stats":null,"previous_names":["adamjohnlea/leastudios-payments"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/adamjohnlea/leastudios-payments","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adamjohnlea%2Fleastudios-payments","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adamjohnlea%2Fleastudios-payments/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adamjohnlea%2Fleastudios-payments/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adamjohnlea%2Fleastudios-payments/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/adamjohnlea","download_url":"https://codeload.github.com/adamjohnlea/leastudios-payments/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adamjohnlea%2Fleastudios-payments/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33418555,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-23T22:14:44.296Z","status":"online","status_checked_at":"2026-05-24T02:00:06.296Z","response_time":57,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["mysql","php","stripe","wordpress","wordpress-plugin"],"created_at":"2026-05-24T02:04:56.999Z","updated_at":"2026-05-24T02:04:57.835Z","avatar_url":"https://github.com/adamjohnlea.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# leaStudios Payments\n\nStripe payments for WordPress. Accept one-time payments and subscriptions using Stripe Embedded Checkout, manage orders and subscriptions from the admin, and process refunds without leaving WordPress.\n\n- **Requires WordPress:** 6.4+\n- **Requires PHP:** 8.1+\n- **License:** GPL-2.0-or-later\n\n## Features\n\n- **Embedded Checkout** — Stripe's hosted checkout form embedded on your site. PCI-compliant; no card data ever touches your server.\n- **One-time and subscription products** — synced to Stripe; managed from the WordPress admin.\n- **Shortcode + Gutenberg block** — `[leastudios_payment price_id=\"...\"]` or the block editor.\n- **Order, subscription, and customer management** with refunds and Customer Portal access.\n- **Confirmation page** with merge tags (`{customer_name}`, `{amount}`, `{product_name}`, …).\n- **Account page** for customers to view orders, manage subscriptions, and update billing.\n- **Dashboard widget** — 30-day revenue, orders, subscriptions, refunds.\n- **Webhook handling** for checkout completion, subscription lifecycle, invoice payments, payment failures, and refunds.\n- **Encrypted Stripe credentials** at rest (libsodium).\n- **Rate limiting** on checkout endpoint; duplicate-processing protection on webhooks.\n\n## Installation\n\n1. Upload `leastudios-payments` to `/wp-content/plugins/`.\n2. Activate via Plugins → Installed Plugins.\n3. Go to **Payments → Settings** and enter your Stripe API keys.\n4. Create a product under **Payments → Products**.\n5. Add a checkout button via shortcode or the block editor.\n6. Configure the Stripe webhook to point at the URL shown on the Settings page.\n\n## Related plugins\n\nThis plugin is part of the leaStudios plugin family. It works on its own, and integrates with:\n\n- **[leastudios-email-templates](../leastudios-email-templates)** — sends branded transactional emails (receipts, subscription created, renewals, payment failed, refund processed) for events emitted by this plugin.\n- **[leastudios-mailer](../leastudios-mailer)** — routes outgoing emails through Amazon SES with delivery logging.\n\n## Development\n\nThis plugin is self-contained — it can be cloned, linted, tested, and packaged on its own.\n\n```bash\ncomposer install            # install dependencies (incl. dev tools)\ncomposer lint               # phpcs + phpstan\ncomposer test               # phpunit (requires the WP test library)\ncomposer phpcbf             # auto-fix WPCS issues\n```\n\nTo run the test suite, install the WordPress test library once (any directory works):\n\n```bash\nbash ../leastudios-dev-tools/bin/install-wp-tests.sh wordpress_test root '' localhost latest\n```\n\nThe shared scaffold, packaging script, project-wide development conventions, and config templates live in **[leastudios-dev-tools](../leastudios-dev-tools)** — start there when bootstrapping a new plugin or making cross-plugin tooling changes.\n\n## License\n\nGPL-2.0-or-later. See [LICENSE](LICENSE) (or `readme.txt` for the WordPress.org-style header).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadamjohnlea%2Fleastudios-payments","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fadamjohnlea%2Fleastudios-payments","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadamjohnlea%2Fleastudios-payments/lists"}