aboutsummaryrefslogtreecommitdiff
path: root/server/controllers
diff options
context:
space:
mode:
Diffstat (limited to 'server/controllers')
-rw-r--r--server/controllers/transaction.js14
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) {
+
+ }
+
+};