{"id":17361484,"url":"https://github.com/jerfeson/omnipay-pagseguro","last_synced_at":"2025-03-27T16:44:39.214Z","repository":{"id":56998101,"uuid":"317079893","full_name":"jerfeson/omnipay-pagseguro","owner":"jerfeson","description":" PagSeguro driver for the Omnipay PHP payment processing library ","archived":false,"fork":false,"pushed_at":"2020-12-01T01:10:53.000Z","size":577,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-01T20:26:34.234Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/jerfeson.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":"2020-11-30T01:27:57.000Z","updated_at":"2020-12-02T14:19:02.000Z","dependencies_parsed_at":"2022-08-21T11:10:21.604Z","dependency_job_id":null,"html_url":"https://github.com/jerfeson/omnipay-pagseguro","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jerfeson%2Fomnipay-pagseguro","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jerfeson%2Fomnipay-pagseguro/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jerfeson%2Fomnipay-pagseguro/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jerfeson%2Fomnipay-pagseguro/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jerfeson","download_url":"https://codeload.github.com/jerfeson/omnipay-pagseguro/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245887178,"owners_count":20688807,"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":[],"created_at":"2024-10-15T19:33:44.809Z","updated_at":"2025-03-27T16:44:39.195Z","avatar_url":"https://github.com/jerfeson.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Omnipay: PagSeguro\n**PagSeguro driver for the Omnipay PHP payment processing library** \n\n[Omnipay] is a framework agnostic, multi-gateway payment\nprocessing library for PHP. This package implements PagSeguro support for Omnipay.\n\n\n## Installation\n\nOmnipay is installed via [Composer]. To install, simply require `league/omnipay` and `jerfeson/omnipay-pagseguro` with Composer:\n\n```\ncomposer require league/omnipay jerfeson/omnipay-pagseguro\n```\n\n## Basic Usage\n\nFor general usage instructions, please see the main [Omnipay]\nrepository.\n\n##Sample\n\n\n```php\n// purchase\n    \n$params = $this-\u003egetParams();\n$gateway = $this-\u003egetGateway();\n\n$items = [];\nforeach ($params-\u003eitems as $item) {\n    $items[] = [\n        'number' =\u003e $item-\u003eid, // 1, 2\n        'quantity' =\u003e $item-\u003equantity, // 10, 20\n        'name' =\u003e $item-\u003ename, // sample product 1, sample product 2\n        'description' =\u003e $item-\u003edescription, // sample description 1, sample description 2\n        'price' =\u003e $item-\u003eprice, // 10.00, 40.00\n        'weight' =\u003e $item-\u003eweight // 1, 1\n    ];\n}\n\n$response = $gateway-\u003epurchase(\n    [\n        'transactionId' =\u003e $params-\u003eid, // 1\n        'amount' =\u003e $params-\u003evalue, //50.00\n        'currency' =\u003e $params-\u003ecurrency, //BRL\n        'returnUrl' =\u003e 'http://example.com/return',\n        'cancelUrl' =\u003e 'http://example.com/cancel',\n        'NotifyUrl' =\u003e 'http://example.com/notify',\n        'items' =\u003e $items\n    ]\n)-\u003esend();\n\n```\n\n## Roadmap\n\n - [ ] more methods\n - [ ] more code examples\n \n## Contributing\n\n - welcome to discuss a bugs, features and ideas.\n \n  \n## License\n\njerfeson/omnipay-pagseguro is release under the MIT license.\n \n## Support\n\nIf you are having general issues with Omnipay, we suggest posting on\n[Stack Overflow]. Be sure to add the\n[omnipay tag] so it can be easily found.\n\nIf you want to keep up to date with release anouncements, discuss ideas for the project,\nor ask more detailed questions, there is also a [mailing list] which\nyou can subscribe to.\n\nIf you believe you have found a bug, please report it using the [GitHub issue tracker],\nor better yet, fork the library and submit a pull request.\n\n[Omnipay]:https://github.com/thephpleague/omnipay\n[Stack Overflow]:http://stackoverflow.com/\n[omnipay tag]:http://stackoverflow.com/questions/tagged/omnipay\n[mailing list]:https://groups.google.com/forum/#!forum/omnipay\n[GitHub issue tracker]:https://github.com/jerfeson/omnipay-pagseguro/issues\n[Composer]:http://getcomposer.org/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjerfeson%2Fomnipay-pagseguro","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjerfeson%2Fomnipay-pagseguro","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjerfeson%2Fomnipay-pagseguro/lists"}