{"id":17303295,"url":"https://github.com/gregjopa/paypal-button-full-page-redirect-example","last_synced_at":"2025-04-14T13:08:49.958Z","repository":{"id":169437641,"uuid":"644931893","full_name":"gregjopa/paypal-button-full-page-redirect-example","owner":"gregjopa","description":"HTML-Only PayPal Button integration with the v2 Orders API","archived":false,"fork":false,"pushed_at":"2024-04-19T15:52:28.000Z","size":432,"stargazers_count":4,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-28T02:13:04.379Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/gregjopa.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}},"created_at":"2023-05-24T14:50:08.000Z","updated_at":"2024-09-06T16:44:25.000Z","dependencies_parsed_at":"2024-04-16T23:29:06.683Z","dependency_job_id":"f1259291-ac90-46bf-886f-f436853edf86","html_url":"https://github.com/gregjopa/paypal-button-full-page-redirect-example","commit_stats":null,"previous_names":["gregjopa/paypal-button-full-page-redirect-example"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gregjopa%2Fpaypal-button-full-page-redirect-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gregjopa%2Fpaypal-button-full-page-redirect-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gregjopa%2Fpaypal-button-full-page-redirect-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gregjopa%2Fpaypal-button-full-page-redirect-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gregjopa","download_url":"https://codeload.github.com/gregjopa/paypal-button-full-page-redirect-example/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248886323,"owners_count":21177643,"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-15T11:50:03.608Z","updated_at":"2025-04-14T13:08:49.626Z","avatar_url":"https://github.com/gregjopa.png","language":"TypeScript","funding_links":["https://developer.paypal.com/docs/api/orders/v2/"],"categories":[],"sub_categories":[],"readme":"# PayPal Button Full Page Redirect Example\n\nNode.js web server for testing a html-only PayPal Button integration with the [Orders API](https://developer.paypal.com/docs/api/orders/v2/). Built with the [Fastify web framework](https://www.fastify.io/).\n\n## Quick Start\n\nCopy `example.env` to a new file named `.env` in this project's root directory and add your API credentials to it. This will securely pass them and other config options to the Node.js web server as environment variables at runtime. The `.env` file with your credentials should _never_ be checked into git version control.\n\nThis application requires Node.js version 16.8.0 or higher. Please ensure you have installed and enabled the correct version.\n\nThen install dependencies and start the local web server:\n\n```bash\nnpm install\nnpm run dev\n```\n\nThen go to http://localhost:3006/\n\n## When to use this integration pattern\n\nWhen you want to render the PayPal Button on your e-commerce website, but you have strict security rules that prevent:\n\n- 3rd party JavaScript\n- Cross-origin documents (iframes/popups)\n  - [Cross-Origin-Opener-Policy](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Cross-Origin-Opener-Policy)\n  - [Cross-Origin-Embedder-Policy](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Cross-Origin-Embedder-Policy)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgregjopa%2Fpaypal-button-full-page-redirect-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgregjopa%2Fpaypal-button-full-page-redirect-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgregjopa%2Fpaypal-button-full-page-redirect-example/lists"}