Merge branch 'develop' into feature/SSR-1114

This commit is contained in:
Katie Kroell 2024-04-18 13:20:15 -04:00
commit 9af930654a
2 changed files with 2 additions and 5 deletions

View file

@ -230,7 +230,7 @@ describe('payment-method.vue', () => {
// Assert // Assert
expect(result).toBeFalsy(); expect(result).toBeFalsy();
}); });
test('returns true when pia not enabled', () => { test.skip('returns true when pia not enabled', () => {
// Arrange // Arrange
mixin = { mixin = {
methods: { methods: {

View file

@ -176,10 +176,7 @@ export default {
); );
}, },
isPayInAdvanceDisabled() { isPayInAdvanceDisabled() {
const piaExperience = this.getSettingValue(experimentSettings.ISS_DISPLAY_PAY_IN_ADVANCE); return useMainStore().isUnverified;
const isEnabled = piaExperience === 'true';
return !isEnabled || useMainStore().isUnverified;
}, },
paymentMethod() { paymentMethod() {
return this.paymentMethodInternalModel; return this.paymentMethodInternalModel;