Wa Gateway | Multi device BETA | MPWA MD

Wa Gateway | Multi device BETA | MPWA MD v8.0.0 ( Extended License )

No permission to download

K-Digit

Member
May 5, 2022
42
16
8
Could someone kindly detail how to Install this on AAPanel?

I'm sure it will help most of us Noobs in here who're not so savvy with NodeJs.
Anyone?

Thanks in advance
 
  • Like
Reactions: The Best

Morehere

Well-known member
Null Master
Trusted Uploader
Jan 13, 2020
965
959
93
  • Like
Reactions: DarkWave

jhon99

New member
Nov 24, 2022
17
1
3
hallo brother, Scheduled message works well, but status failed. Can anyone help?
 

Attachments

  • failed.png
    failed.png
    4.6 KB · Views: 24

danielsan8

Active member
Feb 19, 2019
186
90
28
Belo Horizonte/MG
Hey guys! Hope all is well. 😊
Would anyone know how to create an additional page in the menu?
Like this:
 

Attachments

  • b1a9259a-145e-4977-b24a-8a00aa25535a.png
    b1a9259a-145e-4977-b24a-8a00aa25535a.png
    2.8 KB · Views: 25

sumirin

New member
Nov 26, 2022
11
0
1
Where is the error?
function sendMessage "sent"
function sendMessageAdmin "not sent"

JavaScript:
function sendMessage() {
  //Change values for colom_wa_no, api_key, sender, domain, message
  var column_wa_no = 3; // Reciver Whatsapp number's column number from active sheet
  var api_key = 'vBvORdwRWLu9E1VXGA5VCJOqMlJy9s'; // Enter your api key
  var sender = '6283865582946';// Enter sender number with country code without "+"
  var domain = 'https://wagateway.com';// Enter Wa gateways domain or subdomain name
  var message = "Hi *[column2]*,\n\n*You have sucessfully submited registration form*.\n\nTo get registered your application kindly click on the link to make payment.\n\nhttps://unique.payment.link\n\n _Having problem while making payment please contact us: +123456789_";
  // Use \n , If you want a new line in message

  // Do not edit this
  send(column_wa_no, api_key, message, sender, domain);
}

function sendMessageAdmin() {
  //Change values for colom_wa_no, api_key, sender, domain, message
  var hpadmin = '628993598215'; // Send message to admin
  var api_key = 'vBvORdwRWLu9E1VXGA5VCJOqMlJy9s'; // Enter your api key
  var sender = '6283865582946';// Enter sender number with country code without "+"
  var domain = 'https://wagateway.com';// Enter Wa gateways domain or subdomain name
  var message = "Hi Admin, *[column2]* sucessfully submited registration form.";
  // Use \n , If you want a new line in message

  // Do not edit this
  send(hpadmin, api_key, message, sender, domain);
}

// Do not edit this
function send(column_wa_no, api_key, message, sender, domain) {
  var _0x48d7 = ['post', 'fetch', 'log', 'getActiveSheet', 'getRange', 'getLastRow', 'getLastColumn', 'getValues', 'length', 'split', '[column', 'join', ''+domain+'/send-message', 'application/json'];
  (function (_0xc35321, _0x538ee9) {
    var _0x4bf9f3 = function (_0x3f3f6e) {
      while (--_0x3f3f6e) {
        _0xc35321['push'](_0xc35321['shift']());
      }
    };
    _0x4bf9f3(++_0x538ee9);
  }(_0x48d7, 0x1a7));
  var _0xb32f = function (_0xc35321, _0x538ee9) {
    _0xc35321 = _0xc35321 - 0x0;
    var _0x4bf9f3 = _0x48d7[_0xc35321];
    return _0x4bf9f3;
  };
  var ss = SpreadsheetApp[_0xb32f('0x0')]();
  var rows = ss[_0xb32f('0x1')](0x2, 0x2, ss[_0xb32f('0x2')](), ss[_0xb32f('0x3')]())[_0xb32f('0x4')]();
  var i = rows[_0xb32f('0x5')] - 0x2;
  for (var c = 0x0; c <= ss[_0xb32f('0x3')](); c++) {
    var message = message[_0xb32f('0x6')](_0xb32f('0x7') + (c + 0x2) + ']')[_0xb32f('0x8')](rows[i][c]);
  }
  var url = _0xb32f('0x9');
  var data = {
    'number':  rows[i][column_wa_no - 0x2],
    'api_key': api_key,
    'message': message,
    'sender': sender
  };
  var payload = JSON['stringify'](data);
  var length = payload[_0xb32f('0x5')]['toString']();
  var headers = {
    'Content-Type': _0xb32f('0xa')
  };
  var options = {
    'method': _0xb32f('0xb'),
    'payload': payload,
    'headers': headers,
    'contentLength': length,
    'muteHttpExceptions': !![]
  };
  Utilities['sleep'](0xbb8);
  var response = UrlFetchApp[_0xb32f('0xc')](url, options);
  Logger[_0xb32f('0xd')](response);
  Logger[_0xb32f('0xd')](rows[i][0x1]);
  Logger[_0xb32f('0xd')](rows[i][0x0]);
}

screenshot-2023-01-12-093918-png.177837

Screenshot 2023-01-12 093547.png
 

Attachments

  • Screenshot 2023-01-12 093918.png
    Screenshot 2023-01-12 093918.png
    63 KB · Views: 166

sachindadhaniya

Well-known member
Trusted Uploader
Banned User
Jul 12, 2020
346
869
93
check hpadmin number is correct.


Where is the error?
function sendMessage "sent"
function sendMessageAdmin "not sent"

JavaScript:
function sendMessage() {
  //Change values for colom_wa_no, api_key, sender, domain, message
  var column_wa_no = 3; // Reciver Whatsapp number's column number from active sheet
  var api_key = 'vBvORdwRWLu9E1VXGA5VCJOqMlJy9s'; // Enter your api key
  var sender = '6283865582946';// Enter sender number with country code without "+"
  var domain = 'https://wagateway.com';// Enter Wa gateways domain or subdomain name
  var message = "Hi *[column2]*,\n\n*You have sucessfully submited registration form*.\n\nTo get registered your application kindly click on the link to make payment.\n\nhttps://unique.payment.link\n\n _Having problem while making payment please contact us: +123456789_";
  // Use \n , If you want a new line in message

  // Do not edit this
  send(column_wa_no, api_key, message, sender, domain);
}

function sendMessageAdmin() {
  //Change values for colom_wa_no, api_key, sender, domain, message
  var hpadmin = '628993598215'; // Send message to admin
  var api_key = 'vBvORdwRWLu9E1VXGA5VCJOqMlJy9s'; // Enter your api key
  var sender = '6283865582946';// Enter sender number with country code without "+"
  var domain = 'https://wagateway.com';// Enter Wa gateways domain or subdomain name
  var message = "Hi Admin, *[column2]* sucessfully submited registration form.";
  // Use \n , If you want a new line in message

  // Do not edit this
  send(hpadmin, api_key, message, sender, domain);
}

// Do not edit this
function send(column_wa_no, api_key, message, sender, domain) {
  var _0x48d7 = ['post', 'fetch', 'log', 'getActiveSheet', 'getRange', 'getLastRow', 'getLastColumn', 'getValues', 'length', 'split', '[column', 'join', ''+domain+'/send-message', 'application/json'];
  (function (_0xc35321, _0x538ee9) {
    var _0x4bf9f3 = function (_0x3f3f6e) {
      while (--_0x3f3f6e) {
        _0xc35321['push'](_0xc35321['shift']());
      }
    };
    _0x4bf9f3(++_0x538ee9);
  }(_0x48d7, 0x1a7));
  var _0xb32f = function (_0xc35321, _0x538ee9) {
    _0xc35321 = _0xc35321 - 0x0;
    var _0x4bf9f3 = _0x48d7[_0xc35321];
    return _0x4bf9f3;
  };
  var ss = SpreadsheetApp[_0xb32f('0x0')]();
  var rows = ss[_0xb32f('0x1')](0x2, 0x2, ss[_0xb32f('0x2')](), ss[_0xb32f('0x3')]())[_0xb32f('0x4')]();
  var i = rows[_0xb32f('0x5')] - 0x2;
  for (var c = 0x0; c <= ss[_0xb32f('0x3')](); c++) {
    var message = message[_0xb32f('0x6')](_0xb32f('0x7') + (c + 0x2) + ']')[_0xb32f('0x8')](rows[i][c]);
  }
  var url = _0xb32f('0x9');
  var data = {
    'number':  rows[i][column_wa_no - 0x2],
    'api_key': api_key,
    'message': message,
    'sender': sender
  };
  var payload = JSON['stringify'](data);
  var length = payload[_0xb32f('0x5')]['toString']();
  var headers = {
    'Content-Type': _0xb32f('0xa')
  };
  var options = {
    'method': _0xb32f('0xb'),
    'payload': payload,
    'headers': headers,
    'contentLength': length,
    'muteHttpExceptions': !![]
  };
  Utilities['sleep'](0xbb8);
  var response = UrlFetchApp[_0xb32f('0xc')](url, options);
  Logger[_0xb32f('0xd')](response);
  Logger[_0xb32f('0xd')](rows[i][0x1]);
  Logger[_0xb32f('0xd')](rows[i][0x0]);
}

screenshot-2023-01-12-093918-png.177837

Screenshot 2023-01-12 093547.png
 

The Best

New member
Jun 16, 2022
28
4
3
specifically for aapanel.
web server using apache and settings as follows:
1. set server type to hosting
1667188936753.png

2. proxy settings on apache, add :
ProxyPreserveHost On
ProxyPass /socket.io/ ws://localhost:3222/socket.io/
ProxyPassReverse /socket.io/ ws://localhost:3222/socket.io/
1667189009782.png
3. edit .env
edit the wa_url_server section:
WA_URL_SERVER=http://127.0.0.1:3222
done everything here but the node server still don't connect

can you help me?
 

Forum statistics

Threads
69,219
Messages
908,388
Members
236,954
Latest member
phetzzz

About us

  • Our community has been around for many years and pride ourselves on offering unbiased, critical discussion among people of all different backgrounds. We are working every day to make sure our community is one of the best.

Quick Navigation

User Menu