lib/alipay/service.rb in alipay-0.0.3 vs lib/alipay/service.rb in alipay-0.0.4

- old
+ new

@@ -14,10 +14,10 @@ 'partner' => Alipay.pid, 'seller_email' => Alipay.seller_email, 'payment_type' => '1' }.merge(Utils.stringify_keys(options)) - check_required_options(options, TRADE_CREATE_BY_BUYER_REQUIRED_OPTIONS) + check_required_options(options, CREATE_PARTNER_TRADE_BY_BUYER_REQUIRED_OPTIONS) "#{GATEWAY_URL}?#{query_string(options)}" end TRADE_CREATE_BY_BUYER_REQUIRED_OPTIONS = %w( service partner _input_charset out_trade_no subject payment_type logistics_type logistics_fee logistics_payment seller_email price quantity )