Commit Graph

76 Commits (1c4303018aa1413148a70684db62626abeae7c5c)

Author SHA1 Message Date
Mark Moffat 83064c04a1 Clean loading of Payment partial 2020-03-22 14:05:10 +10:30
Mark Moffat 22f62697f5 Fixed color of payment failed message 2020-03-21 11:50:07 +10:30
Mark Moffat b74d17bff7 Renamed for cleanliness 2020-03-20 20:17:21 +10:30
Mark Moffat 225e7aa9c7 Renamed for clarity 2020-03-20 20:13:59 +10:30
Mark Moffat da34f3e63c Refactoring the payment config/schema, loading and routes path 2020-03-20 20:06:44 +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 9a8ccb817f Removed debug log 2020-02-23 14:01:40 +10:30
Mark Moffat c42a2478ef Linting 2020-02-21 12:52:43 +10:30
Mark Moffat fdbbceb114 Fixes to icon display 2020-02-01 19:24:11 +10:30
Mark Moffat e9fcbd5a99 Fixed SOE breaking the admin 2020-01-28 17:01:28 +10:30
Mark Moffat de0b81d6be SEO improvements 2020-01-23 21:28:21 +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 8996e9bedd Case sensitive PORT var 2020-01-13 18:31:11 +10:30
Mark Moffat a880c0078f Fished crash on null value 2020-01-07 21:10:22 +10:30
Mark Moffat 3373a60d8f Add/Update/Remove/empty cart without refreshing the page 2020-01-04 13:07:35 +10:30
Mark Moffat f96d8335d6 Better display of cart amount breakdown 2020-01-03 22:59:00 +10:30
Mark Moffat 706bce7b20 Payment result style fixes 2020-01-03 22:51:20 +10:30
Mark Moffat 2f4929908d Added helper for product options display 2020-01-02 14:07:53 +10:30
Mark Moffat eafb690445 Added instore payment type. 2020-01-01 14:57:42 +10:30
Mark Moffat ee5400716c Style/layout fixes for mobile 2019-12-28 16:13:20 +10:30
Mark Moffat 32ea7da4da Huge rewrite and update of style/layout + theme simplification 2019-12-26 13:53:21 +10:30
Mark Moffat 2430c1fce7 Removed commented line 2019-12-18 17:42:19 +10:30
Mark Moffat 7a3f61dbb3 Allowing env.yaml file for environment configs 2019-12-18 17:40:54 +10:30
Mark Moffat 801314f230 Removed duplicate change 2019-12-16 17:58:37 +10:30
Mark Moffat 23ac0fdbe0 Support for .env 2019-12-16 17:57:45 +10:30
Mark Moffat 370a5b1a17 Override from env 2019-12-16 17:46:36 +10:30
Mark Moffat c3c29d04f1
Adding Adyen payment integration (#97)
Add Adyen payment integration
2019-11-11 18:17:48 +10:30
Mark Moffat 0991405072 Suppress logging when running tests 2019-11-09 10:57:20 +10:30
Mark Moffat bf6c35ea50 Properly handle stripe hook with sig verification 2019-11-07 20:13:38 +10:30
Mark Moffat 2aa973a692 Small linting 2019-11-06 19:03:51 +10:30
Andrea Di Mario d3abc37cb0 Initialize multiple language and start translations (#91)
* Initialize multiple language and start translations

* continue with translation

* end translations for en and it

* fix json syntax en translation, otherwise i18n reset the file

* add language info in config

* fix json format invalid

* solve review comments
2019-11-06 19:01:25 +10:30
Mark Moffat e5ef7af4cc Linting 2019-11-03 09:48:34 +10:30
Mark Moffat 9f1eca7b02 Removed old code 2019-11-01 23:00:40 +10:30
Mark Moffat 726df5a9fb Random generate secrets and store in settings-local 2019-10-29 19:30:47 +10:30
Mark Moffat 1584a2a173 Fixing deprecated DB calls 2019-10-29 18:56:30 +10:30
Mark Moffat 3c9a86306a Added note to update session secret 2019-10-26 11:17:29 +10:30
Mark Moffat 22626c0873 Linting 2019-10-25 19:38:47 +10:30
Aayush Saxena c42bd43de3 code refactored - used switch case instead of if 2019-09-23 15:48:26 +09:30
Mark Moffat 7af378a7bb Linting 2019-07-12 17:36:34 +09:30
Mark Moffat fc1580ddd6 Starting to add schema validation to API endpoints 2019-06-17 19:51:45 +09:30
Mark Moffat 10215af9ff Fixed settings saving + add sending of order hooks 2019-06-15 15:35:31 +09:30
Mark Moffat 291a044d0b Linting and refactoring 2019-06-15 14:16:08 +09:30
Mark Moffat ca7043be2a Starting to add ability to make admin API requests 2019-06-15 10:26:03 +09:30
Mark Moffat 9208619803 Change startup and only run indexing while not in test env 2019-06-11 19:33:42 +09:30
Mark Moffat 3c38a6f9da Track stock on testing 2019-06-09 22:19:35 +09:30
Mark Moffat 10d04c2485 Removed comment 2019-06-09 22:00:26 +09:30
Mark Moffat bc4a5ee71b Refactor the DB connection to be able to reuse 2019-06-08 17:19:40 +09:30
Mark Moffat f1b6d1dcc8 Store cart in the DB and handle the holding of stock across sessions 2019-06-01 21:52:14 +09:30
Mark Moffat 1d2522668a Linting 2018-10-05 22:45:39 +09:30
Ben Burns 9b0f7a03b7 Handle settings changes without restart
Prior to this change, edited settings on the /admin/settings page
required a restart for the edit to take effect. This even causes the
settings page itself to not reflect the updated settings once you
navigate away from it or refresh. This change triggers the config to
reload when the settings are modified, which causes the impacted
templates to be recomputed.
2018-09-02 21:26:15 +09:30