lib/active_merchant/billing/gateways/paypal.rb in activemerchant-1.79.2 vs lib/active_merchant/billing/gateways/paypal.rb in activemerchant-1.80.0

- old
+ new

@@ -48,10 +48,10 @@ end end def build_sale_or_authorization_request(action, money, credit_card_or_referenced_id, options) transaction_type = define_transaction_type(credit_card_or_referenced_id) - reference_id = credit_card_or_referenced_id if transaction_type == "DoReferenceTransaction" + reference_id = credit_card_or_referenced_id if transaction_type == 'DoReferenceTransaction' billing_address = options[:billing_address] || options[:address] currency_code = options[:currency] || currency(money) xml = Builder::XmlMarkup.new :indent => 2