Skip to content

Commit

Permalink
Merge pull request #233 from AhamedWahid/patch-1
Browse files Browse the repository at this point in the history
Changes to Offsite_payments PayU India
  • Loading branch information
pi3r authored Apr 3, 2017
2 parents 7faccdc + 47b032b commit 72f07e1
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/offsite_payments/integrations/payu_in.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion test/unit/integrations/payu_in/payu_in_helper_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 72f07e1

Please sign in to comment.