{"action":"opened","number":1974,"pull_request":{"url":"https://api.github.com/repos/activemerchant/active_merchant/pulls/1974","id":54060926,"html_url":"https://github.com/activemerchant/active_merchant/pull/1974","diff_url":"https://github.com/activemerchant/active_merchant/pull/1974.diff","patch_url":"https://github.com/activemerchant/active_merchant/pull/1974.patch","issue_url":"https://api.github.com/repos/activemerchant/active_merchant/issues/1974","number":1974,"state":"open","locked":false,"title":"Add store support to Realex","user":{"login":"bruno","id":393,"avatar_url":"https://avatars.githubusercontent.com/u/393?v=3","gravatar_id":"","url":"https://api.github.com/users/bruno","html_url":"https://github.com/bruno","followers_url":"https://api.github.com/users/bruno/followers","following_url":"https://api.github.com/users/bruno/following{/other_user}","gists_url":"https://api.github.com/users/bruno/gists{/gist_id}","starred_url":"https://api.github.com/users/bruno/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bruno/subscriptions","organizations_url":"https://api.github.com/users/bruno/orgs","repos_url":"https://api.github.com/users/bruno/repos","events_url":"https://api.github.com/users/bruno/events{/privacy}","received_events_url":"https://api.github.com/users/bruno/received_events","type":"User","site_admin":false},"body":"This adds support for storing/tokenising customers and payment methods on the Realex gateway using the RealVault product from Realex.\r\n\r\nNote:\r\n- Realex now publishes the passing and failing test cards, so I added those to the fixtured (also adding `brand: master` for the mastercard test numbers as the test helper defaults to visa)\r\n- Updated the remote tests to reflect the expected results from Realex\r\n- Realex tokenises cards in two steps, first you need to create a customer and then add a payment method, so it requires two options and those have some specific formatting requirements, i.e. only accepts a set types of characters, etc. Thus why I added the `requires!` call to\r\nthe `store` method.\r\n\r\nStill TODO: modify the implementation to add support for purchase, authorize and capture using the tokenised card.","created_at":"2015-12-18T03:19:32Z","updated_at":"2015-12-18T03:19:32Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/activemerchant/active_merchant/pulls/1974/commits","review_comments_url":"https://api.github.com/repos/activemerchant/active_merchant/pulls/1974/comments","review_comment_url":"https://api.github.com/repos/activemerchant/active_merchant/pulls/comments{/number}","comments_url":"https://api.github.com/repos/activemerchant/active_merchant/issues/1974/comments","statuses_url":"https://api.github.com/repos/activemerchant/active_merchant/statuses/c74d6446bbc7b25e93c4a49333a1076e5ff09608","head":{"label":"waysact:add-store-support-to-realex","ref":"add-store-support-to-realex","sha":"c74d6446bbc7b25e93c4a49333a1076e5ff09608","user":{"login":"waysact","id":990273,"avatar_url":"https://avatars.githubusercontent.com/u/990273?v=3","gravatar_id":"","url":"https://api.github.com/users/waysact","html_url":"https://github.com/waysact","followers_url":"https://api.github.com/users/waysact/followers","following_url":"https://api.github.com/users/waysact/following{/other_user}","gists_url":"https://api.github.com/users/waysact/gists{/gist_id}","starred_url":"https://api.github.com/users/waysact/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/waysact/subscriptions","organizations_url":"https://api.github.com/users/waysact/orgs","repos_url":"https://api.github.com/users/waysact/repos","events_url":"https://api.github.com/users/waysact/events{/privacy}","received_events_url":"https://api.github.com/users/waysact/received_events","type":"Organization","site_admin":false},"repo":{"id":30609066,"name":"active_merchant","full_name":"waysact/active_merchant","owner":{"login":"waysact","id":990273,"avatar_url":"https://avatars.githubusercontent.com/u/990273?v=3","gravatar_id":"","url":"https://api.github.com/users/waysact","html_url":"https://github.com/waysact","followers_url":"https://api.github.com/users/waysact/followers","following_url":"https://api.github.com/users/waysact/following{/other_user}","gists_url":"https://api.github.com/users/waysact/gists{/gist_id}","starred_url":"https://api.github.com/users/waysact/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/waysact/subscriptions","organizations_url":"https://api.github.com/users/waysact/orgs","repos_url":"https://api.github.com/users/waysact/repos","events_url":"https://api.github.com/users/waysact/events{/privacy}","received_events_url":"https://api.github.com/users/waysact/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/waysact/active_merchant","description":"Active Merchant is a simple payment abstraction library extracted from Shopify. The aim of the project is to feel natural to Ruby users and to abstract as many parts as possible away from the user to offer a consistent interface across all supported gateways.","fork":true,"url":"https://api.github.com/repos/waysact/active_merchant","forks_url":"https://api.github.com/repos/waysact/active_merchant/forks","keys_url":"https://api.github.com/repos/waysact/active_merchant/keys{/key_id}","collaborators_url":"https://api.github.com/repos/waysact/active_merchant/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/waysact/active_merchant/teams","hooks_url":"https://api.github.com/repos/waysact/active_merchant/hooks","issue_events_url":"https://api.github.com/repos/waysact/active_merchant/issues/events{/number}","events_url":"https://api.github.com/repos/waysact/active_merchant/events","assignees_url":"https://api.github.com/repos/waysact/active_merchant/assignees{/user}","branches_url":"https://api.github.com/repos/waysact/active_merchant/branches{/branch}","tags_url":"https://api.github.com/repos/waysact/active_merchant/tags","blobs_url":"https://api.github.com/repos/waysact/active_merchant/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/waysact/active_merchant/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/waysact/active_merchant/git/refs{/sha}","trees_url":"https://api.github.com/repos/waysact/active_merchant/git/trees{/sha}","statuses_url":"https://api.github.com/repos/waysact/active_merchant/statuses/{sha}","languages_url":"https://api.github.com/repos/waysact/active_merchant/languages","stargazers_url":"https://api.github.com/repos/waysact/active_merchant/stargazers","contributors_url":"https://api.github.com/repos/waysact/active_merchant/contributors","subscribers_url":"https://api.github.com/repos/waysact/active_merchant/subscribers","subscription_url":"https://api.github.com/repos/waysact/active_merchant/subscription","commits_url":"https://api.github.com/repos/waysact/active_merchant/commits{/sha}","git_commits_url":"https://api.github.com/repos/waysact/active_merchant/git/commits{/sha}","comments_url":"https://api.github.com/repos/waysact/active_merchant/comments{/number}","issue_comment_url":"https://api.github.com/repos/waysact/active_merchant/issues/comments{/number}","contents_url":"https://api.github.com/repos/waysact/active_merchant/contents/{+path}","compare_url":"https://api.github.com/repos/waysact/active_merchant/compare/{base}...{head}","merges_url":"https://api.github.com/repos/waysact/active_merchant/merges","archive_url":"https://api.github.com/repos/waysact/active_merchant/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/waysact/active_merchant/downloads","issues_url":"https://api.github.com/repos/waysact/active_merchant/issues{/number}","pulls_url":"https://api.github.com/repos/waysact/active_merchant/pulls{/number}","milestones_url":"https://api.github.com/repos/waysact/active_merchant/milestones{/number}","notifications_url":"https://api.github.com/repos/waysact/active_merchant/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/waysact/active_merchant/labels{/name}","releases_url":"https://api.github.com/repos/waysact/active_merchant/releases{/id}","created_at":"2015-02-10T19:05:07Z","updated_at":"2015-02-10T19:05:10Z","pushed_at":"2015-12-18T03:17:38Z","git_url":"git://github.com/waysact/active_merchant.git","ssh_url":"git@github.com:waysact/active_merchant.git","clone_url":"https://github.com/waysact/active_merchant.git","svn_url":"https://github.com/waysact/active_merchant","homepage":"http://activemerchant.org","size":14045,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"activemerchant:master","ref":"master","sha":"955f2fce82e70975eed5bdc8cb1c6277b27fbf78","user":{"login":"activemerchant","id":12955944,"avatar_url":"https://avatars.githubusercontent.com/u/12955944?v=3","gravatar_id":"","url":"https://api.github.com/users/activemerchant","html_url":"https://github.com/activemerchant","followers_url":"https://api.github.com/users/activemerchant/followers","following_url":"https://api.github.com/users/activemerchant/following{/other_user}","gists_url":"https://api.github.com/users/activemerchant/gists{/gist_id}","starred_url":"https://api.github.com/users/activemerchant/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/activemerchant/subscriptions","organizations_url":"https://api.github.com/users/activemerchant/orgs","repos_url":"https://api.github.com/users/activemerchant/repos","events_url":"https://api.github.com/users/activemerchant/events{/privacy}","received_events_url":"https://api.github.com/users/activemerchant/received_events","type":"Organization","site_admin":false},"repo":{"id":18294,"name":"active_merchant","full_name":"activemerchant/active_merchant","owner":{"login":"activemerchant","id":12955944,"avatar_url":"https://avatars.githubusercontent.com/u/12955944?v=3","gravatar_id":"","url":"https://api.github.com/users/activemerchant","html_url":"https://github.com/activemerchant","followers_url":"https://api.github.com/users/activemerchant/followers","following_url":"https://api.github.com/users/activemerchant/following{/other_user}","gists_url":"https://api.github.com/users/activemerchant/gists{/gist_id}","starred_url":"https://api.github.com/users/activemerchant/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/activemerchant/subscriptions","organizations_url":"https://api.github.com/users/activemerchant/orgs","repos_url":"https://api.github.com/users/activemerchant/repos","events_url":"https://api.github.com/users/activemerchant/events{/privacy}","received_events_url":"https://api.github.com/users/activemerchant/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/activemerchant/active_merchant","description":"Active Merchant is a simple payment abstraction library extracted from Shopify. The aim of the project is to feel natural to Ruby users and to abstract as many parts as possible away from the user to offer a consistent interface across all supported gateways.","fork":false,"url":"https://api.github.com/repos/activemerchant/active_merchant","forks_url":"https://api.github.com/repos/activemerchant/active_merchant/forks","keys_url":"https://api.github.com/repos/activemerchant/active_merchant/keys{/key_id}","collaborators_url":"https://api.github.com/repos/activemerchant/active_merchant/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/activemerchant/active_merchant/teams","hooks_url":"https://api.github.com/repos/activemerchant/active_merchant/hooks","issue_events_url":"https://api.github.com/repos/activemerchant/active_merchant/issues/events{/number}","events_url":"https://api.github.com/repos/activemerchant/active_merchant/events","assignees_url":"https://api.github.com/repos/activemerchant/active_merchant/assignees{/user}","branches_url":"https://api.github.com/repos/activemerchant/active_merchant/branches{/branch}","tags_url":"https://api.github.com/repos/activemerchant/active_merchant/tags","blobs_url":"https://api.github.com/repos/activemerchant/active_merchant/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/activemerchant/active_merchant/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/activemerchant/active_merchant/git/refs{/sha}","trees_url":"https://api.github.com/repos/activemerchant/active_merchant/git/trees{/sha}","statuses_url":"https://api.github.com/repos/activemerchant/active_merchant/statuses/{sha}","languages_url":"https://api.github.com/repos/activemerchant/active_merchant/languages","stargazers_url":"https://api.github.com/repos/activemerchant/active_merchant/stargazers","contributors_url":"https://api.github.com/repos/activemerchant/active_merchant/contributors","subscribers_url":"https://api.github.com/repos/activemerchant/active_merchant/subscribers","subscription_url":"https://api.github.com/repos/activemerchant/active_merchant/subscription","commits_url":"https://api.github.com/repos/activemerchant/active_merchant/commits{/sha}","git_commits_url":"https://api.github.com/repos/activemerchant/active_merchant/git/commits{/sha}","comments_url":"https://api.github.com/repos/activemerchant/active_merchant/comments{/number}","issue_comment_url":"https://api.github.com/repos/activemerchant/active_merchant/issues/comments{/number}","contents_url":"https://api.github.com/repos/activemerchant/active_merchant/contents/{+path}","compare_url":"https://api.github.com/repos/activemerchant/active_merchant/compare/{base}...{head}","merges_url":"https://api.github.com/repos/activemerchant/active_merchant/merges","archive_url":"https://api.github.com/repos/activemerchant/active_merchant/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/activemerchant/active_merchant/downloads","issues_url":"https://api.github.com/repos/activemerchant/active_merchant/issues{/number}","pulls_url":"https://api.github.com/repos/activemerchant/active_merchant/pulls{/number}","milestones_url":"https://api.github.com/repos/activemerchant/active_merchant/milestones{/number}","notifications_url":"https://api.github.com/repos/activemerchant/active_merchant/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/activemerchant/active_merchant/labels{/name}","releases_url":"https://api.github.com/repos/activemerchant/active_merchant/releases{/id}","created_at":"2008-05-20T13:53:26Z","updated_at":"2015-12-17T18:51:47Z","pushed_at":"2015-12-17T20:06:56Z","git_url":"git://github.com/activemerchant/active_merchant.git","ssh_url":"git@github.com:activemerchant/active_merchant.git","clone_url":"https://github.com/activemerchant/active_merchant.git","svn_url":"https://github.com/activemerchant/active_merchant","homepage":"http://activemerchant.org","size":23425,"stargazers_count":3237,"watchers_count":3237,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":1818,"mirror_url":null,"open_issues_count":55,"forks":1818,"open_issues":55,"watchers":3237,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/activemerchant/active_merchant/pulls/1974"},"html":{"href":"https://github.com/activemerchant/active_merchant/pull/1974"},"issue":{"href":"https://api.github.com/repos/activemerchant/active_merchant/issues/1974"},"comments":{"href":"https://api.github.com/repos/activemerchant/active_merchant/issues/1974/comments"},"review_comments":{"href":"https://api.github.com/repos/activemerchant/active_merchant/pulls/1974/comments"},"review_comment":{"href":"https://api.github.com/repos/activemerchant/active_merchant/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/activemerchant/active_merchant/pulls/1974/commits"},"statuses":{"href":"https://api.github.com/repos/activemerchant/active_merchant/statuses/c74d6446bbc7b25e93c4a49333a1076e5ff09608"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":2,"additions":240,"deletions":16,"changed_files":4}}