Commit Graph

21 Commits (da4cd69b79672977654e6d4394bac838b5f21822)

Author SHA1 Message Date
Mark Moffat 78e06e511b
Customer account page (#124)
* Adding customer login & account page support

* Added account link

* Sorting orders on account page

* Small UI fixes

* Removed debugs

* Added tests

Co-authored-by: Mark Moffat <mark@Marks-MacBook-Pro-2.local>
2020-03-17 16:56:04 +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 445c4f62ff Fixed display of shipping amount in cart & populate through to order 2020-01-03 22:39:51 +10:30
Mark Moffat fa477dbdf4 Centralising functions & refactoring 2020-01-02 15:53:39 +10:30
Mark Moffat 48b4963dfe Collect additional data in orders 2019-12-30 18:05:43 +10:30
Mark Moffat b48b2237ee Improving checkout experience Fixes #103 2019-12-21 13:16:48 +10:30
Mark Moffat 1665f461e2 Error in paypal module 2019-11-03 16:03:11 +10:30
Mark Moffat e5ef7af4cc Linting 2019-11-03 09:48:34 +10:30
Mark Moffat 1584a2a173 Fixing deprecated DB calls 2019-10-29 18:56:30 +10:30
Mark Moffat 7af378a7bb Linting 2019-07-12 17:36:34 +09:30
Mark Moffat 7c10c24ca6 Fixed invalid path 2019-06-15 15:28:19 +09:30
Mark Moffat 0fe5b8fb9c Incorrect reference to indexing 2019-06-15 15:26:51 +09:30
Mark Moffat 291a044d0b Linting and refactoring 2019-06-15 14:16:08 +09:30
Mark Moffat 5db27a523b Allow for order wide comments on payment 2018-10-05 22:45:12 +09:30
Mark Moffat 61c59c8997 Started adding some tests 2018-02-22 18:41:24 +01:00
Mark Moffat 85faeb9168 Moved common helper to more logical location 2018-02-05 19:20:30 +01:00
arings c2184649fa Fix bugs in Stripe and crashes in Paypal modules
- Paypal: deprecated req.param in express
- Paypal: newId was saving in DB as empty string
- Stripe: newId was undefined, resulting in wrongly reported unsuccesful
transaction
- Stripe: client email was not sending because was undefined
2018-01-31 17:57:56 +01:00
Mark Moffat 6297639688 Some TODOs 2018-01-21 22:20:46 +01:00
Mark Moffat 69e50c9c03 Fixed payment paths 2018-01-07 19:38:06 +01:00
Mark Moffat a2a5923acd Changed paths of payment providers and updated readme 2018-01-07 19:38:06 +01:00