diff --git a/examples/expressApp/app.js b/examples/expressApp/app.js index 004befd..11037e1 100644 --- a/examples/expressApp/app.js +++ b/examples/expressApp/app.js @@ -4,9 +4,9 @@ const express = require('express'); const midtransClient = require('midtrans-client'); // Set Your server key -// can find in Merchant Portal -> Settings -> Access keys -const SERVER_KEY = ''; -const CLIENT_KEY = ''; +// You can find it in Merchant Portal -> Settings -> Access keys +const SERVER_KEY = 'SB-Mid-server-GwUP_WGbJPXsDzsNEBRs8IYA'; +const CLIENT_KEY = 'SB-Mid-client-61XuGAwQ8Bj8LxSS'; // Express setup let app = express(); @@ -210,8 +210,8 @@ app.get('/', function (req, res) { function printExampleWarningMessage() { message = "

Please set your server key and client key from sandbox

In file: " + __filename - message += "

# Set Your server key" - message += "
# can find in Merchant Portal -> Settings -> Access keys" + message += "

// Set Your server key" + message += "
// You can find it in Merchant Portal -> Settings -> Access keys" message += "
SERVER_KEY = ''" message += "
CLIENT_KEY = ''
" return message