Commit Graph

226 Commits

Author SHA1 Message Date
Holger Hans Peter Freyther 95eb5043e2 https: Point to the logo using https instead of http
This is needed to not have paypal's checkout patch fetch from
a http source during checkout.
2014-01-18 15:54:53 +01:00
Holger Hans Peter Freyther a7d9935021 paypal: Attempt to fix a gateway error due a missing translation. 2013-02-16 16:57:23 +01:00
Holger Hans Peter Freyther 04fa7f9c40 Fix: Do not redirect to paypal if there is an error on the Order model
In case there is a validation issue with the Order we do not want to
redirect to the paypal page.
2013-01-31 22:52:27 +01:00
Holger Hans Peter Freyther 1e0836b4a9 payment: Also accept the 'pending-review' state...
We may not have the proper IPN notification.. so we will attempt
to capture the payment in that state and check if PayPal accepts
it.
2013-01-30 21:50:59 +01:00
Holger Hans Peter Freyther 442c8cb365 paypal: Remove the direct paypal link as it misses the 'i accept the'..
This allowed a customer to go to PayPal without accepting the terms
and conditions. This is not what we want.
2013-01-30 21:50:59 +01:00
Holger Hans Peter Freyther 143ffe4da1 paypal: Do no guess the state as this can cuase validation errors
States are not common to use for addresses in Germany, a customer
was putting 'DE' into the state, this is the abbreviation for
Delaware. When trying to save the Address record the validation failed
as the country of the address and the country of the state do not
match at all.

Fix it by always using the text form for addresses returned by
PayPal. Make sure that the state is never blank.
2013-01-30 21:50:59 +01:00
Holger Hans Peter Freyther d2db33ad1d address: Set a dummy zipcode if none was returned from paypal
This is an attempt to fix a case where paypal does not provide any
zipcode back to us and then validation is failing. It is difficult
to test misconduct of paypal.
2013-01-30 21:50:27 +01:00
Holger Hans Peter Freyther bab9d6b8a7 payment: Add a button to easily adjust the payment
In case the payment calculation is off.. one can manipulate the
adjustments and then press the adjust button to make the payment
match the total. PayPal allows to capture up to 115%.
2013-01-30 21:50:27 +01:00
Holger Hans Peter Freyther 4883afb265 paypal: Add hack to accept paypal from US and Germany...
we had to make the State mandantory for US customers using Paypal,
but now for EU members we don't get a state and fail to save the
order.

Move it down as we might overwrite it
2013-01-30 21:50:12 +01:00
Holger Hans Peter Freyther dec84157ba address: Do not use the paypal shipping address to override things
This extension overrides the shipping address with the one supplied
by paypal. It is not what we want! Store the paypal address in a dedicated
field in case we will ever need it.
2013-01-30 21:50:12 +01:00
Holger Hans Peter Freyther a272ee6df7 paypal: Do not allow to enter user comments
The storing of this is broken, no need to cause issues with
users trying to send us message this way.
2013-01-30 19:16:58 +01:00
Christoph Bünte 5240090087 Add german translation. 2013-01-25 13:34:02 -08:00
Jeff Dutil 732a85dc88 Fix passing order not self shipping calculator. 2013-01-05 16:08:46 -05:00
Jeff Dutil dc6bccfad3 Fixes bugs where wrong payment method is referenced, and shipping has been already been applied when checking out from cart.
Conflicts:
	app/controllers/spree/checkout_controller_decorator.rb
2013-01-04 03:06:26 -05:00
Joaquin Rivera Padron ee7fcbd2e4 i18n-ing paypal payer_statuses
Fixes #110
Fixes #111
2013-01-04 16:12:00 +11:00
Trung Lê 55668e8aeb README markup fix [ci skip] 2012-12-02 23:13:46 +11:00
Trung Lê 1361872292 Only test 1-2-stable branch 2012-12-02 23:03:39 +11:00
Trung Lê 18ed28b705 Update README for 1-2-stable [ci skip] 2012-12-02 23:01:19 +11:00
Trung Lê 1c4b4d0b4a Add 1-2-stable to Versionfile [ci skip] 2012-12-02 22:59:56 +11:00
Trung Lê d359eff0d1 Fix up README markup [ci skip] 2012-12-02 22:58:55 +11:00
Trung Lê 0dc749baf8 Lock capybara at 1.1.3 2012-12-02 22:56:05 +11:00
Jeff Dutil 798ea648fe Pass @order not self. [Fixes #103] 2012-11-30 18:04:11 -05:00
Jeff Dutil 00b170eed2 Fix calls for spree root url. [fix #102] 2012-11-26 22:01:24 -05:00
Jeff Dutil 9a2234d113 Add simplecov for test coverage. 2012-11-26 09:03:07 -05:00
Jeff Dutil c7f55c4941 Only look to current users addresses when possible. Such as in conjunction with spree_address_book extension. [fix #101] 2012-11-26 07:35:28 -05:00
joe e7f3e3f4ad Add readme note for AutoCapture users
Paypal stores that accept foreign currency must check this setting in order for AutoCapture to work
2012-11-20 10:35:21 -06:00
Jeff Dutil 63ff2c99bf Only pass billing address details if they are present. 2012-11-19 07:56:15 -05:00
Joe Sak 6b82df21af Send billing address to Paypal, so Customer doesn't have to enter twice 2012-11-19 07:52:35 -05:00
Jeff Dutil 50684bbb1d Set flash[:commerce_tracking] on success, and string HTML tags from product name and description sent to PayPal. [Fixes #85 #76] 2012-11-19 07:41:13 -05:00
Jeff Dutil 4725846db0 Parameterize gateway error text for i18n key. [Fix #80] 2012-11-19 07:34:58 -05:00
Jeff Dutil 5a4f2fe47d Fixes broken specs except for a couple relying on open spree pull requests. 2012-11-19 06:45:08 -05:00
Vladimir Fedorov ca60407d5d Added PayPal Instant Update feature 2012-11-13 10:24:42 -05:00
Jeff Dutil 56930b93aa Fix current user method for Spree 1.2.x 2012-11-12 17:49:27 -05:00
Jeff Squires 369ee290de [Fixes #81] - changes the way we initialize payment methods 2012-11-12 17:45:47 -05:00
Ryan Bigg 5a048d4449 Strip all potential blank characters from Spree::Config[:site_url] inside asset_url method 2012-11-07 09:27:08 +11:00
Brian Quinn a95329aa9e cleanup 2012-11-06 19:43:17 +00:00
Andrew Hooker 405acab005 Handling coupon codes properly 2012-11-06 19:37:18 +00:00
Andrew Hooker ebecca518b Submit the main form with the paypal image 2012-11-01 10:15:41 -05:00
Jeff Squires 47da0b39cf fixes order summary page (updates 'original' in deface override) 2012-10-31 13:55:44 -05:00
Roman Smirnov dd7834bd2f Minor improvement for case when ship_address[state] is nil or empty 2012-10-16 15:23:20 +04:00
John Dyer 28c925e1f1 Remove spree_auth_devise dependency 2012-09-11 10:04:26 -04:00
John Dyer afc92b5847 Move spree_auth_devise requirement to gemspec 2012-09-10 01:56:14 -04:00
John Dyer a882d3e889 Updated to support Spree 1.2 (depends on spree_auth_devise) 2012-08-31 11:10:02 -04:00
Brian Quinn b06a083c55 Fix it 2012-07-23 14:19:07 +01:00
Brian Quinn e6801863a6 Add PayPal icon + details to order_details partial 2012-07-23 14:07:36 +01:00
Brian Quinn ea2084ec04 Merge pull request #74 from djmaze/patch-1
Fix wrong generator commandline in README
2012-07-20 08:22:28 -07:00
Martin Honermeyer 77c58eef82 Fix wrong generator commandline in README 2012-07-20 18:12:28 +03:00
Brian Quinn 3a6e15b94c Add travis status 2012-07-20 12:16:22 +01:00
Brian Quinn cbdd9451ba .travis.yml tweak 2012-07-20 12:16:18 +01:00
Brian Quinn b1d01820a6 Setup travis 2012-07-20 12:16:14 +01:00