Module: ActiveMerchant::Billing::Integrations::Ipay88
- Defined in:
- lib/active_merchant/billing/integrations/ipay88.rb,
lib/active_merchant/billing/integrations/ipay88/helper.rb,
lib/active_merchant/billing/integrations/ipay88/return.rb
Defined Under Namespace
Class Method Summary collapse
-
.entry_url ⇒ Object
The URL to POST your payment form to.
-
.merchant_key ⇒ Object
The merchant key provided to you by iPay88.
-
.merchant_key=(key) ⇒ Object
Set the merchant key (in a Rails initializer, for example).
- .return(query_string) ⇒ Object
-
.service_url ⇒ Object
The requery URL upon returning from iPay88.
Class Method Details
.entry_url ⇒ Object
The URL to POST your payment form to
30 31 32 |
# File 'lib/active_merchant/billing/integrations/ipay88.rb', line 30 def self.entry_url "https://www.mobile88.com/epayment/entry.asp" end |
.merchant_key ⇒ Object
The merchant key provided to you by iPay88.
12 13 14 |
# File 'lib/active_merchant/billing/integrations/ipay88.rb', line 12 def self.merchant_key self.merch_key end |
.merchant_key=(key) ⇒ Object
Set the merchant key (in a Rails initializer, for example)
ActiveMerchant::Billing::Integrations::Ipay88.merchant_key = "foo"
20 21 22 |
# File 'lib/active_merchant/billing/integrations/ipay88.rb', line 20 def self.merchant_key=(key) self.merch_key = key end |
.return(query_string) ⇒ Object
34 35 36 |
# File 'lib/active_merchant/billing/integrations/ipay88.rb', line 34 def self.return(query_string) Return.new(query_string) end |
.service_url ⇒ Object
The requery URL upon returning from iPay88
25 26 27 |
# File 'lib/active_merchant/billing/integrations/ipay88.rb', line 25 def self.service_url "https://www.mobile88.com/epayment/enquiry.asp" end |