Skip to content

Conversation

@timtait
Copy link
Contributor

@timtait timtait commented Nov 8, 2018

The client.rb class was missing a case to set the base service URL of the CheckoutUtility.

To test, from the root directory -

irb
require_relative "lib/adyen"
client = Adyen::Client.new(env: :test, api_key: "XXX")
client.checkout_utility.origin_keys(originDomains: ["http://127.0.0.1"])

master
=> ArgumentError: Invalid service specified

checkout-utility-url
=> "{\"originKeys\":{\"http:\\/\\/127.0.0.1\":\"pub.v2.XXX\"}}"

@crrood
Copy link
Contributor

crrood commented Nov 14, 2018

Hi Tim,

Thanks for the pull request! Merging into develop branch.

@crrood crrood merged commit ca086ef into Adyen:develop Nov 14, 2018
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.

2 participants