-
Notifications
You must be signed in to change notification settings - Fork 269
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Important fixes for VAT-included stores [2-3-stable] #139
base: 2-3-stable
Are you sure you want to change the base?
Conversation
Conflicts: spec/features/paypal_spec.rb
gives some matching problems, and i don't think it's very useful
as in other similar specs
phantomjs 1.9.8 👍 This reverts commit 01c30c8.
…through PaypalExpress checkout
@peterfealey @paulgroves @ouechtasvu @Hates @IrvinFan please take a look |
ba5b802
to
7123063
Compare
7123063
to
f559cfc
Compare
This should also be merged into master |
in the end i didn't use this code but i think it's still relevant. |
I don't use or care about paypal at all. The specs fail terribly on this extension for me as well so I'm not going to be touching anything here until someone fixes them. The changes in the works over at spree/spree#6227 may be relevant to fixing this issue though. |
This PR enable paypal payments for stores with VAT-included prices (very common in the EU) and should finally solve #129 and #17.
The first fix was already included in
2-2-stable
, this just adds a regression spec.The second one it's a kind of workaround because paypal does not accept negative taxes amounts.
But this is very important because on Spree we have negative taxes when a country without VAT buys from a VAT-included store, like in this example:
This is also including all the commits from #138 to get green specs.