orderiom-api-package 0.4.108 → 0.4.110

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "orderiom-api-package",
3
- "version": "0.4.108",
3
+ "version": "0.4.110",
4
4
  "description": "This package will install all necessary API calls for every orderiom restaurant",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",
@@ -695,10 +695,12 @@ const actions = {
695
695
  .catch(commonErrorCallback());
696
696
  },
697
697
  updatePaymentStatus({ dispatch, commit }, data) {
698
+ console.log('data')
699
+ console.log(data)
698
700
  return $http
699
701
  .get(`api/payment/update`, {
700
702
  params: {
701
- paymentId: data.paymentId, status: data.status , orderId:data.orderId,
703
+ paymentId: data.paymentId, status: data.status , orderId:data.orderId,PayerID:data.PayerID || null,
702
704
  sessionId: data.sessionId || null, sessionResult: data.sessionResult || null // adyen payment
703
705
  },
704
706
  })
@@ -317,7 +317,7 @@ const actions = {
317
317
  if (extraCategories.length) commit('setCategories', [...categories, ...extraCategories]);
318
318
  else commit('setCategories', categories);
319
319
 
320
- if(state.categories.length){
320
+ if(state.categories.length && !state.showSearchedProducts){
321
321
  dispatch('chooseCategory', {
322
322
  category: state.categories[0],
323
323
  restaurantId