lib/active_merchant/billing/integrations/paypal/helper.rb in activemerchant-1.0.3 vs lib/active_merchant/billing/integrations/paypal/helper.rb in activemerchant-1.1.0
- old
+ new
@@ -27,10 +27,11 @@
add_field('quantity', 1)
add_field('item_name', 'Store purchase')
add_field('no_shipping', '1')
add_field('no_note', '1')
add_field('charset', 'utf-8')
+ add_field('address_override', '1')
end
mapping :amount, 'amount'
mapping :account, 'business'
mapping :currency, 'currency_code'
@@ -40,9 +41,10 @@
mapping :invoice, 'invoice'
mapping :item_name, 'item_name'
mapping :quantity, 'quantity'
mapping :no_shipping, 'no_shipping'
mapping :no_note, 'no_note'
+ mapping :address_override, 'address_override'
mapping :customer, :first_name => 'first_name',
:last_name => 'last_name',
:email => 'email',
:phone => 'night_phone_a'