From 68f92587c30e6978ac5c054732404f3e086603fa Mon Sep 17 00:00:00 2001 From: Daniel Lepage Date: Thu, 27 Jan 2022 09:34:52 -0500 Subject: [PATCH 1/2] Update realex_offsite.rb Update production and staging api URLs. (Reference: https://developer.globalpay.com/api/getting-started ) --- lib/offsite_payments/integrations/realex_offsite.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/offsite_payments/integrations/realex_offsite.rb b/lib/offsite_payments/integrations/realex_offsite.rb index 11318ad0..432ce0d2 100644 --- a/lib/offsite_payments/integrations/realex_offsite.rb +++ b/lib/offsite_payments/integrations/realex_offsite.rb @@ -3,8 +3,8 @@ module Integrations #:nodoc: module RealexOffsite mattr_accessor :production_url mattr_accessor :test_url - self.production_url = 'https://epage.payandshop.com/epage.cgi' - self.test_url = 'https://hpp.sandbox.realexpayments.com/pay' + self.production_url = 'https://api.realexpayments.com/epage-remote.cgi' + self.test_url = 'https://api.sandbox.realexpayments.com/epage-remote.cgi' def self.helper(order, account, options={}) Helper.new(order, account, options) From 2a383f46d4fd928c4a1b442083859939a872499f Mon Sep 17 00:00:00 2001 From: Daniel Lepage Date: Thu, 27 Jan 2022 10:03:43 -0500 Subject: [PATCH 2/2] Update realex_offsite.rb --- lib/offsite_payments/integrations/realex_offsite.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/offsite_payments/integrations/realex_offsite.rb b/lib/offsite_payments/integrations/realex_offsite.rb index 432ce0d2..0509d2c6 100644 --- a/lib/offsite_payments/integrations/realex_offsite.rb +++ b/lib/offsite_payments/integrations/realex_offsite.rb @@ -3,8 +3,8 @@ module Integrations #:nodoc: module RealexOffsite mattr_accessor :production_url mattr_accessor :test_url - self.production_url = 'https://api.realexpayments.com/epage-remote.cgi' - self.test_url = 'https://api.sandbox.realexpayments.com/epage-remote.cgi' + self.production_url = 'https://pay.realexpayments.com/pay' + self.test_url = 'https://pay.sandbox.realexpayments.com/pay' def self.helper(order, account, options={}) Helper.new(order, account, options)