Sha256: 97a8583b607c9ca6ae689ae616c58effd669bb1079d0203b47cd9274deec38b1
Contents?: true
Size: 1.1 KB
Versions: 3
Compression:
Stored size: 1.1 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, 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
3 entries across 3 versions & 1 rubygems