Closed mreinsch closed 11 years ago
after some more tests: this actually has to be the user's country code to work correctly. So I updated the commit.
rebased on top of current master and another minor change. Using the locale specific URLs in production now and they are working fine.
sorry for missing this one long ago. Can you rebase it on master? Also, is it possible you change test to not depend on activesupport?
I didn't pull in the active support requirement, just added it to the gemspec because of the "require 'active_support/core_ext/string'" in the test_helper.rb: https://github.com/tc/paypal_adaptive/blob/master/test/test_helper.rb
ah got it
rebased and fixed a test in addition
thanks!
The subject says it all, you can now use something like
to give Paypal a hint which locale it should use (got this tip from Paypal technical support).
Also improved the tests to actually test the generated URLs and simplified the code there.