Skip to content

Conversation

@Dinamiko
Copy link
Collaborator

@Dinamiko Dinamiko commented Dec 16, 2025

This PR replaces wcgateway.settings service with the new SettingsProvider in ppcp-paypal-subscriptions module.

PR Changes

  • Adds get_subscriptions_mode() to PayPalSubscriptionsModule, this method is the same as the one created in ppcp-wc-subscriptions module, we'll reuse it from there once merged and delete it from here. The reason to not add it to SettingsProvider is because we'll need to inject new services and we do not want to do that in SettingsProvider.
  • Replaces get subscriptions mode in all locations where Settings is used

@Dinamiko Dinamiko changed the base branch from develop to dev/PCP-5413-remove-legacy-ui December 16, 2025 09:34
@github-actions
Copy link

Test using WordPress Playground

The changes in this pull request can be previewed and tested using a WordPress Playground instance.
WordPress Playground is an experimental project that creates a full WordPress instance entirely within the browser.

🔗 Test this pull request with WordPress Playground

What's included:

  • ✅ WordPress (latest)
  • ✅ WooCommerce (latest)
  • ✅ PayPal Payments plugin v3.3.0-pr3947-20263188512-g0d77455 (built from this PR)

Login credentials:

  • Username: admin
  • Password: password

Plugin Details:

  • Version: 3.3.0-pr3947-20263188512-g0d77455
  • Commit: 0d77455
  • Artifact: woocommerce-paypal-payments-3.3.0-pr3947-20263188512-g0d77455

💡 The demo environment resets each time you refresh. Perfect for testing!

🔄 This link updates automatically with each new commit to the PR.

⚠️ This URL is valid for 30 days from when this comment was last updated.


🤖 Auto-generated for commit 0d77455 • Last updated: 2025-12-16T09:39:59.255Z

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants