lib/active_merchant/billing/integrations/gestpay/helper.rb in activemerchant-1.1.0 vs lib/active_merchant/billing/integrations/gestpay/helper.rb in activemerchant-1.2.0
- old
+ new
@@ -28,11 +28,9 @@
mapping :credit_card, :number => 'PAY1_CARDNUMBER',
:expiry_month => 'PAY1_EXPMONTH',
:expiry_year => 'PAY1_EXPYEAR',
:verification_value => 'PAY1_CVV'
- mapping :billing_address, {}
-
def customer(params = {})
add_field(mappings[:customer][:email], params[:email])
add_field('PAY1_CHNAME', "#{params[:first_name]} #{params[:last_name]}")
end