Module: ActiveMerchant::Billing::Integrations::Pxpay

Defined in:
lib/active_merchant/billing/integrations/pxpay.rb,
lib/active_merchant/billing/integrations/pxpay/helper.rb,
lib/active_merchant/billing/integrations/pxpay/return.rb,
lib/active_merchant/billing/integrations/pxpay/notification.rb

Defined Under Namespace

Classes: Helper, Notification, Return

Constant Summary collapse

TOKEN_URL =
'https://sec.paymentexpress.com/pxpay/pxaccess.aspx'
LIVE_URL =
'https://sec.paymentexpress.com/pxpay/pxpay.aspx'

Class Method Summary collapse

Class Method Details

.notification(post, options = {}) ⇒ Object



21
22
23
# File 'lib/active_merchant/billing/integrations/pxpay.rb', line 21

def self.notification(post, options={})
  Notification.new(post, options)
end

.return(query_string, options = {}) ⇒ Object



25
26
27
# File 'lib/active_merchant/billing/integrations/pxpay.rb', line 25

def self.return(query_string, options={})
  Return.new(query_string, options)
end

.service_urlObject



17
18
19
# File 'lib/active_merchant/billing/integrations/pxpay.rb', line 17

def self.service_url
  LIVE_URL
end

.token_urlObject



13
14
15
# File 'lib/active_merchant/billing/integrations/pxpay.rb', line 13

def self.token_url
  TOKEN_URL
end