{"id":26064829,"url":"https://github.com/syncano/syncano-socket-paypal-config","last_synced_at":"2026-04-22T07:36:14.458Z","repository":{"id":77440729,"uuid":"119637474","full_name":"Syncano/syncano-socket-paypal-config","owner":"Syncano","description":null,"archived":false,"fork":false,"pushed_at":"2018-04-17T11:13:34.000Z","size":73,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-03-08T18:51:12.983Z","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/Syncano.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":"2018-01-31T05:04:53.000Z","updated_at":"2018-04-17T11:13:35.000Z","dependencies_parsed_at":"2023-02-26T10:00:28.181Z","dependency_job_id":null,"html_url":"https://github.com/Syncano/syncano-socket-paypal-config","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Syncano/syncano-socket-paypal-config","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Syncano%2Fsyncano-socket-paypal-config","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Syncano%2Fsyncano-socket-paypal-config/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Syncano%2Fsyncano-socket-paypal-config/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Syncano%2Fsyncano-socket-paypal-config/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Syncano","download_url":"https://codeload.github.com/Syncano/syncano-socket-paypal-config/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Syncano%2Fsyncano-socket-paypal-config/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32126219,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-22T00:31:26.853Z","status":"online","status_checked_at":"2026-04-22T02:00:05.693Z","response_time":58,"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":[],"created_at":"2025-03-08T18:49:28.967Z","updated_at":"2026-04-22T07:36:14.450Z","avatar_url":"https://github.com/Syncano.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# paypal-config\n\n[![CircleCI](https://circleci.com/gh/Syncano/syncano-socket-paypal-config.svg?style=svg)](https://circleci.com/gh/Syncano/syncano-socket-paypal-config)\n\n`version:` **0.0.1**\n\nPayPal configuration on Syncano\n\nTo install, run:\n\n```\nsyncano-cli add paypal-config\n```\n\n## Classes\n\n### `paypal_config` schema\n\n| Name | Type | Filtering | Ordering\n| ---- | ---- | --------- | --------\n| PAYPAL_CLIENT_ID | string | false | false\n| PAYPAL_CLIENT_SECRET | string | false | false\n| PAYPAL_MODE | string | false | false\n\n## Endpoints\n\n### install\n\nInstall Paypal config.\n\n#### Parameters\n\n| name | type | description\n| ---- | ---- | -----------\n| PAYPAL_CLIENT_ID | string | PayPal app Client ID\n| PAYPAL_CLIENT_SECRET | string | PayPal app secret\n| PAYPAL_MODE | string | Configuration mode, which is 'sandbox' for testing or 'live' for production\n\n\n\n#### Response\n\nmimetype: `application/json`\n\n##### Successfully installed `200`\n\n```\n{\n  \"message\": \"Installed successfully\"\n}\n```\n\n##### Unauthorize `403`\n\n```\n{\n  \"message\": \"You are not authorised for this action\"\n}\n```\n\n##### Installation failure `400`\n\n```\n{\n  \"message\": \"Error installing PayPal config\"\n}\n```\n\n### Contributing\n\n#### How to Contribute\n  * Fork this repository\n  * Clone from your fork\n  * Make your contributions (Make sure your work is well tested)\n  * Create Pull request from the fork to this repo\n\n#### Setting up environment variables\n  * Create a `.env` on parent folder\n  * Copy contents of `.env-sample` file to newly created `.env` file and assign appropriate values to the listed variables.\n\n#### Testing\n  * Ensure all your test are written on the `test` directory\n  * Use the command `npm test` to run test\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsyncano%2Fsyncano-socket-paypal-config","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsyncano%2Fsyncano-socket-paypal-config","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsyncano%2Fsyncano-socket-paypal-config/lists"}