From df8ab8735bcad64fc76e624940a0538681760775 Mon Sep 17 00:00:00 2001 From: Mateja Date: Thu, 15 Jul 2021 22:51:08 +0200 Subject: Setup transaction routes. --- server/controllers/transaction.js | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 server/controllers/transaction.js (limited to 'server/controllers') 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) { + + } + +}; -- cgit v1.2.3