{"id":19447458,"url":"https://github.com/payum/payumserver","last_synced_at":"2025-05-05T16:44:35.828Z","repository":{"id":15219105,"uuid":"17947643","full_name":"Payum/PayumServer","owner":"Payum","description":"Payment processing microservice. Written in Symfony4","archived":false,"fork":false,"pushed_at":"2018-11-06T16:58:03.000Z","size":777,"stargazers_count":116,"open_issues_count":4,"forks_count":33,"subscribers_count":11,"default_branch":"master","last_synced_at":"2025-03-30T22:32:06.357Z","etag":null,"topics":["docker","payment","payment-server","paypal","silex","stripe","symfony"],"latest_commit_sha":null,"homepage":"https://payum.forma-pro.com/","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":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":"2014-03-20T15:26:27.000Z","updated_at":"2024-12-18T05:21:44.000Z","dependencies_parsed_at":"2022-09-01T22:42:02.191Z","dependency_job_id":null,"html_url":"https://github.com/Payum/PayumServer","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Payum%2FPayumServer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Payum%2FPayumServer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Payum%2FPayumServer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Payum%2FPayumServer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Payum","download_url":"https://codeload.github.com/Payum/PayumServer/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252535390,"owners_count":21763956,"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":["docker","payment","payment-server","paypal","silex","stripe","symfony"],"created_at":"2024-11-10T16:18:04.609Z","updated_at":"2025-05-05T16:44:35.809Z","avatar_url":"https://github.com/Payum.png","language":"PHP","funding_links":["https://www.patreon.com/makasim"],"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 a sponsor](https://www.patreon.com/makasim)\n- [Become our client](http://forma-pro.com/)\n\n---\n\n# PayumServer.\n\n[![Join the chat at https://gitter.im/Payum/Payum](https://badges.gitter.im/Payum/Payum.svg)](https://gitter.im/Payum/Payum?utm_source=badge\u0026utm_medium=badge\u0026utm_campaign=pr-badge\u0026utm_content=badge)\n[![Build Status](https://travis-ci.org/Payum/PayumServer.png?branch=master)](https://travis-ci.org/Payum/PayumServer)\n[![Total Downloads](https://poser.pugx.org/payum/payum-server/d/total.png)](https://packagist.org/packages/payum/payum-server)\n[![Latest Stable Version](https://poser.pugx.org/payum/payum-server/version.png)](https://packagist.org/packages/payum/payum-server)\n\nPHP 7.1+ Payment processing server. Setup once and rule them all. [Here](https://medium.com/@maksim_ka2/your-personal-payment-processing-server-abcc8ed76804#.23mlps63n) you can find a good introduction to what it does and what problems it solves.\n\n## Try it online:\n\n* Demo: https://server.payum.forma-pro.com/demo.html\n* Backend: [https://server-ui.payum.forma-pro.com](https://server-ui.payum.forma-pro.com/#!/app/settings?api=https:%2F%2Fserver.payum.forma-pro.com)\n* Server: https://server.payum.forma-pro.com\n\n## Run local server\n\nCreate docker-compose.yml file:\n\n```yaml\nversion: '2'\nservices:\n  payum-server:\n    image: payum/server\n    environment:\n      - PAYUM_MONGO_URI=mongodb://mongo:27017/payum_server\n      - PAYUM_DEBUG=1\n    links:\n      - mongo\n    ports:\n      - \"8080:80\"\n\n  mongo:\n    image: mongo\n```\n\nand run `docker-compose up`. You server will be at `localhost:8080` port.\n\n## Test local server\n1. Copy `.test.env.dist` to `.test.env`\n2. Run `bin/phpunit`\n\n## Docker registry\n\nThe [payum/server](https://hub.docker.com/r/payum/server/) image and [payum/server-ui](https://hub.docker.com/r/payum/server-ui/) are built automatically on success push to the master branch.  \n\n## Setup \u0026 Run\n\n```bash\n$ php composer.phar create-project payum/payum-server --stability=dev\n$ cd payum-server\n$ php -S 127.0.0.1:8000 web/app.php\n```\n\nAn example on javascript:\n\n```javascript\n  // do new payment\n  var payum = new Payum('http://localhost:8000');\n    \n  var payment = {totalAmount: 100, currencyCode: 'USD'};\n\n  payum.payment.create(payment, function(payment) {\n    var token = {\n        type: 'capture',\n        paymentId: payment.id,\n        afterUrl: 'http://afterPaymentIsDoneUrl'\n    };\n\n    payum.token.create(token, function(token) {\n      // do redirect to token.targetUrl or process at the same page like this:\n      payum.execute(token.targetUrl, '#payum-container');\n    });\n  });\n```\n\n_**Note**: You might need a [web client](https://github.com/Payum/PayumServerUI) to manage payments gateways or you can use REST API._\n\n[Site](https://payum.forma-pro.com/)\n\n## Developed by Forma-Pro\n\nForma-Pro is a full stack development company which interests also spread to open source development. \nBeing a team of strong professionals we have an aim an ability to help community by developing cutting edge solutions in the areas of e-commerce, docker \u0026 microservice oriented architecture where we have accumulated a huge many-years experience. \nOur main specialization is Symfony framework based solution, but we are always looking to the technologies that allow us to do our job the best way. We are committed to creating solutions that revolutionize the way how things are developed in aspects of architecture \u0026 scalability.\n\nIf you have any questions and inquires about our open source development, this product particularly or any other matter feel free to contact at opensource@forma-pro.com\n## License\n\nCode MIT [licensed](LICENSE.md).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpayum%2Fpayumserver","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpayum%2Fpayumserver","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpayum%2Fpayumserver/lists"}