lib/active_merchant/billing/gateways/paypal_express.rb in activemerchant-1.0.1 vs lib/active_merchant/billing/gateways/paypal_express.rb in activemerchant-1.0.2

- old
+ new

@@ -85,10 +85,10 @@ xml.tag! 'n2:Version', '2.0' xml.tag! 'n2:SetExpressCheckoutRequestDetails' do xml.tag! 'n2:PaymentAction', action xml.tag! 'n2:OrderTotal', amount(money), 'currencyID' => currency(money) xml.tag! 'n2:MaxAmount', amount(options[:max_amount]), 'currencyID' => currency(options[:max_amount]) if options[:max_amount] - add_address(xml, options[:billing_address] || options[:address]) + add_address(xml, 'n2:Address', options[:billing_address] || options[:address]) #xml.tag! 'n2:AddressOverride', 1 #xml.tag! 'n2:NoShipping', 1 xml.tag! 'n2:PageStyle', options[:page_style] unless options[:page_style].blank? xml.tag! 'n2:ReturnURL', options[:return_url] xml.tag! 'n2:CancelURL', options[:cancel_return_url]