Rob Harrington
|
1aebee0583
|
WIP: rebuilding accounts page using tabs infrastructure
|
2017-09-23 14:58:32 +10:00 |
|
Rob Harrington
|
ed5c650456
|
Writing a new tabset component for front-end tabs
Modeled on back-end 'panels' infrastructure
|
2017-09-23 14:58:32 +10:00 |
|
Rob Harrington
|
b8c6da301c
|
Removing unnecessary dependencies from OrdersCtrl
|
2017-09-23 14:58:32 +10:00 |
|
Rob Harrington
|
269a60b36f
|
Adding request specs for case when using an existing card stored by Stripe for payment
|
2017-09-23 14:58:32 +10:00 |
|
stveep
|
25f48d944c
|
Add delete links, tidy up UI a bit (WIP), page refresh after adding still doesn't work
|
2017-09-23 14:58:31 +10:00 |
|
stveep
|
c9c4680ef6
|
Backend code to create Stripe customers and store their IDs in CreditCards. Page refresh not working
|
2017-09-23 14:58:31 +10:00 |
|
stveep
|
1449169b16
|
Basic UI for adding credit card details and getting a Stripe token without making a payment
|
2017-09-23 14:58:31 +10:00 |
|
Rob Harrington
|
33a3db8698
|
Making :source attr_accessible for Spree::Payment
|
2017-09-23 14:58:31 +10:00 |
|
stveep
|
c4f9a5a234
|
Add code to CheckoutController to construct card attributes when using an existing card (via a818fbbecd/core/app/models/spree/order/checkout.rb:212)
|
2017-09-23 14:58:31 +10:00 |
|
stveep
|
627899bbd4
|
spec for source attributes to pass for saved card
|
2017-09-23 14:58:31 +10:00 |
|
stveep
|
12f4f2d17a
|
Add some logic to check whether a saved card has been selected before making a request from Stripe
|
2017-09-23 14:58:31 +10:00 |
|
stveep
|
300dc3084c
|
Add default card, disable inputs when a card is selected
|
2017-09-23 14:58:31 +10:00 |
|
stveep
|
50c3d1367d
|
Tidy up comment
|
2017-09-23 14:58:31 +10:00 |
|
stveep
|
a1cad82564
|
Only show credit cards if previously saved, split credit card db migrations and tidy up serializer
|
2017-09-23 14:58:31 +10:00 |
|
stveep
|
298fd057f5
|
Check for current user before injecting credit cards
|
2017-09-23 14:58:31 +10:00 |
|
stveep
|
33b570b117
|
Inject cards for current user into checkout and add selector dropdown to gateway partial.
|
2017-09-23 14:58:31 +10:00 |
|
stveep
|
3b05b76b80
|
Bring in ability to store CreditCards against Users from Spree 2.3 (spree commit d470b31798f3).
|
2017-09-23 14:58:31 +10:00 |
|
Rob Harrington
|
c97a140471
|
WIP: Storing Stripe card details for later use
NOTE: No interface for actually selecting a stored card to use yet
|
2017-09-23 14:58:31 +10:00 |
|
Rob Harrington
|
7c831c9844
|
Adding StripeJS to checkout page
Allow tokens to be request and passed through as payment source_attributes
|
2017-09-23 14:57:02 +10:00 |
|
Rob Harrington
|
5c16fefe41
|
Creating basic angular StripeJS wrapper service for requesting tokens
|
2017-09-23 14:57:02 +10:00 |
|
Rob Harrington
|
5ad88f992c
|
Adding live stripe account status display to payment method create/edit interface
|
2017-09-23 14:57:02 +10:00 |
|
Rob Harrington
|
f87f4310f0
|
Adding #status controller action for stripe accounts to fetch current info direct from Stripe
|
2017-09-23 14:57:02 +10:00 |
|
Rob Harrington
|
987ad0df6c
|
Very basic Stripe Connect payment method interface
|
2017-09-23 14:57:02 +10:00 |
|
Rob Harrington
|
d500c20d3f
|
Adding new StripeConnect payment gateway
|
2017-09-23 14:57:02 +10:00 |
|
Rob Harrington
|
99a7665edc
|
Requesting read_write permission when authorizing Stripe standalone account
|
2017-09-23 14:57:02 +10:00 |
|
Rob Harrington
|
37f60bf7a1
|
Setting Stripe.api_key in an initializer rather than helper
|
2017-09-23 14:57:02 +10:00 |
|
stveep
|
ae72ebef5e
|
Fix disconnect button formatting
|
2017-09-23 14:57:02 +10:00 |
|
stveep
|
1450bfd726
|
Don't retrieve event from Stripe for a deauthorisation
|
2017-09-23 14:57:02 +10:00 |
|
stveep
|
a039286240
|
Webhook processing changes: fix expected request data formatting
|
2017-09-23 14:57:02 +10:00 |
|
stveep
|
9ac638f8ba
|
Fix some leftover refactoring from an earlier modification to enterprises controller (now not needed as moved to admin/enterprises)
|
2017-09-23 14:57:02 +10:00 |
|
stveep
|
da335703b4
|
Fix specs for travis
|
2017-09-23 14:57:02 +10:00 |
|
stveep
|
d374ab569d
|
Undo dodgy redirect changes and set spec to pending
|
2017-09-23 14:57:02 +10:00 |
|
stveep
|
47df2dc20b
|
Tweaking redirects and links
|
2017-09-23 14:57:02 +10:00 |
|
stveep
|
5c43c75b00
|
Specify SHA-256 algorithm for JWT in spec fixture
|
2017-09-23 14:57:02 +10:00 |
|
stveep
|
f83c7a88df
|
Specify SHA-256 algorithm for JWT
|
2017-09-23 14:57:02 +10:00 |
|
stveep
|
5ae473e07f
|
Add specs, fix redirect after requring relogin
|
2017-09-23 14:57:02 +10:00 |
|
stveep
|
e69b27a3c4
|
Tidy up (temp) UI a bit
|
2017-09-23 14:57:02 +10:00 |
|
stveep
|
e52e04ba29
|
Adding Stripe Connect information so we don't forget it later
|
2017-09-23 14:57:02 +10:00 |
|
stveep
|
1dcffa790d
|
Add JWT encoding to state param
|
2017-09-23 14:57:02 +10:00 |
|
stveep
|
f22278db51
|
Don't disconnect if the same Stripe account is connected to multiple Enterprises
|
2017-09-23 14:57:02 +10:00 |
|
stveep
|
0280e04008
|
Move OAuth2 patching to an initializer
|
2017-09-23 14:57:02 +10:00 |
|
Steve Pettitt
|
41607c5846
|
De-associate accounts in response to webhook (not tested with a real deauth request yet)
|
2017-09-23 14:57:02 +10:00 |
|
Steve Pettitt
|
05a69ff0c6
|
Worklow to disconnect Stripe from OFN admin interface
|
2017-09-23 14:57:02 +10:00 |
|
Steve Pettitt
|
758f57a889
|
Remove CSRF check - doesn't work properly as implemented, but connect request should probably be changed to POST
|
2017-09-23 14:57:02 +10:00 |
|
Steve Pettitt
|
eed11faa62
|
Monkey patching OAuth2 gem to include Stripe disconnection method
|
2017-09-23 14:57:02 +10:00 |
|
Steve Pettitt
|
7fd8c5956d
|
Check CSRF, allow a Stripe account to be connected to more than one enterprise (but not vice versa)
|
2017-09-23 14:57:02 +10:00 |
|
Steve Pettitt
|
b6292e2723
|
Add some logic to check for a connected Stripe Account in form
|
2017-09-23 14:57:02 +10:00 |
|
Steve Pettitt
|
8bdf57d0d9
|
Add Stripe Connect button (CSS) in admin/enterprises/:id/edit#payment_methods
|
2017-09-23 14:57:02 +10:00 |
|
Steve Pettitt
|
03f590ccc4
|
Callback creates a new StripeAccount with id and publishable key.
|
2017-09-23 14:57:02 +10:00 |
|
Steve Pettitt
|
06279848c6
|
Stripe auth and callback working. Still need to process callback.
|
2017-09-23 14:57:02 +10:00 |
|