Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Orbital - Support for stored credentials framework #3117

Merged

Conversation

jknipp
Copy link
Member

@jknipp jknipp commented Jan 17, 2019

Add support for Stored Credentials Framework (Cardholder vs Merchant Initiated transactions).

Update the XSD schema in remote tests to the latest version since we upgraded the API version for stored credentials.

ECS-91

Remote:
25 tests, 148 assertions, 0 failures, 0 errors, 0 pendings, 0 omissions, 0 notifications
100% passed

Unit:
71 tests, 427 assertions, 0 failures, 0 errors, 0 pendings, 0 omissions, 0 notifications
100% passed

@jknipp jknipp self-assigned this Jan 17, 2019
@@ -30,7 +30,7 @@ module Billing #:nodoc:
class OrbitalGateway < Gateway
include Empty

API_VERSION = '7.1'
API_VERSION = '7.7'
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Upgrading from 7.1 to 7.7 seems like a big jump in version to me. Any concerns here? Should the upgrade be separate from the credentials update?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think so, shouldn't be a big deal if there was no change in behavior with tests.

@@ -567,7 +582,7 @@ def test_american_requests_adhere_to_xml_schema
response = stub_comms do
@gateway.purchase(50, credit_card, :order_id => 1, :billing_address => address)
end.check_request do |endpoint, data, headers|
schema_file = File.read("#{File.dirname(__FILE__)}/../../schema/orbital/Request_PTI54.xsd")
schema_file = File.read("#{File.dirname(__FILE__)}/../../schema/orbital/Request_PTI77.xsd")
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It felt appropriate to update the XSD used for tests to be consistent with the API version update. I left this as a distinct commit in case we decide against doing so.

Copy link
Contributor

@curiousepic curiousepic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 💥

@jknipp jknipp force-pushed the ECS-91-orbital-stored-credential-support branch 2 times, most recently from 0774277 to 20fc75d Compare January 17, 2019 15:41
Add support for Stored Credentials Framework (Cardholder vs Merchant
Initiated transactions).

Update the XSD schema in remote tests to the latest version since we
upgraded the API version for stored credentials.

ECS-91

Remote:
25 tests, 148 assertions, 0 failures, 0 errors, 0 pendings, 0 omissions, 0 notifications
100% passed

Unit:
71 tests, 427 assertions, 0 failures, 0 errors, 0 pendings, 0 omissions, 0 notifications
100% passed

closes activemerchant#3117
@jknipp jknipp force-pushed the ECS-91-orbital-stored-credential-support branch from 20fc75d to ea2ad89 Compare January 17, 2019 19:21
@jknipp jknipp merged commit ea2ad89 into activemerchant:master Jan 17, 2019
@jknipp jknipp deleted the ECS-91-orbital-stored-credential-support branch January 21, 2019 17:20
whitby3001 pushed a commit to whitby3001/active_merchant that referenced this pull request Sep 3, 2019
Add support for Stored Credentials Framework (Cardholder vs Merchant
Initiated transactions).

Update the XSD schema in remote tests to the latest version since we
upgraded the API version for stored credentials.

ECS-91

Remote:
25 tests, 148 assertions, 0 failures, 0 errors, 0 pendings, 0 omissions, 0 notifications
100% passed

Unit:
71 tests, 427 assertions, 0 failures, 0 errors, 0 pendings, 0 omissions, 0 notifications
100% passed

closes activemerchant#3117
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants