{"id":34705898,"url":"https://github.com/ifttt/stripe-chartmogul-sync","last_synced_at":"2026-05-26T15:32:25.422Z","repository":{"id":47576198,"uuid":"395408320","full_name":"IFTTT/stripe-chartmogul-sync","owner":"IFTTT","description":"Serverless CDK-based pipeline for syncing between Stripe and ChartMogul","archived":false,"fork":false,"pushed_at":"2021-08-26T14:20:18.000Z","size":44,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":12,"default_branch":"main","last_synced_at":"2025-12-26T11:18:41.798Z","etag":null,"topics":[],"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/IFTTT.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}},"created_at":"2021-08-12T18:18:56.000Z","updated_at":"2021-08-26T14:20:22.000Z","dependencies_parsed_at":"2022-07-22T06:17:57.372Z","dependency_job_id":null,"html_url":"https://github.com/IFTTT/stripe-chartmogul-sync","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/IFTTT/stripe-chartmogul-sync","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IFTTT%2Fstripe-chartmogul-sync","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IFTTT%2Fstripe-chartmogul-sync/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IFTTT%2Fstripe-chartmogul-sync/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IFTTT%2Fstripe-chartmogul-sync/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/IFTTT","download_url":"https://codeload.github.com/IFTTT/stripe-chartmogul-sync/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IFTTT%2Fstripe-chartmogul-sync/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33527529,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"ssl_error","status_checked_at":"2026-05-26T15:22:15.568Z","response_time":63,"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":[],"created_at":"2025-12-24T23:21:16.830Z","updated_at":"2026-05-26T15:32:25.395Z","avatar_url":"https://github.com/IFTTT.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# Stripe ChartMogul Sync\n\n![Architecture](/assets/architecture.png)\n\nA serverless CDK-based pipeline for syncing Stripe data with ChartMogul\n\nThis CDK registers a Lambda Function with EventBridge that processes Stripe events. The Lambda Function performs a one-way sync of the customer and related invoices from Stripe to ChartMogul.\n\n![Sequence Diagram](/assets/sequence-diagram.png)\n\n## Setup\n\n- Create the virtual environment: `python3 -m venv .venv`\n- Enable the virtual environment: `source .venv/bin/activate`\n- Install dependencies: `pip install -r requirements.txt`\n- Deploy the stack: `cdk deploy`\n\n## Events\n- This pipeline listens for Stripe events on the `$default` Event Bus with the following rule:\n  - `source == stripe`\n\n## Design Notes\n\n- Events can arrive from Stripe [out of order](https://stripe.com/docs/webhooks/best-practices#event-ordering), which is why this process has a brute force design that ignores the event payload. Instead, the Lambda Function is simply triggered when a customer has changed in some way.\n- Events can flow into this pipeline from anywhere. Typically the two sources are Stripe webhook events or a reconsiliation process that might be run to update customer records that might be out of sync.\n\n## Testing Locally\n[https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/serverless-cdk-getting-started.html](Install) the preview version of the SAM CLI.\n\n```\n$ sam-beta-cdk --version\nSAM CLI, version 1.22.0.dev202107140310\n\n\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fifttt%2Fstripe-chartmogul-sync","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fifttt%2Fstripe-chartmogul-sync","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fifttt%2Fstripe-chartmogul-sync/lists"}