module OffsitePayments::Integrations::SmilePay
Constants
- VERSION
Public Class Methods
notification(post)
click to toggle source
# File lib/offsite_payments/integrations/smile_pay.rb, line 25 def self.notification(post) Notification.new(post) end
notification_confirmation_url()
click to toggle source
# File lib/offsite_payments/integrations/smile_pay.rb, line 29 def self.notification_confirmation_url 'https://ssl.smse.com.tw/ezpos/roturl.asp' end
service_url()
click to toggle source
# File lib/offsite_payments/integrations/smile_pay.rb, line 14 def self.service_url case OffsitePayments.mode when :production self.production_url when :test self.test_url else raise StandardError, "Integration mode set to an invalid value: #{mode}" end end