Skip to content

tutor lms paypal vaulting beta#2816

Open
Caffe1neAdd1ct wants to merge 2 commits into
themeum:masterfrom
Caffe1neAdd1ct:copilot/tutor-lms-paypal-vaulting-beta
Open

tutor lms paypal vaulting beta#2816
Caffe1neAdd1ct wants to merge 2 commits into
themeum:masterfrom
Caffe1neAdd1ct:copilot/tutor-lms-paypal-vaulting-beta

Conversation

@Caffe1neAdd1ct

@Caffe1neAdd1ct Caffe1neAdd1ct commented Jun 21, 2026

Copy link
Copy Markdown

This pull request adds support for configuring PayPal Vaulting (the ability to save customer payment methods) as an advanced option in the e-commerce settings. The main changes introduce a new setting for enabling/disabling PayPal Vaulting and ensure that this option is respected in the PayPal payment gateway configuration.

PayPal Vaulting Feature Integration:

  • Added a new constant PAYPAL_ENABLE_VAULTING to OptionKeys for referencing the PayPal Vaulting setting.
  • Updated the e-commerce settings UI to include a new "PayPal Settings" section with a toggle switch for enabling/disabling PayPal Vaulting.
  • Modified PaypalConfig to use the new vaulting option: the save_payment_method config value now reflects the user's setting instead of always being true.

Codebase Consistency:

  • Added an import of OptionKeys in PaypalConfig.php to access the new constant.

or

Option 1: #2815

@Caffe1neAdd1ct Caffe1neAdd1ct changed the title Copilot/tutor lms paypal vaulting beta tutor lms paypal vaulting beta Jun 21, 2026
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