Commit Graph

151 Commits (3b150012afca546a2bff54ab4180d30e1051f187)

Author SHA1 Message Date
Mark Moffat c591263eb9 Added new field 2020-03-14 11:38:13 +10:30
geco 7c7af39f4b
Add Bitcoin payment method (#121)
* fix settins form submit not working

* prepare routes/config structure to support new blockonomics payment method

* setup blockonomics view, get address and calculate btc

* blockonomics subscribe to web socket to listen for real time order updates on checkout page

* create order with pending status while waiting for blockonomics payment and pass orderid to frontend

* check received amount is enough

* blockonomics btc amount check, backend order confirmation, show order info into backend and frontend

* cleanup and empty cart when order is payed

* decline order if insufficient amount

* handle email and lunr indexing for blockonomis

* blockonomics new confirmation page, auto redirect at confirmation zero, 10 minutes timeout

* Update README with Blockonomics

* add countdown timer to blockonomics payment page

* updated README and checkout page

* update README with blockonomics return url

* build

* reply to blockonomics http callback

* dont check amount on frontend

* restore default settings

* switch from unirest to axios, remove unirest dep

* fix lint problems

* restore gitignore

* restore baseSchema

* build

Co-authored-by: GECKO <4787777-geckojs@users.noreply.gitlab.com>
2020-03-14 11:21:26 +10:30
Mark Moffat f3a7231016 Added customer company name for shipping 2020-03-07 20:07:49 +10:30
Mark Moffat e64905eddd Small fixes 2020-03-07 19:48:06 +10:30
Mark Moffat cd3ba1bc60 Fixes for CSRF 2020-02-23 14:10:35 +10:30
Mark Moffat d1bb5a6360 Small SEO enhancements 2020-01-24 15:12:49 +10:30
Mark Moffat de0b81d6be SEO improvements 2020-01-23 21:28:21 +10:30
Mark Moffat 5d4c469e38 Fixed same product - diff opts in cart. Added confirm on cart empty. 2020-01-21 20:30:52 +10:30
Mark Moffat 799ed301f2
Adding discount code support (#109)
Added a discount code module. Lots of work went into this. 

Please report any problems as issues to be fixed
2020-01-21 18:06:46 +10:30
Mark Moffat 3bda249c68 Adding in a maxQuantity value when adding to cart 2020-01-08 19:10:45 +10:30
Mark Moffat fe14f28994 Fix product price and amount global searching 2020-01-08 18:58:29 +10:30
Mark Moffat 7f750b4a3b Fix validating quantity 2020-01-07 21:33:35 +10:30
Mark Moffat 0d44ce7cbb Added global search to the admin UI 2020-01-07 21:15:23 +10:30
Mark Moffat 11302e2255 Improvements to the shipping module & cart updates 2020-01-04 17:40:58 +10:30
Mark Moffat 3373a60d8f Add/Update/Remove/empty cart without refreshing the page 2020-01-04 13:07:35 +10:30
Mark Moffat 445c4f62ff Fixed display of shipping amount in cart & populate through to order 2020-01-03 22:39:51 +10:30
Mark Moffat b410d25ccf Added ability to create manual orders via the admin panel 2020-01-02 16:00:24 +10:30
Mark Moffat fa477dbdf4 Centralising functions & refactoring 2020-01-02 15:53:39 +10:30
Mark Moffat 36aa0375b5 Normalise file names 2020-01-01 19:56:21 +10:30
Mark Moffat eafb690445 Added instore payment type. 2020-01-01 14:57:42 +10:30
Mark Moffat f2e6b32384 Changed txn ID variable 2020-01-01 14:54:17 +10:30
Mark Moffat e7cbed7132 Fixes for blank data 2019-12-30 23:06:06 +10:30
Mark Moffat 7cef58dae3 Added a dashboard 2019-12-30 22:58:37 +10:30
Mark Moffat 029f279331 Aligned variable names 2019-12-30 18:07:12 +10:30
Mark Moffat 48b4963dfe Collect additional data in orders 2019-12-30 18:05:43 +10:30
Mark Moffat 03573129b3 Fixing cart storage and management 2019-12-30 13:40:57 +10:30
Mark Moffat 967ac66786 Linting 2019-12-30 13:18:45 +10:30
Mark Moffat 77c9cecaeb Add country select to customer in admin 2019-12-28 17:01:28 +10:30
Mark Moffat 32ea7da4da Huge rewrite and update of style/layout + theme simplification 2019-12-26 13:53:21 +10:30
Mark Moffat 0dff79f889 Cleaning up code 2019-12-21 13:23:28 +10:30
Mark Moffat b48b2237ee Improving checkout experience Fixes #103 2019-12-21 13:16:48 +10:30
Mark Moffat 588fdddb75 Fixed updating of cart + added retrieval of cart & specs 2019-12-20 09:38:46 +10:30
Mark Moffat ddf78c1618 Add country select for customer form & handle customer register fix 2019-12-19 15:35:48 +10:30
Mark Moffat c72681fdf2 Fixed some SEO 2019-12-18 19:48:31 +10:30
Mark Moffat c992673bc6 Added rate limiter on customer forgotten password 2019-12-16 17:03:51 +10:30
Mark Moffat 7e6d6e9b8c Fixed delete user account api 2019-12-16 15:15:02 +10:30
Mark Moffat 1f84f77089 Fixed user create and update API endpoints 2019-12-16 14:52:27 +10:30
Mark Moffat 8a638a3324 Fix API endpoint for product insert 2019-12-16 14:10:56 +10:30
Mark Moffat f149b87c3a Moved form to API endpoint + fixed opts 2019-12-16 13:00:30 +10:30
Mark Moffat d57fd17718 Fixing more API endpoints 2019-12-13 21:36:25 +10:30
Mark Moffat 3e065c2610 Missing returns and page check 2019-12-07 17:55:51 +10:30
Mark Moffat 980c467444 Update old variable name 2019-12-07 17:52:46 +10:30
Mark Moffat b3cc17aee0 Missing return 2019-12-07 17:52:27 +10:30
Mark Moffat 76018ea076 Fixed route 2019-12-07 14:30:45 +10:30
Mark Moffat b2f58fbe4b Moving admin functions to API calls 2019-12-07 10:11:18 +10:30
Mark Moffat 67eb6c9014 Allow deleting of customers 2019-11-23 09:05:19 +10:30
Mark Moffat c32b9f77b3 Fixed customer indexing and dodgy test 2019-11-16 21:35:02 +10:30
Mark Moffat a6645e9d81 Update customer route and tests 2019-11-16 21:27:48 +10:30
Mark Moffat a85293dbc4 Update tests to update users 2019-11-16 20:27:50 +10:30
Mark Moffat f45698088a Validate users routes 2019-11-16 20:07:48 +10:30