module OffsitePayments::Integrations::EPaymentPlans
Public Class Methods
notification(post, options = {})
click to toggle source
# File lib/offsite_payments/integrations/e_payment_plans.rb, line 34 def self.notification(post, options = {}) Notification.new(post, options) end
notification_confirmation_url()
click to toggle source
# File lib/offsite_payments/integrations/e_payment_plans.rb, line 22 def self.notification_confirmation_url mode = OffsitePayments.mode case mode when :production "#{production_url}/order/confirmation" when :test "#{test_url}/order/confirmation" else raise StandardError, "Integration mode set to an invalid value: #{mode}" end end
return(query_string, options = {})
click to toggle source
# File lib/offsite_payments/integrations/e_payment_plans.rb, line 38 def self.return(query_string, options = {}) Return.new(query_string, options) end
service_url()
click to toggle source
# File lib/offsite_payments/integrations/e_payment_plans.rb, line 10 def self.service_url mode = OffsitePayments.mode case mode when :production "#{production_url}/order/purchase" when :test "#{test_url}/order/purchase" else raise StandardError, "Integration mode set to an invalid value: #{mode}" end end