Commit Graph

32 Commits (844d0dacf0f9cc3bdbd3b6a4eca900e66c3bcd0b)

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
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 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 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 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 9e5074f7c7 Authorize.net fixes 2019-11-14 21:43:29 +10:30
Mark Moffat 83a23d397d Send optional address to Stripe for better compliance 2019-11-12 22:11:02 +10:30
Mark Moffat c3c29d04f1
Adding Adyen payment integration (#97)
Add Adyen payment integration
2019-11-11 18:17:48 +10:30
Mark Moffat bf6c35ea50 Properly handle stripe hook with sig verification 2019-11-07 20:13:38 +10:30
Mark Moffat a87d2fbf0a
Adding subscriptions (#95)
* Adding subscriptions

* Adding in ability to use webhook for subscriptions

* Add docs and ability to create subscriptions

* Fixed populating value

* Adding subscription tests

* Language update
2019-11-06 21:10:27 +10:30
Mark Moffat 161be3075d Bugs in payment modules 2019-11-04 17:09:05 +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 a4e0f03b70 Linting 2019-06-15 14:21:01 +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
Mark Moffat 70105e73bc Added authorize.net payments 2018-02-04 22:39:42 +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