Merge branch 'release/2026.02.12' into feature/CASH-611
This commit is contained in:
commit
f0bba00f5d
1 changed files with 8 additions and 2 deletions
|
|
@ -745,10 +745,16 @@ export default {
|
|||
}
|
||||
},
|
||||
updatePaymentMethod(paymentMethod) {
|
||||
// if the payment method is not set yet, then set it based on what HOP sends us
|
||||
debugLog(
|
||||
`updatePaymentMethod(${paymentMethod}) and existing store.getters.order.payment.piaType = ${store?.getters?.order?.payment?.piaType}`
|
||||
);
|
||||
|
||||
// if the payment method is not set yet, then set it based on what HOP sends
|
||||
// or if its not already set to AfterPay, always set it based on what HOP sends
|
||||
if (
|
||||
store.getters.order.payment.piaType == paymentMethods.PAY_NOW ||
|
||||
store.getters.order.payment.piaType == paymentMethods.NONE
|
||||
store.getters.order.payment.piaType == paymentMethods.NONE ||
|
||||
store.getters.order.payment.piaType != paymentMethods.AFTERPAY
|
||||
) {
|
||||
console.log(new Date() + " UPDATE PaymentMethod from HOP:" + paymentMethod);
|
||||
this.dispatchStoreAction(
|
||||
|
|
|
|||
Loading…
Reference in a new issue