CanUseForUser
Magento\PaymentServicesPaypal\Model\Payment\Checks\CanUseForUser
What it does
This class checks whether the current user has permission to use specific PayPal payment methods during checkout.
It validates that the user has the 'ordercreate' ACL permission for the PaymentServicesPaypal module before allowing them to create orders with configured PayPal methods.
Developers use this as part of Magento's payment method specification checks to enforce authorization rules.
Public Methods
- isApplicable()