module ActiveMerchant::Billing::Integrations::Allpay
Constants
- PAYMENT_ALIPAY
- PAYMENT_ATM
- PAYMENT_BARCODE
- PAYMENT_CREDIT_CARD
- PAYMENT_CVS
- PAYMENT_TYPE
- SUBPAYMENT_ATM_BOT
- SUBPAYMENT_ATM_CHINATRUST
- SUBPAYMENT_ATM_ESUN
- SUBPAYMENT_ATM_FIRST
- SUBPAYMENT_ATM_FUBON
- SUBPAYMENT_ATM_HUANAN
- SUBPAYMENT_ATM_TAISHIN
- SUBPAYMENT_CVS_CVS
- SUBPAYMENT_CVS_FAMILY
- SUBPAYMENT_CVS_HILIFE
- SUBPAYMENT_CVS_IBON
- SUBPAYMENT_CVS_OK
Public Class Methods
notification(post)
click to toggle source
# File lib/active_merchant/billing/integrations/allpay.rb, line 53 def self.notification(post) Notification.new(post) end
service_url()
click to toggle source
# File lib/active_merchant/billing/integrations/allpay.rb, line 39 def self.service_url mode = ActiveMerchant::Billing::Base.integration_mode case mode when :production 'https://payment.allpay.com.tw/Cashier/AioCheckOut' when :development 'http://payment-stage.allpay.com.tw/Cashier/AioCheckOut' when :test 'http://payment-stage.allpay.com.tw/Cashier/AioCheckOut' else raise StandardError, "Integration mode set to an invalid value: #{mode}" end end
setup() { |self| ... }
click to toggle source
# File lib/active_merchant/billing/integrations/allpay.rb, line 57 def self.setup yield(self) end