{"id":15489425,"url":"https://github.com/payum/payumbundle","last_synced_at":"2025-05-13T22:03:07.596Z","repository":{"id":5801816,"uuid":"7016481","full_name":"Payum/PayumBundle","owner":"Payum","description":"Payum offers everything you need to work with payments. From simplest use cases to very advanced ones.","archived":false,"fork":false,"pushed_at":"2025-03-19T19:06:54.000Z","size":1676,"stargazers_count":576,"open_issues_count":35,"forks_count":144,"subscribers_count":21,"default_branch":"master","last_synced_at":"2025-04-25T06:38:58.137Z","etag":null,"topics":["be2bill","papyal","payex","payment","stripe","symfony"],"latest_commit_sha":null,"homepage":"https://payum.gitbook.io/payum","language":"PHP","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/Payum.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"Security/HttpRequestVerifier.php","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2012-12-05T11:40:39.000Z","updated_at":"2025-04-04T03:44:23.000Z","dependencies_parsed_at":"2024-06-18T10:54:11.913Z","dependency_job_id":"18feb97b-5011-40a6-85f0-0ed74b6dd6a3","html_url":"https://github.com/Payum/PayumBundle","commit_stats":{"total_commits":815,"total_committers":75,"mean_commits":"10.866666666666667","dds":"0.26625766871165646","last_synced_commit":"6c2cd27d9d6e557022cddc1049865ede4e1c9c79"},"previous_names":[],"tags_count":78,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Payum%2FPayumBundle","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Payum%2FPayumBundle/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Payum%2FPayumBundle/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Payum%2FPayumBundle/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Payum","download_url":"https://codeload.github.com/Payum/PayumBundle/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251336400,"owners_count":21573189,"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":["be2bill","papyal","payex","payment","stripe","symfony"],"created_at":"2024-10-02T07:05:37.957Z","updated_at":"2025-04-28T15:21:04.287Z","avatar_url":"https://github.com/Payum.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch2 align=\"center\"\u003eSupporting Payum\u003c/h2\u003e\n\nPayum is an MIT-licensed open source project with its ongoing development made possible entirely by the support of community and our customers. If you'd like to join them, please consider:\n\n- [Become our client](https://forma-pro.com/)\n\n---\n\n# PayumBundle \n[![Gitter](https://badges.gitter.im/Payum/Payum.svg)](https://gitter.im/Payum/Payum?utm_source=badge\u0026utm_medium=badge\u0026utm_campaign=pr-badge)\n[![Build Status](https://github.com/Payum/PayumBundle/actions/workflows/tests.yaml/badge.svg)](https://github.com/Payum/PayumBundle/actions/workflows/tests.yaml)\n[![Total Downloads](https://poser.pugx.org/payum/payum-bundle/d/total.png)](https://packagist.org/packages/payum/payum-bundle) \n[![Latest Stable Version](https://poser.pugx.org/payum/payum-bundle/version.png)](https://packagist.org/packages/payum/payum-bundle)\n\nThe bundle  integrate [payum](https://github.com/Payum/Payum) into [symfony](https://symfony.com/) framework.\nIt already supports [+35 gateways](https://github.com/Payum/Payum/blob/master/docs/supported-gateways.md).\nProvide nice configuration layer, secured capture controller, storages integration and lots of more features.\n\n[Sylius, an open source headless eCommerce platform](https://sylius.com/), base its payment solutions on top of the bundle.\n\n## Resources\n\n* [Site](https://payum.forma-pro.com/)\n* [Documentation](https://payum.gitbook.io/payum/symfony/get-it-started)\n* [Sandbox](https://github.com/makasim/PayumBundleSandbox)\n* [Questions](https://stackoverflow.com/questions/tagged/payum)\n* [Issue Tracker](https://github.com/Payum/PayumBundle/issues)\n* [Twitter](https://twitter.com/payumphp)\n\n## Examples\n\n### Configure:\n\n```yaml\npayum:\n    storages:\n        Payum\\Core\\Model\\Payment:\n            filesystem:\n                storage_dir: '%kernel.root_dir%/Resources/payments'\n                id_property: number\n\n    security:\n        token_storage:\n            Payum\\Core\\Model\\Token:\n                filesystem:\n                    storage_dir: '%kernel.root_dir%/Resources/gateways'\n                    id_property: hash\n                \n    gateways:\n        offline:\n            factory: offline\n```\n\n_note_ if you're using Symfony 4+ then create `config/packages/payum.yaml` file with contents described above.\n\n### Purchase\n\n```php\n\u003c?php\nuse Payum\\Core\\Model\\Payment;\nuse Payum\\Core\\Reply\\HttpRedirect;\nuse Payum\\Core\\Reply\\HttpResponse;\nuse Payum\\Core\\Request\\Capture;\n\n$payment = new Payment;\n$payment-\u003esetNumber(uniqid());\n$payment-\u003esetCurrencyCode('EUR');\n$payment-\u003esetTotalAmount(123); // 1.23 EUR\n$payment-\u003esetDescription('A description');\n$payment-\u003esetClientId('anId');\n$payment-\u003esetClientEmail('foo@example.com');\n\n$gateway = $this-\u003eget('payum')-\u003egetGateway('offline');\n$gateway-\u003eexecute(new Capture($payment));\n```\n\n### Get status\n\n```php\n\u003c?php\nuse Payum\\Core\\Request\\GetHumanStatus;\n\n$gateway-\u003eexecute($status = new GetHumanStatus($payment));\n\necho $status-\u003egetValue();\n```\n\n### Other operations.\n\n```php\n\u003c?php\nuse Payum\\Core\\Request\\Authorize;\nuse Payum\\Core\\Request\\Cancel;\nuse Payum\\Core\\Request\\Refund;\n\n$gateway-\u003eexecute(new Authorize($payment));\n\n$gateway-\u003eexecute(new Refund($payment));\n\n$gateway-\u003eexecute(new Cancel($payment));\n```\n\n## Contributing\n\nPayumBundle is an open source, community-driven project. Pull requests are very welcome.\n\n## Like it? Spread the word!\n\nStar PayumBundle on [GitHub](https://github.com/Payum/PayumBundle) or [packagist](https://packagist.org/packages/payum/payum-bundle).\n\n## License\n\nThe bundle is released under the [MIT License](Resources/meta/LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpayum%2Fpayumbundle","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpayum%2Fpayumbundle","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpayum%2Fpayumbundle/lists"}