Skip to content

Commit

Permalink
fix: onboarding button wording with ppcp check
Browse files Browse the repository at this point in the history
  • Loading branch information
cyl3x committed Jan 31, 2025
1 parent d0cb467 commit f4b7b25
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ export default Shopware.Component.wrapComponentConfig({
return this.$t(`swag-paypal-onboarding-button.${this.type}.title`);
}

if (!this.merchantInformationStore.canPPCP) {
if (this.settingsStore.isSandbox === this.isSandbox && !this.merchantInformationStore.canPPCP) {
return this.$t(`swag-paypal-onboarding-button.${this.type}.onboardingTitle`);
}

Expand Down

0 comments on commit f4b7b25

Please sign in to comment.