node-paytmpg 5.2.4 → 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,6 +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, JSON.stringify(req.headers), JSON.stringify(req.body))
|
|
679
680
|
|
|
680
681
|
var result = false;
|
|
681
682
|
let isCancelled = false;
|
|
@@ -738,6 +739,11 @@ module.exports = function (app, callbacks) {
|
|
|
738
739
|
}
|
|
739
740
|
|
|
740
741
|
module.webhook = (req, res) => {
|
|
742
|
+
|
|
743
|
+
|
|
744
|
+
|
|
745
|
+
console.log("request_data ", req.originalUrl, JSON.stringify(req.headers), JSON.stringify(req.body))
|
|
746
|
+
|
|
741
747
|
if (config.paytm_url) {
|
|
742
748
|
module.callback(req, res)
|
|
743
749
|
}
|