Always set piaType unless its AfterPay
Changing payment methods after the first on payment.vue is not setting the new payment type. A long ago bug fix for AfterPay is the issue, and we're good to still not allow the payment type be set if its already set to AfterPay since closing that modal navigates back to payment-method.
This commit is contained in:
parent
7eef34f6a9
commit
349c032815
1 changed files with 2 additions and 1 deletions
|
|
@ -748,7 +748,8 @@ export default {
|
|||
// if the payment method is not set yet, then set it based on what HOP sends us
|
||||
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