Rob Harrington
|
76daa183d5
|
Add orders sub-menu to standing-order index page
|
2018-02-09 14:44:09 +11:00 |
|
Rob Harrington
|
981b874263
|
Remove unused method active? for order cycles
|
2018-02-09 14:44:09 +11:00 |
|
Rob Harrington
|
4362ef2cea
|
Properly translate all error messages for StandingOrderForm
|
2018-02-09 14:44:09 +11:00 |
|
Rob Harrington
|
7ca60e1990
|
Use activerecord error translations properly
|
2018-02-09 14:44:09 +11:00 |
|
Rob Harrington
|
8ba1a909ca
|
Use summarizer for standing order confirm job
|
2018-02-09 14:44:08 +11:00 |
|
Rob Harrington
|
c86207212f
|
Add confirmation summary email
|
2018-02-09 14:44:08 +11:00 |
|
Rob Harrington
|
b49c44f7ce
|
Generalise record_failure method to record_and_log_error
|
2018-02-09 14:44:08 +11:00 |
|
Rob Harrington
|
818af47613
|
Move rescue clause to process method
This prevents a placement email from being sent unless the order is processed successfully
|
2018-02-09 14:44:08 +11:00 |
|
Rob Harrington
|
ef6c9ec0f0
|
Integrate standing order summarizer into placement job
|
2018-02-09 14:44:08 +11:00 |
|
Rob Harrington
|
13d01df4d8
|
Add mail method and template for sending placement summary emails to shop owners
|
2018-02-09 14:44:08 +11:00 |
|
Rob Harrington
|
0c0e12e165
|
Show edit link in placement email if changes are allowed by shop
|
2018-02-09 14:44:08 +11:00 |
|
Rob Harrington
|
8bf460c93a
|
Manually fix remaining rubocop offences
|
2018-02-09 14:44:08 +11:00 |
|
Rob Harrington
|
f902b8cef0
|
Fix rubocop Style/ClassAndModuleChildren offences
|
2018-02-09 14:44:07 +11:00 |
|
Rob Harrington
|
84ad996ef8
|
Use guard clauses
|
2018-02-09 14:44:07 +11:00 |
|
Rob Harrington
|
fb28940952
|
Use Time.zone.now instead of Time.now
|
2018-02-09 14:44:07 +11:00 |
|
Rob Harrington
|
03f1980b1b
|
Auto-correct rubocop offences for standing-orders
|
2018-02-09 14:44:07 +11:00 |
|
Rob Harrington
|
26a325e6e0
|
Handle payment processing errors for standing orders
|
2018-02-09 14:44:07 +11:00 |
|
Rob Harrington
|
67e05cea9c
|
Add failed payment email to StandingOrderMailer
|
2018-02-09 14:44:07 +11:00 |
|
Rob Harrington
|
0ccb0ce0e4
|
Make standing order header partial more generic
|
2018-02-09 14:44:07 +11:00 |
|
Rob Harrington
|
6e83c6dc86
|
Move standing order emails to a dedicated StandingOrderMailer
|
2018-02-09 14:44:07 +11:00 |
|
Rob Harrington
|
d6a9d63de5
|
Replace StandingOrderSyncJob with ProxyOrderSyncer service object
|
2018-02-09 14:44:06 +11:00 |
|
Rob Harrington
|
3aee0b5e70
|
Allow proxy order syncer to accept both ActiveRecord::Relation or StandingOrder
|
2018-02-09 14:44:06 +11:00 |
|
Rob Harrington
|
6d5c920a95
|
Split proxy order sync logic out into dedicated service object
|
2018-02-09 14:44:06 +11:00 |
|
Rob Harrington
|
cdf04323a9
|
Serialize standing order credit_card_id to enable selection in edit form
|
2018-02-09 14:44:06 +11:00 |
|
Rob Harrington
|
bdac68900f
|
Move address and card loading logic down into DetailsController
Also switch to using CreditCardResource to load the card
|
2018-02-09 14:44:05 +11:00 |
|
Rob Harrington
|
a5ae4c801c
|
Initialize ofn-select2 with empty array when data is a promise
|
2018-02-09 14:44:05 +11:00 |
|
Rob Harrington
|
404913dcfa
|
Move form-saving logic into dedicated StandingOrderForm service
|
2018-02-09 14:44:05 +11:00 |
|
Rob Harrington
|
ca1485f121
|
Add missing translations for proxy order controller error messages
|
2018-02-09 14:44:04 +11:00 |
|
Rob Harrington
|
c20c9e2e78
|
Use the rails logger instead of Bugsnag
|
2018-02-09 14:44:04 +11:00 |
|
Rob Harrington
|
f4f6fb6a7a
|
Update and process standing order payments prior to confirmation
|
2018-02-09 14:44:04 +11:00 |
|
Rob Harrington
|
ac8e09bc11
|
Add credit card validation to StandingOrderForm
|
2018-02-09 14:44:04 +11:00 |
|
Rob Harrington
|
f95d1ef058
|
Show message when no credit cards available for a customer
|
2018-02-09 14:44:04 +11:00 |
|
Rob Harrington
|
61b64a7516
|
Add credit card selection element to standing orders form
|
2018-02-09 14:44:04 +11:00 |
|
Rob Harrington
|
494f2f4821
|
Add cards lookup action to CustomersController
|
2018-02-09 14:44:04 +11:00 |
|
Rob Harrington
|
d3937e5c80
|
Move customer address lookup action to CustomersController
|
2018-02-09 14:44:03 +11:00 |
|
Rob Harrington
|
3ac2ac34ed
|
Add credit_card_id to StandingOrder model
|
2018-02-09 14:44:03 +11:00 |
|
Rob Harrington
|
25907d8969
|
Prevent standing order form from accepting non cash/stripe payment methods
|
2018-02-09 14:44:03 +11:00 |
|
Rob Harrington
|
26b85052e1
|
Load only Cash and Stripe payment methods into standing order form actions
|
2018-02-09 14:44:03 +11:00 |
|
Rob Harrington
|
07a7993109
|
Require a Cash or Stripe payment method in standing order setup process
|
2018-02-09 14:44:03 +11:00 |
|
Rob Harrington
|
7798b12086
|
Replace translation key for yes_i_am_sure
|
2018-02-09 14:44:03 +11:00 |
|
Rob Harrington
|
6081db382c
|
Updating addresses on standing order updates addresses on any initialised orders
|
2018-02-09 14:44:03 +11:00 |
|
Rob Harrington
|
b89ab2c407
|
Adding link to view/edit the order from Standing Order placement and confirmation emails
|
2018-02-09 14:44:02 +11:00 |
|
Rob Harrington
|
2a3fc8cfec
|
Automatically copy shipping address from billing if none present
|
2018-02-09 14:44:02 +11:00 |
|
Rob Harrington
|
7d1fc8cbe1
|
Make sure correct intro message is used for empty standing order notification
|
2018-02-09 14:44:02 +11:00 |
|
Rob Harrington
|
f969caa2d1
|
Do not place standing order when no items are available
Send notification to customer informing them that an order was not placed...
|
2018-02-09 14:44:02 +11:00 |
|
Rob Harrington
|
0fd86a6cc7
|
Adding UI to require action from user when pausing/cancelling standing order with open orders
|
2018-02-09 14:44:02 +11:00 |
|
Rob Harrington
|
ab5dc7ddd5
|
Require action from user when pausing/cancelling standing order with open orders
|
2018-02-09 14:44:02 +11:00 |
|
Rob Harrington
|
3ce8a1abba
|
Tweaking proxy order state logic
Inherits 'paused' state from standing order if present
|
2018-02-09 14:44:02 +11:00 |
|
Rob Harrington
|
834e5b702e
|
Using standing_order_form.$submitted for show/hide logic for angularjs form errors
|
2018-02-09 14:44:02 +11:00 |
|
Rob Harrington
|
001f329393
|
Refactoring StandingOrderPrototype
Allow handling of create/update responses from downstream controllers using promise chaining
|
2018-02-09 14:44:01 +11:00 |
|