node-paytmpg 5.1.0 → 5.1.1

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.
@@ -794,6 +794,9 @@ module.exports = function (app, callbacks) {
794
794
  let order = await razorPayInstance.orders.create(options);
795
795
  id = order.id;
796
796
  }
797
+ else if(config.open_money_url){
798
+ id = "pay_" + makeid(config.id_length || IDLEN)
799
+ }
797
800
 
798
801
  var txnTask = new Transaction({
799
802
  id: id,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "node-paytmpg",
3
- "version": "5.1.0",
3
+ "version": "5.1.1",
4
4
  "description": "Payment Gateway Integration using NodeJS",
5
5
  "main": "index.js",
6
6
  "scripts": {