Skip to content

Commit

Permalink
append missing merge params and fix typo error
Browse files Browse the repository at this point in the history
  • Loading branch information
wongy91 committed Nov 19, 2017
1 parent 7286e8b commit 63959f8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/alipay/service.rb
Original file line number Diff line number Diff line change
Expand Up @@ -271,15 +271,15 @@ def self.update_merchant_qr_code(params, options = {})
end

ACQUIRER_OVERSEAS_QUERY_REQUIRED_PARAMS = %w(partner_trans_id)
def self.acquire_overseas_query(params, options = {})
def self.acquirer_overseas_query(params, options = {})
params = Utils.stringify_keys(params)
check_required_params(params, ACQUIRER_OVERSEAS_QUERY_REQUIRED_PARAMS)

params = {
'service' => 'alipay.acquire.overseas.query',
'_input_charset' => 'utf-8',
'partner' => options[:pid] || Alipay.pid,
}
}.merge(params)

request_uri(params, options).to_s
end
Expand Down

0 comments on commit 63959f8

Please sign in to comment.