node-paytmpg 7.5.6 → 7.5.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -882,6 +882,9 @@ class PaymentController {
882
882
  CLIENT_ID: txn.clientId,
883
883
  }), req);
884
884
  txn.payurl = config.host_url + '/' + config.path_prefix + '/init?to=' + urlData64;
885
+ if (txn.clientId) {
886
+ txn.payurl += `&client_id=${txn.clientId}`;
887
+ }
885
888
  res.send(txn);
886
889
  }
887
890
  catch (err) {
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "node-paytmpg",
3
- "version": "7.5.6",
3
+ "version": "7.5.7",
4
4
  "description": "Payment Gateway Integration using NodeJS",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "node-paytmpg",
3
- "version": "7.5.6",
3
+ "version": "7.5.7",
4
4
  "description": "Payment Gateway Integration using NodeJS",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",