lib/alipay/service.rb in alipay-0.4.0 vs lib/alipay/service.rb in alipay-0.4.1

- old
+ new

@@ -127,10 +127,10 @@ open("#{GATEWAY_URL}?#{query_string(options)}").read end SINGLE_TRADE_QUERY_OPTIONS = %w( service partner _input_charset) - SINGLE_TRADE_QUERY_OPTIONAL_OPTIONS = %w( trade_no out_order_no ) + SINGLE_TRADE_QUERY_OPTIONAL_OPTIONS = %w( trade_no out_trade_no ) def self.single_trade_query(options) options = { "service" => 'single_trade_query', "_input_charset" => "utf-8", "partner" => Alipay.pid,