Permalink
Browse files

Merge pull request #1 from bterkuile/master

Fix configuration example in README
  • Loading branch information...
2 parents a11cb79 + 6e7a72f commit 87d31b31c48ad9f2c58813f0245385873e7f218b @Manfred Manfred committed Feb 17, 2012
Showing with 6 additions and 6 deletions.
  1. +6 −6 README.textile
View
@@ -114,15 +114,15 @@ unless Rails.env.production?
end
# Other banks preloaded are :abnamro and :rabobank
-Ideal::Gateway::IdealGateway.acquirer = :ing
-Ideal::Gateway::IdealGateway.merchant_id = '00123456789'
+Ideal::Gateway.acquirer = :ing
+Ideal::Gateway.merchant_id = '00123456789'
# Maybe you'd like another location
ideal_directory = Rails.root + 'config/ideal'
-Ideal::Gateway::IdealGateway.passphrase = 'the_passphrase'
-Ideal::Gateway::IdealGateway.private_key_file = ideal_directory + 'private_key.pem'
-Ideal::Gateway::IdealGateway.private_certificate_file = ideal_directory + 'private_certificate.cer'
-Ideal::Gateway::IdealGateway.ideal_certificate_file = ideal_directory + 'ideal.cer'
+Ideal::Gateway.passphrase = 'the_passphrase'
+Ideal::Gateway.private_key_file = ideal_directory + 'private_key.pem'
+Ideal::Gateway.private_certificate_file = ideal_directory + 'private_certificate.cer'
+Ideal::Gateway.ideal_certificate_file = ideal_directory + 'ideal.cer'
</pre>
h3. Show a payment form

0 comments on commit 87d31b3

Please sign in to comment.