Skip to content

Commit

Permalink
Remove MHR sub products
Browse files Browse the repository at this point in the history
  • Loading branch information
seeker25 committed Jan 24, 2025
1 parent 9e7fd32 commit bb837d1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions auth-web/src/composables/product-payment-factory.ts
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,7 @@ export const useProductPayment = (props, state) => {
const { productList } = storeToRefs(useOrgStore())
const derivedProductList = props.isCreateAccount ? currentSelectedProducts.value : productList.value
.filter(item => item.subscriptionStatus === ProductStatus.ACTIVE)
.filter(item => !item.code.startsWith('MHR_'))
.map(item => item.code)
const paymentMethodProducts = {}
for (const [product, methods] of Object.entries(productPaymentMethods)) {
Expand All @@ -135,6 +136,7 @@ export const useProductPayment = (props, state) => {
}
// Support all products for EJV by default, might not be supported in practice, but this is similar to PAD.
paymentMethodSupported[PaymentTypes.EJV] = true
debugger
return paymentMethodSupported
})

Expand Down

0 comments on commit bb837d1

Please sign in to comment.