{"id":16082215,"url":"https://github.com/zastinian/paypalsandboxapi","last_synced_at":"2025-04-05T11:44:52.705Z","repository":{"id":175914370,"uuid":"654705210","full_name":"Zastinian/PaypalSandboxAPI","owner":"Zastinian","description":"This project is an Express application that implements integration with the PayPal API for payment processing. It provides two routes: one for creating a new PayPal order and another for capturing an existing order.","archived":false,"fork":false,"pushed_at":"2023-06-16T19:05:12.000Z","size":8,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-10T22:49:52.915Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://developer.paypal.com","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/Zastinian.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":"2023-06-16T18:35:28.000Z","updated_at":"2024-03-22T20:16:35.000Z","dependencies_parsed_at":null,"dependency_job_id":"735f1287-8555-41c6-8fe5-d6cc1591c6d4","html_url":"https://github.com/Zastinian/PaypalSandboxAPI","commit_stats":null,"previous_names":["zastinian/paypalsandboxapi"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Zastinian%2FPaypalSandboxAPI","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Zastinian%2FPaypalSandboxAPI/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Zastinian%2FPaypalSandboxAPI/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Zastinian%2FPaypalSandboxAPI/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Zastinian","download_url":"https://codeload.github.com/Zastinian/PaypalSandboxAPI/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247332546,"owners_count":20921853,"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-10-09T11:26:39.164Z","updated_at":"2025-04-05T11:44:52.683Z","avatar_url":"https://github.com/Zastinian.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Description\n\nThis project is an Express application that implements integration with the PayPal API for payment processing. It provides two routes: one for creating a new PayPal order and another for capturing an existing order.\n\n## Prerequisites\n\nBefore running the application, make sure you have the following prerequisites:\n\n- Node.js installed on your machine.\n- Environment variable configuration:\n  - `PORT`: Port on which the application will run.\n  - `PAYPAL_API`: Base URL of the PayPal API.\n  - `HOST`: Domain name or URL of your application.\n  - `CLIENT`: PayPal API client.\n  - `SECRET`: PayPal API secret key.\n\n## Usage\n\n```bash\nnpm install\nnpm run dev\n```\n\nOnce the application is up and running, you can access the following routes:\n\n- `GET /create-order`: Creates a new PayPal order and returns the order data in JSON format.\n- `GET /capture-order?token=\u003corder-token\u003e`: Captures an existing PayPal order using the provided order token as a query parameter.\n- `GET /cancel-payment`: Cancels the payment and redirects to the home page.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzastinian%2Fpaypalsandboxapi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzastinian%2Fpaypalsandboxapi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzastinian%2Fpaypalsandboxapi/lists"}