Sha256: fba8a37fc35056613124319f709d4e85f2be4ef90b88a6063571971842fa3f2d
Contents?: true
Size: 1.18 KB
Versions: 1
Compression:
Stored size: 1.18 KB
Contents
module ActiveMerchant #:nodoc: module Billing #:nodoc: class EpsilonConvenienceStoreGateway < EpsilonBaseGateway RESPONSE_KEYS = DEFAULT_RESPONSE_KEYS + [ :convenience_store_limit_date, :convenience_store_payment_slip_url, :company_code, ] def purchase(amount, payment_method, detail = {}) params = { contract_code: self.contract_code, user_id: detail[:user_id], user_name: detail[:user_name], user_mail_add: detail[:user_email], item_code: detail[:item_code], item_name: detail[:item_name], order_number: detail[:order_number], st_code: '00100-0000-0000', mission_code: EpsilonMissionCode::PURCHASE, item_price: amount, process_code: 1, memo1: detail[:memo1], memo2: detail[:memo2], xml: 1, conveni_code: payment_method.code, user_tel: payment_method.phone_number, user_name_kana: payment_method.name, } commit('receive_order3.cgi', params, RESPONSE_KEYS) end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
active_merchant-epsilon-0.5.9 | lib/active_merchant/billing/gateways/epslion_convenience_store.rb |