-
Notifications
You must be signed in to change notification settings - Fork 9.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug] $quote can be null. Module: module-payment-services-paypal #39116
Comments
Hi @sgeleon. Thank you for your report.
Join Magento Community Engineering Slack and ask your questions in #github channel. |
Hi @engcom-November. Thank you for working on this issue.
|
Hello @sgeleon, Thank you for the report and collaboration! Can you let us know what is the impact of this issue. |
I described the issue in the description of this bug report. In the module Magento_PaymentServicesPaypal, we are using the class Magento\PaymentServicesPaypal\Plugin\Vault\Method to replace the class \Magento\Vault\Model\Method\Vault from the module Magento_Vault. We are having a problem with defining variables in the class we are patching. vendor/magento/module-payment-services-paypal/Plugin/Vault/Method.php:59
vendor/magento/module-vault/Model/Method/Vault.php:659
|
Hello @sgeleon, Since $quote can be null, and not being defined in Thank you. |
Unfortunately, not enough information was provided to create a Jira ticket. Please make sure you added the following label(s): Once all required labels are present, please add |
Unfortunately, not enough information was provided to create a Jira ticket. Please make sure you added the following label(s): Once all required labels are present, please add |
Unfortunately, not enough information was provided to create a Jira ticket. Please make sure you added the following label(s): Once all required labels are present, please add |
✅ Jira issue https://jira.corp.adobe.com/browse/AC-13041 is successfully created for this GitHub issue. |
✅ Confirmed by @engcom-November. Thank you for verifying the issue. |
❌ Cannot export the issue. This GitHub issue is already linked to Jira issue(s): https://jira.corp.adobe.com/browse/AC-13041 |
Summary
magento/product-community-edition: v2.4.7-p1
This plugin has some issues. The $quote can be null, but this possibility isn't accounted for in the plugin's definition.
Examples
vendor/magento/module-payment-services-paypal/Plugin/Vault/Method.php:59
vendor/magento/module-vault/Model/Method/Vault.php:659
Proposed solution
Patch for fix this problem:
Release note
No response
Triage and priority
The text was updated successfully, but these errors were encountered: