Sha256: cfd4d6b184f5cc4c264ee0d32d7891eec25a97513ad6203a8f22846231018af7
Contents?: true
Size: 462 Bytes
Versions: 1
Compression:
Stored size: 462 Bytes
Contents
# coding: utf-8 # 4.4.2.14 确认收货接口 module ChanPay module Api module QueryOrder SERVICE_NAME = 'nmg_api_query_trade' def query_order(flow_id, vendor_order_id) params = { :TrxId => flow_id, :OrderTrxId => vendor_order_id, :TradeType => 'pay_order', } response = Http.post(@partner_id, @private_key, @public_key, @server_uri, SERVICE_NAME, params) end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
chan_pay-0.1.0 | lib/chan_pay/api/query_order.rb |