{"id":18160721,"url":"https://github.com/blankeos/paddle-solid-example","last_synced_at":"2025-10-27T08:12:53.607Z","repository":{"id":248891543,"uuid":"830099542","full_name":"Blankeos/paddle-solid-example","owner":"Blankeos","description":"Paddle integration in Solid + Hono.","archived":false,"fork":false,"pushed_at":"2024-07-17T16:10:04.000Z","size":80,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-13T08:41:23.198Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/Blankeos.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}},"created_at":"2024-07-17T15:31:23.000Z","updated_at":"2024-07-17T16:10:07.000Z","dependencies_parsed_at":"2024-07-17T19:16:49.369Z","dependency_job_id":null,"html_url":"https://github.com/Blankeos/paddle-solid-example","commit_stats":null,"previous_names":["blankeos/paddle-solid-example"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Blankeos%2Fpaddle-solid-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Blankeos%2Fpaddle-solid-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Blankeos%2Fpaddle-solid-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Blankeos%2Fpaddle-solid-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Blankeos","download_url":"https://codeload.github.com/Blankeos/paddle-solid-example/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247589831,"owners_count":20963022,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":[],"created_at":"2024-11-02T08:09:10.593Z","updated_at":"2025-10-27T08:12:48.570Z","avatar_url":"https://github.com/Blankeos.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# paddle-solid-example\n\n\u003e [!WARNING]\n\u003e Currently WIP. I'm using this to learn at the moment but will polish it out as my standard for integrating payments with Paddle.\n\n\u003e This was bootstrapped with [Solid Hop](https://github.com/blankeos/solid-hop).\n\n- Paddle\n- SolidJS\n- Hono + Vike\n\nA Paddle integration that works in the 🇵🇭 Philippines :D. If you're just learning, I recommend cloning this and taking a few hours to study it (even if I don't use similar tech as you).\n\nConcept: A Watercolor Brush Company\n\nFeatures covered\n\n- [x] Products\n  - [x] Simple one-time payment with tiers (Basic, Professional Set for Watercolor Brushes)\n  - [x] Recurring Subscription (Membership)\n  - [ ] One-time payment with extra units (Watercolor event tickets)\n- [ ] Discounts\n- [ ] Webhook\n- [ ] Non-paddle related: Simple Auth + Database signifiying that the user has paid\n\n## Quickstart\n\n1. Fill environment variables\n\n   - `cp .env.example .env`\n   - `PUBLIC_ENV__PADDLE_SELLER_ID` - From **Paddle \u003e Developer Tools \u003e Authentication**\n   - `PUBLIC_ENV__PADDLE_CLIENT_SIDE_TOKEN` - From **Paddle \u003e Developer Tools \u003e Authentication**\n\n2. Create Products and Prices in Paddle\n\n   - Go to **Paddle \u003e Catalog \u003e Products**\n   - Make the following:\n     - Watercolor Brush (Basic) - $4 - One-time payment\n     - Watercolor Brush (Profesional Set) - $14 - One-time payment\n     - Watercolor Co Membership - $4 - Recurring Subscription per month\n   - After creating the products, get their **Price IDs**\n   - Go to `index/+Page.tsx` of this project and paste the **Price IDs** in the `products.id`.\n\n3. Install deps and run dev server\n   ```sh\n   bun install\n   bun dev\n   ```\n\n## Some notes\n\nPaddle-related:\n\n- [x] Get **Seller ID** from \\***\\*Paddle \u003e Developer Tools \u003e Authentication\\*\\*** Page\n- [x] Create a **Product** and **Price** from **Paddle \u003e Catalog \u003e Products**\n- [x] Generate a **Client-Side Token** from **Paddle \u003e Developer Tools \u003e Authentication**\n\nCode-related:\n\n- [x] Install @paddle/paddle-js\n- [x] Make a context provider surrounding Paddle.\n\n## Resources\n\n- https://github.com/PaddleHQ/paddle-js-wrapper\n- https://developer.paddle.com/build/checkout/build-overlay-checkout\n- https://www.youtube.com/watch?v=r7uf_u7tI7k (Super outdated)\n\n\u003c!-- ```\n                                \u003e Success\n                               /\n[Checkout] -\u003e Checkout Session\n                               \\\n                                \u003e Cancel\n```\n\nNo webhooks, no database, just using the Stripe sdk.\nI gave up midway. Stripe isn't available in the 🇵🇭 Philippines :D. --\u003e\n\n\u003c!--\n# 🐇 Solid Hop\n\n💙 A **minimal** and **unopinionated** Vike + Solid + Hono starter.\n\n❤️ We love Vike and Solid, but it might be overwhelming to setup. The goal of this starter is to get you up and running quickly with good defaults without getting in the way of your opinions.\n\nThis is more or less what you would get from a starter with `create next-app` or `create svelte` or `create solid`.\n\nIf you want a more opinionated and fully-featured boilerplate instead: http://github.com/blankeos/solid-launch\n\n## Tech Stack:\n\n1. Vike + Hono - For SSR + Your own Server.\n2. SolidJS\n3. Bun (Can swap this with Node easily if you want).\n4. Tools: ESLint, Prettier\n\n## Quick Start\n\n1. Clone\n\n```sh\ngit clone https://github.com/blankeos/solid-hop \u003cyour-app-name\u003e\ncd \u003cyour-app-name\u003e\nrm -rf .git # This is your app. Start the commits fresh :D\n```\n\n1. Install\n\n```sh\nbun install\n```\n\n3. Run dev server\n\n```sh\nbun dev\n```\n\n## Building and Deployment\n\n1. Build\n\n```sh\nbun run build\n```\n\n2. Wherever you deploy, just run make sure that this is ran:\n\n```sh\nbun run preview # Just runs server.ts\n``` --\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fblankeos%2Fpaddle-solid-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fblankeos%2Fpaddle-solid-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fblankeos%2Fpaddle-solid-example/lists"}