{"id":40091232,"url":"https://github.com/nullsimon/paypal-checkout-example","last_synced_at":"2026-01-19T10:03:53.386Z","repository":{"id":108399594,"uuid":"277032100","full_name":"nullsimon/paypal-checkout-example","owner":"nullsimon","description":null,"archived":false,"fork":false,"pushed_at":"2023-11-12T07:37:50.000Z","size":900,"stargazers_count":0,"open_issues_count":4,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2023-11-12T08:25:32.784Z","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/nullsimon.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}},"created_at":"2020-07-04T03:35:54.000Z","updated_at":"2022-12-12T14:15:21.000Z","dependencies_parsed_at":"2023-04-18T13:36:21.732Z","dependency_job_id":null,"html_url":"https://github.com/nullsimon/paypal-checkout-example","commit_stats":null,"previous_names":[],"tags_count":0,"template":null,"template_full_name":null,"purl":"pkg:github/nullsimon/paypal-checkout-example","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nullsimon%2Fpaypal-checkout-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nullsimon%2Fpaypal-checkout-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nullsimon%2Fpaypal-checkout-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nullsimon%2Fpaypal-checkout-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nullsimon","download_url":"https://codeload.github.com/nullsimon/paypal-checkout-example/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nullsimon%2Fpaypal-checkout-example/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28565056,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-19T08:53:44.001Z","status":"ssl_error","status_checked_at":"2026-01-19T08:52:40.245Z","response_time":67,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":"2026-01-19T10:03:53.324Z","updated_at":"2026-01-19T10:03:53.376Z","avatar_url":"https://github.com/nullsimon.png","language":"JavaScript","funding_links":["https://developer.paypal.com/docs/api/overview/"],"categories":[],"sub_categories":[],"readme":"# A Shopping cart with Paypal Checkout Button integration build with React and Nodejs-Express\n\n\n## based on following project \n* Shopping-Cart  https://github.com/AyaBellazreg/React-Shopping-Cart/tree/master/Shopping-Cart\n* React-Paypal-Button  https://www.npmjs.com/package/react-paypal-button-v2\n\n\n## Demo\n[Here](http://demo.alittletrash.com/)\n\n## Feature\n**shopping cart**\n* A shopping list page with items \n* A shopping cart with add and remove items\n* Calculate total money with shipping\n\n**buyer's information form**\n*  buyer's information with shipping address\n\n**paypal button**\n* a paypal button integration of paypal checkout\n\n**checkout process**\n* when button clicked, the  buyer's infomation and shopping items list would be send to paypal\n* when customer approved, it communicate with server to complete order\n* finally, the user get a thank you page \n\n\n## Getting Start\n\n### Requirements\n* Nodejs\n* Npm\n* nginx \n\n### frontend build\n\n1 configuration: replace the clientId with your own, you can get it from paypal [paypal sandbox](https://developer.paypal.com/docs/api/overview/)\n\n``` bash\nvim Shopping-Cart/src/components/PaypalCheckout.js\n```\n\n``` js\noptions={{\n    clientId: \"Your Own Sandbox ClientId\",\n    currency: \"USD\"\n}}\n```\n\n2 install dependency and run the client\n\n``` bash\ncd Shopping-Cart\nnpm install \n```\nrun in local\n``` bash\nnpm start\n```\n\nor build production \n``` bash\nnpm run build\n```\n\n### Run server\n\n1 configuration: fill your own config\n\n``` bash\nvim paypal-checkout-server/paypal.js\n```\n\n``` js\nconst clientId = \"Your Own Sandbox ClientId\";\nconst clientSecret = \"Your Own Sandbox Secret\";\n``` \n\n2 install dependency and run the server\n\n``` bash\ncd paypal-checkout-server\nnpm install\nnpm start\n```\n\n### nginx configuration\n1 this project uses a nginx as a front server\n\n2 example file:  config/nginx.conf","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnullsimon%2Fpaypal-checkout-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnullsimon%2Fpaypal-checkout-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnullsimon%2Fpaypal-checkout-example/lists"}