{"id":20254924,"url":"https://github.com/emilebosch/buckaroo-gem","last_synced_at":"2026-03-05T22:03:57.018Z","repository":{"id":39703208,"uuid":"13924299","full_name":"emilebosch/buckaroo-gem","owner":"emilebosch","description":"Buckaroo gem for doing transactions against BPE 3.0, it uses the NVP gateway. It got some slick tests too.","archived":false,"fork":false,"pushed_at":"2023-01-18T18:24:15.000Z","size":23,"stargazers_count":4,"open_issues_count":6,"forks_count":3,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-11T00:04:50.985Z","etag":null,"topics":["buckaroo","buckaroo-gem","gateway"],"latest_commit_sha":null,"homepage":"","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/emilebosch.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-10-28T11:46:36.000Z","updated_at":"2020-04-04T13:40:46.000Z","dependencies_parsed_at":"2023-02-10T16:35:13.571Z","dependency_job_id":null,"html_url":"https://github.com/emilebosch/buckaroo-gem","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/emilebosch/buckaroo-gem","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emilebosch%2Fbuckaroo-gem","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emilebosch%2Fbuckaroo-gem/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emilebosch%2Fbuckaroo-gem/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emilebosch%2Fbuckaroo-gem/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/emilebosch","download_url":"https://codeload.github.com/emilebosch/buckaroo-gem/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emilebosch%2Fbuckaroo-gem/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30151959,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-05T21:15:50.531Z","status":"ssl_error","status_checked_at":"2026-03-05T21:15:11.173Z","response_time":93,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6: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":["buckaroo","buckaroo-gem","gateway"],"created_at":"2024-11-14T10:35:32.806Z","updated_at":"2026-03-05T22:03:56.998Z","avatar_url":"https://github.com/emilebosch.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Buckaroo ruby gem\n\nThis is a gem to allow buckaroo payments against BPE 3.0. Its right now under development\nbut will be released in the next couple of days.\n\n### How to use\n\nIt's easy!\n\n```\ngem install buckaroo\n```\n\nOr add it to your `Gemfile`\n\n#### Setting up your key\n\nFirst start by setting up your keys:\n\n```\nBuckaroo.debug  = true\nBuckaroo.secret = ENV['BUCK_SECRET']\nBuckaroo.key = ENV['BUCK_KEY']\n```\n\nUse `rbenv-vars` to ease your pain.\n\n#### Creating a payment request\n\nFirst, let's request a payment, and redirect the user to the payment gatway.\n\n```\nreponse = Buckaroo::Charge.create!(\n  description: 'ten thousand furbies',\n  amount:1000,\n  currency:'EUR'\n)\n\nthrow 'Signature invalid' unless response.valid?\n\nif response.require_redirect? redirect_to response.redirect_url\n```\n\n#### Checking wheter a payment has succeeded after a redirect from Buckaroo\n\nTo check the information being send back from the gateway, you can use the `Buckaroo::WebCallback` to process the response.\n\n```\nclass MyApp \u003c Sinatra::Base\n  post '/' do\n    callback = Buckaroo::WebCallback.new(params)\n    assert callback.valid?\n  end\nend\n```\n\n### Test\n\nBuckaroo comes with a sweet test suite. It comes with some basic tests, and a full integration test using `phantomjs` against the buckaroo gateway.\n\nType the following to do the tests (IT WILL DO AN ACTUAL TEST PAYMENT TO BUCKAROO):\n\n```\nrake test\n```\n\nUnder the hood it uses, `phantomjs`, `sinatra` and `capybara` to test the functionality end to end.\n\n#### SSH push reverse proxy\n\nIt uses a SSH reverse tunnel/proxy that you need to set up to check the webhooks.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Femilebosch%2Fbuckaroo-gem","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Femilebosch%2Fbuckaroo-gem","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Femilebosch%2Fbuckaroo-gem/lists"}