orderiom-api-package 0.4.1 → 0.4.2
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 +4 -1
package/package.json
CHANGED
package/src/modules/order.js
CHANGED
|
@@ -683,7 +683,10 @@ const actions = {
|
|
|
683
683
|
updatePaymentStatus({ dispatch, commit }, data) {
|
|
684
684
|
return $http
|
|
685
685
|
.get(`api/payment/update`, {
|
|
686
|
-
params: {
|
|
686
|
+
params: {
|
|
687
|
+
paymentId: data.paymentId, status: data.status , orderId:data.orderId,
|
|
688
|
+
sessionId: data.sessionId || null, sessionResult: data.sessionResult || null // adyen payment
|
|
689
|
+
},
|
|
687
690
|
})
|
|
688
691
|
.then((res) => {
|
|
689
692
|
const status = res.data.data.status;
|