{"id":18841501,"url":"https://github.com/subvisual/omniauth-paymill","last_synced_at":"2026-01-30T11:30:16.393Z","repository":{"id":15455297,"uuid":"18188328","full_name":"subvisual/omniauth-paymill","owner":"subvisual","description":"This gem contains the Paymill Connect strategy for OmniAuth2","archived":false,"fork":false,"pushed_at":"2018-10-29T11:43:22.000Z","size":6,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":6,"default_branch":"master","last_synced_at":"2024-12-05T09:26:26.867Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Ruby","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/subvisual.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-03-27T19:21:21.000Z","updated_at":"2022-08-12T20:06:22.000Z","dependencies_parsed_at":"2022-07-12T15:13:46.478Z","dependency_job_id":null,"html_url":"https://github.com/subvisual/omniauth-paymill","commit_stats":null,"previous_names":["groupbuddies/omniauth-paymill"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/subvisual%2Fomniauth-paymill","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/subvisual%2Fomniauth-paymill/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/subvisual%2Fomniauth-paymill/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/subvisual%2Fomniauth-paymill/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/subvisual","download_url":"https://codeload.github.com/subvisual/omniauth-paymill/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239780122,"owners_count":19695734,"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-11-08T02:51:34.450Z","updated_at":"2026-01-30T11:30:16.347Z","avatar_url":"https://github.com/subvisual.png","language":"Ruby","readme":"# OmniAuth Paymill [![Build Status](https://travis-ci.org/groupbuddies/omniauth-paymill.svg?branch=master)](https://travis-ci.org/groupbuddies/omniauth-paymill)\n\nThis gem contains the [Paymill Connect](https://www.paymill.com/tr-tr/documentation-3/add-ons/connect/) strategy for OmniAuth.\n\n## Before you begin\n\nYou should have already installed OmniAuth into your app; if not, read the [OmniAuth README](https://github.com/intridea/omniauth) to get started.\n\nYou'll need a Paymill application, see [here](https://paymill.com/en-gb/unite-documentation/#registerApplication) how to create one.\n\n## Installation\n\nAdd this line to your application's Gemfile:\n\n    gem 'omniauth-paymill'\n\nIf you need the latest HEAD version, you can do so with:\n\n    gem 'omniauth-paymill', github: 'groupbuddies/omniauth-paymill'\n\nAnd then execute:\n\n    $ bundle\n\nOr install it yourself as:\n\n    $ gem install omniauth-paymill\n\n\n## Usage\n\nYou just need to tell OmniAuth about this provider. For a Rails app, your\n`config/initializers/omniauth.rb` file should look like this:\n\n```ruby\nRails.application.config.middleware.use OmniAuth::Builder do\n  provider :paymill, \"CLIENT_ID\", \"CLIENT_SECRET\", scope: \"...\"\nend\n```\n\nReplace `CLIENT_ID` and `CLIENT_SECRET` with the appropriate values you obtained when creating an app earlier.\n\nThe available scopes are detailed on the [Paymill Connect documentation](https://www.paymill.com/tr-tr/documentation-3/add-ons/connect/).\n\n## Authentication Hash\nAn example auth hash available in `request.env['omniauth.auth']`:\n\n    {\n        \"access_token\": \"55727e05094c17ef44649a1710b00d57\",\n        \"expires_in\": null,\n        \"token_type\": \"bearer\",\n        \"scope\": \"transactions_rw refunds_rw\",\n        \"refresh_token\": \"07fda540e5283039683f6400651b5eaf\",\n        \"merchant_id\": \"mer_1d70acbf80c8c35ce83680715c06be0d15c06be0d\",\n        \"is_active\": true,\n        \"methods\": [\"visa\", \"mastercard\"],\n        \"currencies\": [\"EUR\", \"GPB],\n        \"payment_methods\": [\n            {\n                \"type\": \"visa\",\n                \"currency\": \"EUR\",\n                \"acquirer\": \"wirecard\"\n            },\n            {\n                \"type\": \"visa\",\n                \"currency\": \"GBP\",\n                \"acquirer\": \"wirecard\"\n            },\n            {\n                \"type\": \"mastercard\",\n                \"currency\": \"EUR\",\n                \"acquirer\": \"wirecard\"\n            }\n        ],\n        \"access_keys\": {\n            \"test\": {\n                \"public_key\": \"342070708285cd3d98606d2986cb470f\",\n                \"private_key\": \"4fe2b5ba56ff916eb4e644bad381e62e\"\n            },\n            \"live\": {\n                \"public_key\": \"8175823c16dd0c7b222e9ea0e7352e51\",\n                \"private_key\": \"55727e05094c17ef44649a1710b00d57\"\n            }\n        },\n        \"livemode\": true,\n        \"public_key\": \"8175823c16dd0c7b222e9ea0e7352e51\",\n    }\n\n## Supported Rubies\n\nOmniAuth Paymill is tested under 1.8.7, 1.9.2, 1.9.3, 2.0.0, 2.1.1, Ruby\nEnterprise Edition and JRuby.\n\n## Contributing\n\n1. Fork it\n2. Create your feature branch (`git checkout -b my-new-feature`)\n3. Commit your changes (`git commit -am 'Add some feature'`)\n4. Push to the branch (`git push origin my-new-feature`)\n5. Create new Pull Request\n\nNote: Do not forget to add tests for the new features.\n\n## License\n\nSee [`LICENSE.txt`](https://github.com/subvisual/omniauth-paymill/blob/master/LICENSE.txt).\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsubvisual%2Fomniauth-paymill","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsubvisual%2Fomniauth-paymill","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsubvisual%2Fomniauth-paymill/lists"}