diff --git a/lib/offsite_payments/integrations/payu_in.rb b/lib/offsite_payments/integrations/payu_in.rb index 268194c40..1c4c35c06 100755 --- a/lib/offsite_payments/integrations/payu_in.rb +++ b/lib/offsite_payments/integrations/payu_in.rb @@ -42,7 +42,7 @@ class Helper < OffsitePayments::Helper :address1 => 'address1', :address2 => 'address2', :state => 'state', - :zip => 'zip', + :zip => 'zipcode', :country => 'country' # Which tab you want to be open default on PayU diff --git a/test/unit/integrations/payu_in/payu_in_helper_test.rb b/test/unit/integrations/payu_in/payu_in_helper_test.rb index 505b1be82..84812a86e 100644 --- a/test/unit/integrations/payu_in/payu_in_helper_test.rb +++ b/test/unit/integrations/payu_in/payu_in_helper_test.rb @@ -28,7 +28,7 @@ def test_billing_address_fields assert_equal '666, Wooo', @helper.fields['address1'] assert_equal 'EEE Street', @helper.fields['address2'] assert_equal 'New Delhi', @helper.fields['state'] - assert_equal '110001', @helper.fields['zip'] + assert_equal '110001', @helper.fields['zipcode'] assert_equal 'india', @helper.fields['country'] end diff --git a/test/unit/integrations/payu_in_paisa/payu_in_paisa_helper_test.rb b/test/unit/integrations/payu_in_paisa/payu_in_paisa_helper_test.rb index 905c75f9d..e6b3c4385 100644 --- a/test/unit/integrations/payu_in_paisa/payu_in_paisa_helper_test.rb +++ b/test/unit/integrations/payu_in_paisa/payu_in_paisa_helper_test.rb @@ -28,7 +28,7 @@ def test_billing_address_fields assert_equal '666, Wooo', @helper.fields['address1'] assert_equal 'EEE Street', @helper.fields['address2'] assert_equal 'New Delhi', @helper.fields['state'] - assert_equal '110001', @helper.fields['zip'] + assert_equal '110001', @helper.fields['zipcode'] assert_equal 'india', @helper.fields['country'] end