Commit Graph

40 Commits

Author SHA1 Message Date
Brian Quinn bad727bf9c Made review configuration option editable via admin ui 2010-02-25 12:32:48 +00:00
Brian Quinn 472321b53d Moved capture method into PaypalAccount 2010-02-25 11:12:15 +00:00
Brian Quinn fb0ac7b629 Updated to supported latest edge PaymentMethods (very edge) 2010-02-24 20:44:08 +00:00
Brian Quinn 0bcbdaa0b2 Added support for refunds 2010-01-28 16:48:01 +00:00
Brian Quinn c772fcc9fa Renamed AVS and CVV codes to match standard core payments. 2010-01-27 09:19:05 +00:00
Brian Quinn 69da0ef978 Use BillingIntegration#provider method to create instance of provider_class 2010-01-25 15:21:41 +00:00
Brian Quinn 9592c545a3 Disable shipping options until PPX bug is sorted 2010-01-25 11:28:55 +00:00
Brian Quinn 69a75ff1a8 Added wrapper for PPX UK gateway 2010-01-25 10:32:08 +00:00
Brian Quinn c14eefa55a Updated to support core Billing Integrations 2010-01-25 10:31:43 +00:00
Brian Quinn 7da2fed7ac Initial fork changes 2010-01-22 16:29:55 +00:00
paulcc 48bdd6c2d1 save payment after capture, to generate a pay event 2009-09-22 20:40:24 +01:00
paulcc 35dffb780b updated to spree 0.9 2009-09-21 14:16:57 +01:00
paulcc 33b071798d change handling of shipping, basically avoids use of spree's mechs
fix error with handling of gross_amount
2009-09-07 12:10:32 +01:00
paulcc 717ea040f5 add comment about (over-simplified) handling of shipping 2009-09-07 12:08:51 +01:00
paulcc da032c6751 reordered events to reduce impact of failures 2009-09-07 10:27:52 +01:00
paulcc 8686c69a63 recode how the totals are computed
item price,tax now computed to *100 figures, and tax is truncated to
avoid rounding issues (Note: this avoids use of spree's tax system)
2009-09-07 09:27:23 +01:00
paulcc 280834f8fb recode precision test to allow slight rounding errors 2009-08-26 06:08:18 +01:00
paulcc 00543bc7d9 included, for reference later 2009-08-11 14:35:06 +01:00
paulcc eac0ed0236 catch info-request failures, and capture phone where it is returned
phone grab bypasses the AM library - which would otherwise blank it.
2009-08-11 14:19:24 +01:00
paulcc c80a86825f use locally-loaded order to ensure proper session clearance 2009-08-11 14:07:50 +01:00
paulcc f0d11109b9 made "badly configured gateway" message more informative
also the default tax hook returns a more useful 0.0 rather than an empty
hash...
2009-07-20 18:09:16 +01:00
paulcc e6cea2fdaa add to todo list 2009-07-15 12:07:45 +01:00
paulcc 7de4c0e39a removed debugging code, and fixed currency conv for :max_amount 2009-07-15 11:33:05 +01:00
paulcc 5e271e0fd7 generalised the config of the gateway and site-specific options, so the code is no longer
tied to a specific UK site...

(changes are explained in the README)
2009-07-15 10:26:43 +01:00
paulcc 56838c90ef updated the documentation 2009-07-15 10:26:08 +01:00
paulcc 0427146bf4 only add insurance_offered tag when it's present in options, and fix the details tag name 2009-07-15 08:14:18 +01:00
paulcc ea15f1cf14 header colours now default to white 2009-07-13 14:11:53 +01:00
paulcc ba20413a56 typo 2009-07-13 13:52:46 +01:00
paulcc 9c953bf1ae typo 2009-07-13 12:59:16 +01:00
paulcc 74265c7525 set state_name for shipping address if nothing is found for the given state 2009-07-13 12:57:02 +01:00
paulcc fa6d87f465 typo on class test 2009-07-13 08:56:22 +01:00
paulcc 211efffe5f remove the gateway config when running "down" 2009-07-06 22:13:37 +01:00
paulcc 12641a8110 attach current user to order, to enable order tracking etc 2009-07-06 12:36:31 +01:00
paulcc bea73e2a0c fixed bug - mentions to old gateway sub-module removed 2009-07-06 12:22:06 +01:00
paulcc ed9771041c Significant changes: add missing AM libs, adapt to spree 0.8.4+,
fix admin interface

1. My modifications of AM files are now included and over-ride the
   installed lib
2. The admin interface now works, including being able to review
   paypal payments and do captures
3. The code works cleanly with the new checkout representation.
2009-07-06 12:03:18 +01:00
paulcc 766c79c77a Now pulls the account details from the GatewayOptions system in Spree
NB Spree currently wipes all info except the selected gateway when you edit in the admin section. So be careful! I aim to change this soon.

NB hard-coded to use the UK PP express gateway

See the migration in this extension to see what is created/expected

ps. the earlier account details included in this file were for a sandbox account - sorry!
2009-05-28 09:46:41 +01:00
paulcc 9182e669b8 cosmetic tweak to button display 2009-05-28 09:45:12 +01:00
paulcc d375243bf7 fixed field name 2009-05-14 11:46:11 +01:00
paulcc 99f8073fc5 typo! 2009-05-14 11:25:06 +01:00
paulcc 11f88be5c5 Basic support for Paypal Express in Spree
This commit contains enough to do an express checkout authorization (not purchase) from the cart
page, to save all relevant info, and to be able to view some of it in the admin pages. It is very
much work in progress!

Some admin features won't work (eg captures, viewing transactions), since handling of payments
and gateways needs to be generalised first. Also need to get the orders handled like those for
guest checkouts.

It's also tied to GB/UK details at the moment (this will change), and it needs a modified version
of active merchant which will be released/circulated soon.
2009-05-14 11:11:59 +01:00