{"id":42964355,"url":"https://github.com/okfde/froide-payment","last_synced_at":"2026-01-30T23:45:59.575Z","repository":{"id":34895032,"uuid":"175293101","full_name":"okfde/froide-payment","owner":"okfde","description":null,"archived":false,"fork":false,"pushed_at":"2026-01-12T16:26:20.000Z","size":586,"stargazers_count":2,"open_issues_count":2,"forks_count":3,"subscribers_count":8,"default_branch":"main","last_synced_at":"2026-01-12T21:58:06.475Z","etag":null,"topics":["fragdenstaat"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/okfde.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2019-03-12T20:41:45.000Z","updated_at":"2026-01-12T16:26:25.000Z","dependencies_parsed_at":"2024-04-08T14:29:31.776Z","dependency_job_id":"5416f4d7-a471-4106-bf2a-7dafe9bbab30","html_url":"https://github.com/okfde/froide-payment","commit_stats":{"total_commits":234,"total_committers":3,"mean_commits":78.0,"dds":0.008547008547008517,"last_synced_commit":"2cf865264e21781f236aff619153a5df95f966b1"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/okfde/froide-payment","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/okfde%2Ffroide-payment","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/okfde%2Ffroide-payment/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/okfde%2Ffroide-payment/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/okfde%2Ffroide-payment/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/okfde","download_url":"https://codeload.github.com/okfde/froide-payment/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/okfde%2Ffroide-payment/sbom","scorecard":{"id":703984,"data":{"date":"2025-08-11","repo":{"name":"github.com/okfde/froide-payment","commit":"410429ade48dc23a66587f3fbdace2563b3c2271"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.8,"checks":[{"name":"Code-Review","score":0,"reason":"Found 0/9 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Maintained","score":10,"reason":"30 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 10","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'main'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 23 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Vulnerabilities","score":6,"reason":"4 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-xffm-g5w8-qvg7","Warn: Project is vulnerable to: GHSA-v6h2-p8h4-qcjw","Warn: Project is vulnerable to: GHSA-grv7-fg5c-xmjg","Warn: Project is vulnerable to: GHSA-952p-6rrq-rcjv"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-22T05:56:57.921Z","repository_id":34895032,"created_at":"2025-08-22T05:56:57.921Z","updated_at":"2025-08-22T05:56:57.921Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28923730,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-30T22:32:35.345Z","status":"ssl_error","status_checked_at":"2026-01-30T22:32:31.927Z","response_time":66,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5: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":["fragdenstaat"],"created_at":"2026-01-30T23:45:58.906Z","updated_at":"2026-01-30T23:45:59.562Z","avatar_url":"https://github.com/okfde.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Froide payment\n\nA Django app that allows running payment campaigns on FOI requests.\n\n## Configure Stripe Webhooks\n\nInclude `payments.urls` in root URL pattern.\n\n```python\nurlpatterns = [\n    ...\n    url(r'^payments/', include('payments.urls')),\n    ...\n]\n```\n\n### Webhook for Credit Card Payments via Payment Intents\n\nConfigure these event types:\n\n- `payment_intent.payment_failed`\n- `payment_intent.succeeded`\n- `customer.subscription.created`\n- `customer.subscription.updated`\n- `customer.subscription.deleted`\n- `invoice.payment_action_required`\n- `invoice.upcoming`\n- `invoice.created`\n\nUse this URL on your domain:\n\n```\n/payments/process/creditcard/\n```\n\n### Webhook for SEPA Payments\n\nConfigure these event types:\n\n- `payment_intent.processing`\n- `charge.dispute.closed`\n- `invoice.payment_action_required`\n- `invoice.upcoming`\n- `invoice.created`\n- `invoice.finalized`\n- `payment_intent.succeeded`\n- `payment_intent.payment_failed`\n- `customer.subscription.created`\n- `customer.subscription.deleted`\n\nUse this URL on your domain:\n\n```\n/payments/process/sepa/\n```\n\n### Webhook for Sofort Payments\n\nConfigure these event types:\n\n- `charge.succeeded`\n- `charge.failed`\n- `source.chargeable`\n- `source.failed`\n\nUse this URL on your domain:\n\n```\n/payments/process/sofort/\n```\n\n### Webhook for Paypal Payments\n\nConfigure these event types:\n\n-\n\nUse this URL on your domain:\n\n```\n/payments/process/paypal/\n```\n\n## Configure Payment variants\n\n```python\nPAYMENT_VARIANTS = {\n    # 'default': ('payments.dummy.DummyProvider', {})\n    'creditcard': ('froide_payment.provider.StripeIntentProvider', {\n        # Test API keys\n        'public_key': '',\n        'secret_key': '',\n        # separate Webhook signing secret\n        'signing_secret': '',\n    }),\n   'sepa': ('froide_payment.provider.StripeSourceProvider', {\n       # Test API keys\n       'public_key': '',\n       'secret_key': '',\n       # separate Webhook signing secret\n       'signing_secret': '',\n   }),\n    'paypal': ('payments.paypal.PaypalProvider', {\n        'client_id': '',\n        'secret': '',\n        'endpoint': '',\n        'capture': True,\n        'webhook_id': ''\n    }),\n    'sofort': ('froide_payment.provider.StripeSofortProvider', {\n        # Test API keys\n        'public_key': '',\n        'secret_key': '',\n        # separate Webhook signing secret\n        'signing_secret': '',\n    }),\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fokfde%2Ffroide-payment","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fokfde%2Ffroide-payment","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fokfde%2Ffroide-payment/lists"}