node-paytmpg 5.2.5 → 5.2.6

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.
@@ -676,7 +676,7 @@ module.exports = function (app, callbacks) {
676
676
  }
677
677
 
678
678
  module.callback = async (req, res) => {
679
- console.log("request_data ", req.originalUrl, req.body)
679
+ console.log("request_data ", req.originalUrl, JSON.stringify(req.headers), JSON.stringify(req.body))
680
680
 
681
681
  var result = false;
682
682
  let isCancelled = false;
@@ -741,7 +741,8 @@ module.exports = function (app, callbacks) {
741
741
  module.webhook = (req, res) => {
742
742
 
743
743
 
744
- console.log("request_data ", req.originalUrl, req.body)
744
+
745
+ console.log("request_data ", req.originalUrl, JSON.stringify(req.headers), JSON.stringify(req.body))
745
746
 
746
747
  if (config.paytm_url) {
747
748
  module.callback(req, res)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "node-paytmpg",
3
- "version": "5.2.5",
3
+ "version": "5.2.6",
4
4
  "description": "Payment Gateway Integration using NodeJS",
5
5
  "main": "index.js",
6
6
  "scripts": {