quickpos 1.0.923 → 1.0.924

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.
Files changed (2) hide show
  1. package/lib/paytr.js +1 -1
  2. package/package.json +1 -1
package/lib/paytr.js CHANGED
@@ -295,7 +295,7 @@ class PayTR {
295
295
  if (status === 'success') {
296
296
  return {
297
297
  status: 'success',
298
- orderId: callbackData.callback_id || merchant_oid,
298
+ orderId: callback_id || merchant_oid,
299
299
  merchant_oid: merchant_oid,
300
300
  amount: parseFloat(total_amount) / 100,
301
301
  currency: callbackData.currency,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "quickpos",
3
- "version": "1.0.923",
3
+ "version": "1.0.924",
4
4
  "main": "app.js",
5
5
  "scripts": {
6
6
  "test": "node test.js"