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 +1 -1
- package/src/modules/order.js +3 -1
- package/src/modules/product.js +1 -1
package/package.json
CHANGED
package/src/modules/order.js
CHANGED
|
@@ -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
|
})
|
package/src/modules/product.js
CHANGED
|
@@ -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
|