Pepguy commited on
Commit
7ccf1cc
·
verified ·
1 Parent(s): fd68981

Update app.js

Browse files
Files changed (1) hide show
  1. app.js +2 -0
app.js CHANGED
@@ -23,6 +23,8 @@ const {
23
  PORT = 3000,
24
  } = process.env;
25
 
 
 
26
  if (!PAYSTACK_SECRET) {
27
  console.warn('WARNING: PAYSTACK_SECRET is not set. Webhook signature verification will fail.');
28
  }
 
23
  PORT = 3000,
24
  } = process.env;
25
 
26
+ const PAYSTACK_SECRET = PAYSTACK_DEMO_SECRET; // PAYSTACK_LIVE_SECRET
27
+
28
  if (!PAYSTACK_SECRET) {
29
  console.warn('WARNING: PAYSTACK_SECRET is not set. Webhook signature verification will fail.');
30
  }