Class: ActiveMerchant::Billing::EpsilonBaseGateway
- Inherits:
-
Gateway
- Object
- Gateway
- ActiveMerchant::Billing::EpsilonBaseGateway
- Defined in:
- lib/active_merchant/billing/gateways/epsilon/epsilon_base.rb
Overview
This is the base gateway for concrete payment gateway for Epsilon
Create a new EpsilonGatway
class EpsilonSampleGateway < EpsilonBaseGateway def purchase(amount, payment_method, detail = {}) request_params = { contract_code: self.contract_code, user_id: detail, item_code: detail, order_number: detail, item_price: amount, }
request_path = 'purchase'
commit(request_path, request_paramsparams)
end
end
Direct Known Subclasses
EpsilonConvenienceStoreGateway, EpsilonGateway, EpsilonGmoIdGateway, EpsilonLinkPaymentGateway, EpsilonVirtualAccountGateway
Constant Summary collapse
- DEFAULT_RESPONSE_KEYS =
[ :transaction_code, :error_code, :error_detail, :card_number_mask, :card_brand, :card_expire, :three_d_secure, :acs_url, :pa_req, :tds2_url, :receipt_number, :receipt_date, :captured, ].freeze