{"id":19123139,"url":"https://github.com/digitalbazaar/payment-handler-demo","last_synced_at":"2026-02-12T03:06:18.809Z","repository":{"id":66015276,"uuid":"101531136","full_name":"digitalbazaar/payment-handler-demo","owner":"digitalbazaar","description":"Payment Handler API polyfill demo","archived":false,"fork":false,"pushed_at":"2018-05-17T20:46:00.000Z","size":54,"stargazers_count":2,"open_issues_count":2,"forks_count":1,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-09-02T15:44:13.155Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"HTML","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/digitalbazaar.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":"2017-08-27T05:07:03.000Z","updated_at":"2020-11-10T12:26:16.000Z","dependencies_parsed_at":"2023-03-02T19:00:18.154Z","dependency_job_id":null,"html_url":"https://github.com/digitalbazaar/payment-handler-demo","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/digitalbazaar/payment-handler-demo","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/digitalbazaar%2Fpayment-handler-demo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/digitalbazaar%2Fpayment-handler-demo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/digitalbazaar%2Fpayment-handler-demo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/digitalbazaar%2Fpayment-handler-demo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/digitalbazaar","download_url":"https://codeload.github.com/digitalbazaar/payment-handler-demo/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/digitalbazaar%2Fpayment-handler-demo/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29355930,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-12T01:03:07.613Z","status":"online","status_checked_at":"2026-02-12T02:00:06.911Z","response_time":55,"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":"2024-11-09T05:24:30.931Z","updated_at":"2026-02-12T03:06:18.766Z","avatar_url":"https://github.com/digitalbazaar.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# payment-handler-demo\nPayment Handler API polyfill demo\n\nThe demo works in Chrome, Firefox, and Edge. To make it work in Safari, you will have to allow third party cookies \"Always\":\n\nhttps://stackoverflow.com/questions/38584273/local-storage-cross-domain-safari-disables-it-by-default/38793832\n\nA live version of this demo can be run by following these steps:\n\n1. Go to https://payment-handler.demo.digitalbazaar.com/ and install a payment handler and add some credit cards.\n2. Go to https://payment-merchant.demo.digitalbazaar.com/ and make a (fake) payment!\n\nA video of the demo can be found here:\n\nhttps://www.youtube.com/watch?v=Yb-gWT1t1Rg\n\n## Running the Merchant Demo Site\n\nIf you would like to run the merchant demo site yourself, follow these instructions:\n\n1. Clone this repository:\n\n```\ngit clone https://github.com/digitalbazaar/payment-handler-demo\n```\n\n2. Enter the merchant site directory:\n\n```\ncd angular-payment-merchant\n```\n\n3. Install npm packages.\n\n```\nnpm install\n```\n\n4. Ensure an entry for the local site is in your `/etc/hosts` file. To do this, edit `/etc/hosts` (as root) and map `example.merchant.localhost` to `127.0.0.1`.\n\n5. Run the merchant site in dev mode:\n\n```\nnode dev.js\n```\n\n6. Visit https://example.merchant.localhost:10443 in a browser.\n7. Accept invalid demo SSL certificate.\n8. The merchant demo page should show.\n\nTo run the live demo against your local merchant demo site:\n\n1.  Visit https://payment-handler.demo.digitalbazaar.com/ and install the payment handler and add some credit cards.\n1.  Visit https://example.merchant.localhost:10443 and click \"Buy\".\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdigitalbazaar%2Fpayment-handler-demo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdigitalbazaar%2Fpayment-handler-demo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdigitalbazaar%2Fpayment-handler-demo/lists"}