Jean-Baptiste Bellet
|
34c8748b9c
|
Mark the next credit cards with payment profile as default
|
2022-07-26 14:42:55 +02:00 |
|
Matt-Yorkley
|
99b75c9a6a
|
Adjust usage of remote-method links on credit card deletion
|
2022-01-08 16:54:23 +00:00 |
|
Arun Kumar Mohan
|
020df3619f
|
Add tests for Stripe::CreditCardRemover
|
2020-12-12 21:39:21 -05:00 |
|
Arun Kumar Mohan
|
1edebade78
|
Extract Stripe credit card deletion logic to a service object
|
2020-12-11 19:52:59 -05:00 |
|
Andy Brett
|
3b7313f7e3
|
add spec for deleting the default card
|
2020-12-10 12:31:58 -08:00 |
|
Andy Brett
|
655512adab
|
add missing require statements
|
2020-12-10 12:17:42 -08:00 |
|
Andy Brett
|
8c747e4812
|
refactor destroy_clones to separate class
|
2020-12-10 11:22:02 -08:00 |
|
Andy Brett
|
9c544ef2f4
|
remove cloned cards after removing the platform card
|
2020-12-08 07:52:42 -08:00 |
|
Andy Brett
|
bc3fd8c50c
|
remove unused method
|
2020-12-08 07:52:42 -08:00 |
|
Andy Brett
|
b517d2f0c7
|
guard against a stripe customer already being deleted
|
2020-12-08 07:52:41 -08:00 |
|
Andy Brett
|
6fdcd6218d
|
add remove_shop_authorizations method to controller
|
2020-12-08 07:46:10 -08:00 |
|
Luis Ramos
|
e0cb7a29bf
|
Add helper prefix to helper calls
|
2020-09-17 13:58:45 +01:00 |
|
Luis Ramos
|
b879439d58
|
Use rubocop auto correct to fix Style/SafeNavigation issue
|
2020-06-22 16:51:46 +01:00 |
|
Luis Ramos
|
f848a89a00
|
Rename update_attributes to update #rails4
|
2020-06-22 16:51:43 +01:00 |
|
Luis Ramos
|
8a9dae0ee2
|
Run rubocop autocorrect
This is the result of bundle exec rubocop --auto-correct
|
2020-06-22 12:23:10 +01:00 |
|
Pau Pérez Fabregat
|
a72957e3c3
|
Merge pull request #4827 from luisramos0/strong_params
[Spree 2.1] Implement Strong Parameters in various controllers
|
2020-03-25 10:07:14 +01:00 |
|
Luis Ramos
|
6bd72f44de
|
Handle strong params in credit card controllers
|
2020-03-21 20:30:34 +00:00 |
|
Luis Ramos
|
1c628fac58
|
Merge branch 'master' into 3-0-stable-mar20
|
2020-03-20 11:28:06 +00:00 |
|
Luis Ramos
|
0815068050
|
Merge branch 'master' into 3-0-stable-mar6
|
2020-03-06 09:20:03 +00:00 |
|
luisramos0
|
1289c3f1a2
|
Fix rubocop issues in credit_cards_controller
|
2020-03-02 17:29:30 +00:00 |
|
Matt-Yorkley
|
53645517af
|
Update deprecated #find_by_* methods
|
2020-02-22 11:06:51 +00:00 |
|
luisramos0
|
1afd712ff4
|
Make StripeSCA store cards (and delete them) on the Stripe platform account and not the Stripe Connected account (the sellers accounts)
This is important so that cards can be re-used across sellers in OFN
|
2020-02-21 10:56:32 +00:00 |
|
luisramos0
|
38fd028a9f
|
Fix some rubocop issues from previous commit
|
2020-02-21 10:52:56 +00:00 |
|
luisramos0
|
c7b01c37af
|
Fix a problem in credit cards controller spec and test case where stripe_account_id must be included in the stripe api call
|
2020-02-21 10:52:55 +00:00 |
|
luisramos0
|
1b820ea85c
|
Fix rubocop issues in credit_cards_controller
|
2020-02-21 10:52:55 +00:00 |
|
luisramos0
|
a52c4b542c
|
Make destroy stored cards work for stripe SCA by setting stripe account id before making the call to the stripe api
This account id cannot be sent when dealing with the old StripeConnect gateway
|
2020-02-21 10:52:29 +00:00 |
|
luisramos0
|
9404aacfb2
|
run rubocop --auto-correct
|
2019-11-10 18:42:43 +00:00 |
|
luisramos0
|
9ba0fc268e
|
Run transpec and clean up rubocop issues in credit_card_controller and spec
|
2018-11-15 11:07:43 +00:00 |
|
luisramos0
|
a234308a06
|
Fix credit card controller by adding a rescue for wrong arguments passed in params
|
2018-11-13 15:28:10 +00:00 |
|
Rob Harrington
|
1327b9dc2c
|
Add update method to CreditCardsController
|
2018-06-08 15:30:07 +10:00 |
|
Rob Harrington
|
098afc62c1
|
Fix rubocop issues
|
2017-09-23 14:58:34 +10:00 |
|
Rob Harrington
|
4464a85a74
|
Add missing controller specs for CreditCardController #destroy
|
2017-09-23 14:58:34 +10:00 |
|
Rob Harrington
|
22bbe29f3d
|
Call single-use before_filters from actions instead
|
2017-09-23 14:58:34 +10:00 |
|
Rob Harrington
|
8901af897a
|
Store card details submitted via checkout
|
2017-09-23 14:58:33 +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
|
42dd58426e
|
Auto-correct rubocop offences 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
|
63a15ec392
|
CreditCardController#destroy redirects to account#/cards
|
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 |
|
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 |
|