Rob Harrington
|
ce65a9d063
|
Bump stripe gem version to 3.0.1
Allows us to use the stripe gem's built-in OAuth wrappers, rather than our own
|
2017-09-23 14:58:33 +10:00 |
|
Rob Harrington
|
ffc99df373
|
Consolidate Stripe routes/actions into StripeAccountsController
|
2017-09-23 14:58:33 +10:00 |
|
Rob Harrington
|
5c58d30ca7
|
Create payment from user-specified payment method when using existing card
|
2017-09-23 14:58:33 +10:00 |
|
Rob Harrington
|
3efabf5c50
|
Add translations for Stripe connection flashes
|
2017-09-23 14:58:33 +10:00 |
|
Rob Harrington
|
919e39f950
|
Provide a valid enterprise for building redirect path for Stripe Connect callback
|
2017-09-23 14:58:33 +10:00 |
|
Rob Harrington
|
0e14704572
|
Kill empty space
|
2017-09-23 14:58:33 +10:00 |
|
Rob Harrington
|
e9d062a8c2
|
Use nested module/class definitions instead of compact style
|
2017-09-23 14:58:33 +10:00 |
|
Rob Harrington
|
f3af36deca
|
Disable rubocop Style/PredicateName check against override of Spree method
|
2017-09-23 14:58:32 +10:00 |
|
Rob Harrington
|
ecb78233d9
|
Use guard clauses where possible
|
2017-09-23 14:58:32 +10:00 |
|
Rob Harrington
|
a68ae1fe2d
|
Provide a sensible flash message when CreditCard#destroy action fails
|
2017-09-23 14:58:32 +10:00 |
|
Rob Harrington
|
28ba05ec6b
|
Fix Lint/UselessAssignment offences for stripe-connect
|
2017-09-23 14:58:32 +10:00 |
|
Rob Harrington
|
5b675cbaba
|
Make OAuth private methods actually private
|
2017-09-23 14:58:32 +10:00 |
|
Rob Harrington
|
42dd58426e
|
Auto-correct rubocop offences for stripe-connect
|
2017-09-23 14:58:32 +10:00 |
|
Rob Harrington
|
c83755f901
|
Clean up StripeConnect gateway
|
2017-09-23 14:58:32 +10:00 |
|
Rob Harrington
|
ae2d3d3fd9
|
Refactoring StripeHelper into service objects
|
2017-09-23 14:58:32 +10:00 |
|
Rob Harrington
|
e6eb45b453
|
Name StripeAccountController spec file correctly
|
2017-09-23 14:58:32 +10:00 |
|
Rob Harrington
|
01ce092ebc
|
Handle Stripe token creation request failure
|
2017-09-23 14:58:32 +10:00 |
|
Rob Harrington
|
5d77ef52c5
|
Replace text strings with variables in stripe request spec
|
2017-09-23 14:58:32 +10:00 |
|
Rob Harrington
|
e8636c0cbf
|
Set dummy Stripe API key for front-end credits cards feature spec
|
2017-09-23 14:58:32 +10:00 |
|
Rob Harrington
|
f890927423
|
Implementing the Stripe Connect feature toggle
|
2017-09-23 14:58:32 +10:00 |
|
Rob Harrington
|
6499d17cb1
|
Adding feature toggle config variable for Stripe Connect
|
2017-09-23 14:58:32 +10:00 |
|
Rob Harrington
|
1d1e581c85
|
Refactoring CreditCardController, rendering card processing errors as json
|
2017-09-23 14:58:32 +10:00 |
|
Rob Harrington
|
64009a2c9e
|
CheckoutController can render payment gateway error messages as json
|
2017-09-23 14:58:32 +10:00 |
|
Rob Harrington
|
14f6ea4c01
|
Adding required Stripe config variables to application.yml.example
|
2017-09-23 14:58:32 +10:00 |
|
Rob Harrington
|
fdca1f6606
|
Adding message about having no saved cards to account/cards UI
|
2017-09-23 14:58:32 +10:00 |
|
Rob Harrington
|
63a15ec392
|
CreditCardController#destroy redirects to account#/cards
|
2017-09-23 14:58:32 +10:00 |
|
Rob Harrington
|
356dad73ba
|
Ensure spec has Stripe.api_key set
|
2017-09-23 14:58:32 +10:00 |
|
Rob Harrington
|
fb5784fbda
|
Allow updating of account settings from account tabs interface
|
2017-09-23 14:58:32 +10:00 |
|
Rob Harrington
|
4ef97aa418
|
Showing past orders under the orders tab
|
2017-09-23 14:58:32 +10:00 |
|
Rob Harrington
|
b9d72ce4cf
|
Refactoring logic for displaying orders on the front-end account page
|
2017-09-23 14:58:32 +10:00 |
|
Rob Harrington
|
9733bb3a77
|
Renaming account#history to account#transactions
|
2017-09-23 14:58:32 +10:00 |
|
Rob Harrington
|
532dc57725
|
Adding translations for /account tabs
|
2017-09-23 14:58:32 +10:00 |
|
Rob Harrington
|
f4c3fbf8bc
|
Refactoring credit cards interface, and backend logic
|
2017-09-23 14:58:32 +10:00 |
|
Rob Harrington
|
778526af2e
|
Rewriting styling for new tabs components
|
2017-09-23 14:58:32 +10:00 |
|
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 |
|
Rob Harrington
|
25907f97a8
|
Cleaning up Stripe Connect request spec
|
2017-09-23 14:58:32 +10:00 |
|
Rob Harrington
|
d1779b9457
|
Keep timestamps as :null => false in schema
|
2017-09-23 14:58:32 +10:00 |
|
stveep
|
ddac179f9b
|
Add translations
|
2017-09-23 14:58:31 +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 |
|
stveep
|
c6e50a3f7f
|
Stub Stripe requests in feature spec
|
2017-09-23 14:58:31 +10:00 |
|
stveep
|
56295e5ffb
|
Fix request and feature specs
|
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 |
|