{"id":21832813,"url":"https://github.com/asyncwebio/strapi-paypal","last_synced_at":"2025-04-14T07:37:37.221Z","repository":{"id":65428913,"uuid":"566164670","full_name":"asyncwebio/strapi-paypal","owner":"asyncwebio","description":null,"archived":false,"fork":false,"pushed_at":"2023-06-27T03:08:13.000Z","size":8503,"stargazers_count":6,"open_issues_count":1,"forks_count":3,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-06-30T13:19:42.067Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/asyncwebio.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":"2022-11-15T05:00:09.000Z","updated_at":"2023-11-06T19:05:16.000Z","dependencies_parsed_at":"2024-06-06T08:50:35.208Z","dependency_job_id":"6c140924-e356-4eb1-90c9-271a20ccb30f","html_url":"https://github.com/asyncwebio/strapi-paypal","commit_stats":null,"previous_names":["asyncwebio/strapi-paypal","asyncweb/strapi-paypal"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/asyncwebio%2Fstrapi-paypal","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/asyncwebio%2Fstrapi-paypal/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/asyncwebio%2Fstrapi-paypal/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/asyncwebio%2Fstrapi-paypal/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/asyncwebio","download_url":"https://codeload.github.com/asyncwebio/strapi-paypal/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248840544,"owners_count":21170011,"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-27T19:26:12.095Z","updated_at":"2025-04-14T07:37:37.193Z","avatar_url":"https://github.com/asyncwebio.png","language":"JavaScript","funding_links":["https://www.paypal.com/","https://api-m.sandbox.paypal.com","https://api-m.paypal.com"],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n   \u003cimg alt=\"stripe payment title\" width=\"60\" src=\"https://higheredlab.com/wp-content/uploads/strapi-stripe-logo-150x150.png\"\u003e\n\u003c/div\u003e\n\u003ch1 align=\"center\"\u003ePaypal Payments\u003c/h1\u003e\n\u003cp align=\"center\"\u003eOnline payments and subscriptions made simple, secure and fast.\u003c/p\u003e\n\u003cp align=\"center\"\u003eThis free plugin enables you to accept online payments and create subscriptions using Paypal account or Credit/Debit card on your Strapi app via Paypal.\u003c/p\u003e\n\n\u003cbr /\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://www.npmjs.com/package/strapi-paypal\"\u003e\n\u003cimg alt=\"GitHub package.json version\" src=\"https://img.shields.io/github/package-json/v/AsyncWeb/strapi-paypal?label=npm\u0026logo=npm\"\u003e\n\u003c/a\u003e\n\u003ca href=\"https://www.npmjs.org/package/strapi-paypal\"\u003e\n\u003cimg src=\"https://img.shields.io/npm/dm/strapi-paypal.svg\" alt=\"Monthly download on NPM\" /\u003e\n\u003c/a\u003e\n\u003ca href=\"https://github.com/AsyncWeb/strapi-paypal/actions/workflows/eslint.yml/badge.svg\"\u003e\n\u003cimg src=\"https://github.com/AsyncWeb/strapi-paypal//actions/workflows/eslint.yml/badge.svg\" alt=\"EsLint\" /\u003e\n\u003c/a\u003e\n\u003c/p\u003e\n\n\u003cbr\u003e\n\n\u003cimg style=\"width: 100%; height: auto;\" src=\"static/paypal-overview.gif\" alt=\"paypal-overview\" /\u003e \u003cbr/\u003e\n\n\u003cbr/\u003e\u003cbr/\u003e\n\n## Paypal Payment plugin for Strapi\n\n[paypal](https://www.paypal.com/) Online payment processing for internet businesses. It's a suite of payment APIs that powers commerce for online businesses of all sizes.\n\n[Strapi](https://strapi.io/) is the leading open-source headless Content Management System. It’s 100% JavaScript, fully customizable and developer-first.\n\n## Overview: Start accepting online payments\n\nThe Paypal Payments plugin enables you to accept debit and credit card payments on your Strapi website or app.\n\nSetting up the plugin is super easy and can be completed within 10 minutes.\n\n1. Enter your Paypal API credentials.\n1. Create some products, for which the plugin will automtically generate the payment button code.\n1. Embed the payment button code on your product listing page.\n1. On clicking the payment button, your customer will be redirected to the payment page, securely hosted by Stripe.\n1. On making payment, your customer is redirected back to your checkout result page that you can customize.\n\nThat's all you need to do to turn your Strapi website or application into an e-commerce site!\n\n\u003cbr/\u003e\u003cbr/\u003e\n\n## ✨ Features\n\n1. Quick installation and setup.\n1. Easily accept online payment for any products (or services) you want to sell on your Strapi site.\n1. Automatically creates payment buttons for you to embed anywhere on your site.\n1. Add multiple “Buy Now” payment buttons on a page.\n1. Specify a custom name, description for a product.\n1. Customize the message on the checkout result page.\n1. Configure the currency type for the payment.\n1. Run in test mode for debugging\n\n\u003cbr/\u003e\u003cbr/\u003e\n\n## 🖐 Requirements\n\nThe requirements to install the Paypal Payments plugin is the same as those to install Strapi.\n\nPlease refer to the official Strapi installation requirement doc here: [Installation Requirements](https://docs.strapi.io/developer-docs/latest/getting-started/introduction.html).\n\n**Minimum environment requirements**\n\n- Node.js `\u003e=18.x.x`\n- NPM `\u003e=8.x.x`\n\nWe are following the [official Node.js releases timelines](https://nodejs.org/en/about/releases/).\n\n**Supported Strapi versions**:\n\n- Strapi v4.11.0 (recently tested)\n\n- Strapi v4.x\n\n\u003e The Stripe Payments plugin is designed for **Strapi v4.x**. It won't work with Strapi v3.x.\n\n\u003cbr/\u003e\u003cbr/\u003e\n\n## ⏳ Installation\n\nUse **npm** to install this plugin within your Strapi project.\n\n[Refer to this doc to install npm](https://docs.npmjs.com/cli/v6/commands/npm-install)\n\n```bash\nnpm i strapi-paypal\n```\n\nAfter successful installation please add the below enviornment variables in `.env` files\n\n```bash\nSTRAPI_ADMIN_API_TOKEN=*your strapi api token*\nSTRAPI_ADMIN_PAYPAL_SANDBOX_API_URL=https://api-m.sandbox.paypal.com\nSTRAPI_ADMIN_PAYPAL_LIVE_API_URL=https://api-m.paypal.com\nSTRAPI_ADMIN_LIVE_PAYPAL_CLIENT_ID=*your live paypal client id*\nSTRAPI_ADMIN_LIVE_PAYPAL_CLIENT_SECRET=*your live paypal client secret*\nSTRAPI_ADMIN_SANDBOX_PAYPAL_CLIENT_ID=*your sandbox paypal client id*\nSTRAPI_ADMIN_SANDBOX_PAYPAL_CLIENT_SECRET=*your sandbox paypal client secret*\n```\n\n\u003e Note: You can get the STRAPI_ADMIN_API_TOKEN from your Strapi Admin Panel. Go to ` Settings -\u003e Global settings -\u003eAPI Tokens -\u003e Create new API Token`. Make Sure to Select `Token duration-\u003e Unlimited` and `Token type -\u003e Full Access` and save it Copy the token and add it in .env file.\n\n\u003e Note: Please Make sure to add the .env variables and verify them before starting the server.\n\n\u003cbr/\u003e\nAfterwards, you would need to build a fresh package that includes the Translator plugin. For it, please execute the commands below:\n\n```bash\n# with npm (option 1)\n$ npm run build\n$ npm run develop\n\n# with npx (option 2)\n$ npx strapi  build\n$ npx strapi  develop\n```\n\nThe **Payment** plugin should appear in the **Plugins** section of the Strapi sidebar after you run the app again.\n\nNow you are ready to accept online payments via Stripe on your Strapi website 🎉\n\n\u003cbr/\u003e\u003cbr/\u003e\n\n## 🔧 Configuration\n\nYou can easily configure the Paypal Payments plugin to connect with your Paypal Account.\n\n- Go to ` Settings -\u003e PAYPAL -\u003e Configuration`.\n- On the configiration page, Enter All the fields.\n- Using `Live Mode` Switch Box, you can easily toggle between Paypal Test and Live mode.\n- Click on Save to save the Paypal configuration.\n\n\u003cbr/\u003e\u003cbr/\u003e\n\u003cimg style=\"width: 100%; height: auto;\" src=\"static/paypal-configuration.png\" alt=\"paypal-Configuration\" /\u003e\n\u003cbr/\u003e\u003cbr/\u003e\n\n\u003cbr/\u003e\n\n## Create a Product\n\nAfter configuring Paypal, you can create products.\n\nThe products or subscription that you would create via the plugin will also automatically get created in Paypal.\n\nFollow the steps below to create a product:\n\n1. Click on Paypal in the **Plugins** section.\n1. Click on Add Product.\n1. choose Payment type,One-Time or Subscription.\n   - For One-Time, you would charge your customer only one-time.\n   - For a subscription, you would charge your customer every month.\n1. Enter all the required fields.\n1. Click on create button to create a product or subscription.\n\n\u003cbr/\u003e\u003cbr/\u003e\n\u003cimg style=\"width: 100%; height: auto;\" src=\"static/paypal-product-create.gif\" alt=\"paypal-product-create\" /\u003e\n\u003cbr/\u003e\u003cbr/\u003e\n\n\u003cbr/\u003e\n\n## Embed Payment Button Code\n\nAfter creating a product, click on the Embed Code icon.\n\nYou would see a popup with easy-to-follow steps, detailed below, to embed the Payment button on your product listing page.\n\n- Embed the script tag to Your product listing, payment success and payment failure pages.\n- Embed the Payment Button Code on your product listing page.\n- You can customize the text of the Payment Button (example - Buy Now, Pay Now) and style using the appropriate css.\n\nYour product listing page is where you would show all your products for your customers to browse through and purchase. Setting up the product listing page is beyond the scope of this plugin as that would depend on your choice for the frontend.\n\n\u003cbr/\u003e\n\n## Accept Online Payments\n\nAfter you embedding the Payment Button on your product list page, you are ready to accept online payments.\n\n\u003cbr/\u003e\n\n\u003cbr/\u003e\n\n## 📝 License\n\n[MIT License](LICENSE.md)\n\nCopyright © 2022 [AsyncWeb](https://higheredlab.com/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fasyncwebio%2Fstrapi-paypal","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fasyncwebio%2Fstrapi-paypal","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fasyncwebio%2Fstrapi-paypal/lists"}