{"id":16699953,"url":"https://github.com/narkoz/azericard","last_synced_at":"2025-10-05T00:36:09.541Z","repository":{"id":11558128,"uuid":"14044311","full_name":"NARKOZ/azericard","owner":"NARKOZ","description":"Ruby interface to AzeriCard online payment processing system","archived":false,"fork":false,"pushed_at":"2021-04-08T05:33:23.000Z","size":29,"stargazers_count":13,"open_issues_count":0,"forks_count":5,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-09-12T08:44:58.654Z","etag":null,"topics":["azerbaijan","azericard","payment-processing","ruby-gem"],"latest_commit_sha":null,"homepage":"https://narkoz.github.io/azericard","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-2-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/NARKOZ.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":"2013-11-01T13:57:55.000Z","updated_at":"2025-08-02T23:22:32.000Z","dependencies_parsed_at":"2022-08-26T21:51:13.700Z","dependency_job_id":null,"html_url":"https://github.com/NARKOZ/azericard","commit_stats":null,"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"purl":"pkg:github/NARKOZ/azericard","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NARKOZ%2Fazericard","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NARKOZ%2Fazericard/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NARKOZ%2Fazericard/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NARKOZ%2Fazericard/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/NARKOZ","download_url":"https://codeload.github.com/NARKOZ/azericard/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NARKOZ%2Fazericard/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278395882,"owners_count":25979685,"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","status":"online","status_checked_at":"2025-10-04T02:00:05.491Z","response_time":63,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["azerbaijan","azericard","payment-processing","ruby-gem"],"created_at":"2024-10-12T18:08:39.895Z","updated_at":"2025-10-05T00:36:09.519Z","avatar_url":"https://github.com/NARKOZ.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Azericard\n\nUnoffical Ruby interface to AzeriCard online payment processing system.\n\n## Legal\n\nThis code is in no way affiliated with, authorised, maintained, sponsored or\nendorsed by AzeriCard LLC or any of its affiliates or subsidiaries. This is an\nindependent and unofficial. Use at your own risk.\n\n## Installation\n\n```ruby\ngem 'azericard'\n# gem 'azericard', github: 'NARKOZ/azericard'\n```\n\n## Configuration\n\n```ruby\nAzericard.configure do |config|\n  config.endpoint       = Settings.azericard.endpoint\n  config.terminal       = Settings.azericard.terminal\n  config.secret_key     = Settings.azericard.secret_key\n\n  config.merchant_name  = Settings.azericard.merchant_name\n  config.merchant_email = Settings.azericard.merchant_email\n  config.merchant_url   = Settings.azericard.merchant_url\n  config.country_code   = Settings.azericard.country_code\n  config.gmt_offset     = Settings.azericard.gmt_offset\nend\n```\n\n## Usage\n\n```ruby\n# Payment authorization\noptions = {\n  amount: @order.amount,\n  currency: @order.currency,\n  order: @order.number,\n  tr_type: 0,\n  desc: @order.description,\n  backref: azericard_callback_url\n}\nrequest_options = Azericard::Request.options_for_request(options)\np_sign = Azericard::Request.generate_mac(request_options.text_to_sign)\n\n# Checkout transaction\noptions = {\n  amount: @order.amount,\n  currency: @order.currency,\n  order: @order.number,\n  tr_type: 21,\n  rrn: @order.payment.rrn,\n  intref: @order.payment.intref\n}\nrequest_options = Azericard::Request.options_for_request(options)\n\nbegin\n  Azericard::Request.process request_options\nrescue Azericard::Error =\u003e e\n  e.message\nend\n```\n\n## Copyright\n\nCopyright (c) 2013-2023 Nihad Abbasov\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnarkoz%2Fazericard","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnarkoz%2Fazericard","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnarkoz%2Fazericard/lists"}