Skip to content

Commit

Permalink
CheckoutV2: Use correct live_url
Browse files Browse the repository at this point in the history
  • Loading branch information
duff committed Jul 28, 2015
1 parent fdace51 commit dc705d6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
* S5: Pass recurrence_mode in store [duff]
* QuickPay: Support 2-letter country codes in V10 API [girasquid]
* Stripe: Support validate:false field on store [anellis]
* CheckoutV2: Use correct live_url [duff]


== Version 1.52.0 (July 20, 2015)
Expand Down
4 changes: 2 additions & 2 deletions lib/active_merchant/billing/gateways/checkout_v2.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ module Billing #:nodoc:
class CheckoutV2Gateway < Gateway
self.display_name = "Checkout.com V2 Gateway"
self.homepage_url = "https://www.checkout.com/"
self.test_url = "https://api2.checkout.com/v2"
self.live_url = "http://sandbox.checkout.com/api2/v2"
self.live_url = "https://api2.checkout.com/v2"
self.test_url = "http://sandbox.checkout.com/api2/v2"

self.supported_countries = ['AT', 'BE', 'BG', 'CY', 'CZ', 'DE', 'DK', 'EE', 'ES', 'FI', 'FR', 'GR', 'HR', 'HU', 'IE', 'IS', 'IT', 'LI', 'LT', 'LU', 'LV', 'MT', 'MU', 'NL', 'NO', 'PL', 'PT', 'RO', 'SE', 'SI', 'SK', 'US']
self.default_currency = "USD"
Expand Down

0 comments on commit dc705d6

Please sign in to comment.