diff options
author | Mateja <mail@matejamaric.com> | 2021-07-15 22:51:08 +0200 |
---|---|---|
committer | Mateja <mail@matejamaric.com> | 2021-07-15 22:51:08 +0200 |
commit | df8ab8735bcad64fc76e624940a0538681760775 (patch) | |
tree | f903a4c195d620f238e0d7362b0c1acc029054c4 /server/controllers | |
parent | 1b04c332c2562f52c11ca653c4cd55f4c24548e5 (diff) | |
download | mevn-ecommerce-df8ab8735bcad64fc76e624940a0538681760775.tar.gz mevn-ecommerce-df8ab8735bcad64fc76e624940a0538681760775.zip |
Setup transaction routes.
Diffstat (limited to 'server/controllers')
-rw-r--r-- | server/controllers/transaction.js | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/server/controllers/transaction.js b/server/controllers/transaction.js new file mode 100644 index 0000000..119705e --- /dev/null +++ b/server/controllers/transaction.js @@ -0,0 +1,14 @@ +const paypal = require('@paypal/checkout-server-sdk'); +const paypalClient = require('../config/paypal'); + +module.exports = { + + async setup(req, res) { + + }, + + async capture(req, res) { + + } + +}; |