node-paytmpg 8.0.15 → 8.0.16

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.
@@ -77,7 +77,7 @@ class RazorpayAdapter {
77
77
  if (orderId) {
78
78
  console.log("Attempting fallback validation method using GET Order", orderId);
79
79
  try {
80
- const orderDetails = await this.getOrder(orderId, { KEY: '', SECRET: secret });
80
+ const orderDetails = await this.getOrder(orderId, clientConfig);
81
81
  if (orderDetails && orderDetails.id === orderId && orderDetails.status === captureStatusClaimed) {
82
82
  console.log("Fallback validation successful for order:", orderId);
83
83
  return true;
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "node-paytmpg",
3
- "version": "8.0.15",
3
+ "version": "8.0.16",
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": "8.0.15",
3
+ "version": "8.0.16",
4
4
  "description": "Payment Gateway Integration using NodeJS",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",