Added debug log statement
This commit is contained in:
parent
349c032815
commit
5681a2111b
1 changed files with 6 additions and 1 deletions
|
|
@ -745,7 +745,12 @@ export default {
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
updatePaymentMethod(paymentMethod) {
|
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 (
|
if (
|
||||||
store.getters.order.payment.piaType == paymentMethods.PAY_NOW ||
|
store.getters.order.payment.piaType == paymentMethods.PAY_NOW ||
|
||||||
store.getters.order.payment.piaType == paymentMethods.NONE ||
|
store.getters.order.payment.piaType == paymentMethods.NONE ||
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue