Closed sebi-p closed 4 years ago
Hi @sebi-p. Thank you for your report. To help us process this issue please make sure that you provided the following information:
Please make sure that the issue is reproducible on the vanilla Magento instance following Steps to reproduce. To deploy vanilla Magento instance on our environment, please, add a comment to the issue:
@magento give me 2.3-develop instance
- upcoming 2.3.x release
For more details, please, review the Magento Contributor Assistant documentation.
@sebi-p do you confirm that you were able to reproduce the issue on vanilla Magento instance following steps to reproduce?
@magento give me 2.3-develop instance
Hi @sebi-p. Thank you for your request. I'm working on Magento 2.3-develop instance for you
Hi @sebi-p, here is your Magento instance.
Admin access: https://i-25906-2-3-develop.instances.magento-community.engineering/admin
Login: admin
Password: 123123q
Instance will be terminated in up to 3 hours.
I cannot reproduce the issue on 2.3-develop. Is there a specific PR that addressed this?
Hi @engcom-Echo. Thank you for working on this issue. In order to make sure that issue has enough information and ready for development, please read and check the following instruction: :point_down:
[ ] 1. Verify that issue has all the required information. (Preconditions, Steps to reproduce, Expected result, Actual result).Details
If the issue has a valid description, the label Issue: Format is valid
will be added to the issue automatically. Please, edit issue description if needed, until label Issue: Format is valid
appears.
[ ] 2. Verify that issue has a meaningful description and provides enough information to reproduce the issue. If the report is valid, add Issue: Clear Description
label to the issue by yourself.
[ ] 3. Add Component: XXXXX
label(s) to the ticket, indicating the components it may be related to.
[ ] 4. Verify that the issue is reproducible on 2.3-develop
branchDetails
- Add the comment @magento give me 2.3-develop instance
to deploy test instance on Magento infrastructure.
- If the issue is reproducible on 2.3-develop
branch, please, add the label Reproduced on 2.3.x
.
- If the issue is not reproducible, add your comment that issue is not reproducible and close the issue and stop verification process here!
[ ] 5. Add label Issue: Confirmed
once verification is complete.
[ ] 6. Make sure that automatic system confirms that report has been added to the backlog.
:white_check_mark: Confirmed by @engcom-Echo
Thank you for verifying the issue. Based on the provided information internal tickets MC-29445
were created
Issue Available: @engcom-Echo, You will be automatically unassigned. Contributors/Maintainers can claim this issue to continue. To reclaim and continue work, reassign the ticket to yourself.
Hi @ajithkumar-maragathavel. Thank you for working on this issue. Looks like this issue is already verified and confirmed. But if you want to validate it one more time, please, go though the following instruction:
[ ] 1. Add/Edit Component: XXXXX
label(s) to the ticket, indicating the components it may be related to.
[ ] 2. Verify that the issue is reproducible on 2.4-develop
branchDetails
- Add the comment @magento give me 2.4-develop instance
to deploy test instance on Magento infrastructure.
- If the issue is reproducible on 2.4-develop
branch, please, add the label Reproduced on 2.4.x
.
- If the issue is not reproducible, add your comment that issue is not reproducible and close the issue and stop verification process here!
[ ] 3. If the issue is not relevant or is not reproducible any more, feel free to close it.
@magento give me 2.2 instance
@magento give me 2.4-develop instance
Hi @ajithkumar-maragathavel. Thank you for your request. I'm working on Magento 2.4-develop instance for you
Hi @ajithkumar-maragathavel, here is your Magento instance.
Admin access: https://i-25906-2-4-develop.instances.magento-community.engineering/admin
Login: admin
Password: 123123q
Instance will be terminated in up to 3 hours.
@magento give me 2.4-develop instance
Hi @ajithkumar-maragathavel. Thank you for your request. I'm working on Magento 2.4-develop instance for you
Hi @ajithkumar-maragathavel, here is your Magento instance.
Admin access: https://i-25906-2-4-develop.instances.magento-community.engineering/admin
Login: admin
Password: 123123q
Instance will be terminated in up to 3 hours.
Closing this issue, since It is not reproducible in 2.4-develop branch. I can able to place order using Paypal through Braintree using a Virtual product.
I have attached screenshot for reference
If anyone is looking for the cause of this issue in 2.3.3 or below, I believe the fix referred to above is an unchecked variable as fixed here:
@magento-engcom-team @ajithkumar-maragathavel Hi, I'm pretty sure the fix applied to the magento/module-braintree extension for this has not made it to the paypal/module-braintree-core extension now packaged in Magento 2.4.
Note the code in Magento/Braintree (no longer available in 2.4.x) is different to that in paypal/module-braintree-core:
I'd say this needs reopening.
@magento-engcom-team @ajithkumar-maragathavel Hi, I'm pretty sure the fix applied to the magento/module-braintree extension for this has not made it to the paypal/module-braintree-core extension now packaged in Magento 2.4.
Note the code in Magento/Braintree (no longer available in 2.4.x) is different to that in paypal/module-braintree-core:
I'd say this needs reopening.
Agreed.
TypeError: Argument 1 passed to PayPal\Braintree\Model\Paypal\OrderCancellationService::execute() must be of the type string, null given, called in \vendor\paypal\module-braintree-core\Plugin\OrderCancellation.php on line 75 and defined in \vendor\paypal\module-braintree-core\Model\Paypal\OrderCancellationService.php:47 Stack trace:
Hi @magento-engcom-team, please can this be reopened?
Yes, issue needs to be re-opened
My M2.4.4 (php7.4) system is logging the error as well, although I can't figure out the condition required to trigger the error:
main.CRITICAL: TypeError: Argument 1 passed to PayPal\Braintree\Model\Paypal\OrderCancellationService::execute() must be of the type string, null given, called in /vendor/paypal/module-braintree-core/Plugin/OrderCancellation.php on line 75 and defined in /vendor/paypal/module-braintree-core/Model/Paypal/OrderCancellationService.php:47
I'm having this issue on m2.4.5 if the $quote->getHasErrors() is true. Instead of throwing the quote validation exception and receive the message in frontend the type error is raised because of $incrementId is null
We are also experiencing this on 2.4.5 EE during QA testing, the bug was never resolved in the enterprise edition. We're making a composer patch to resolve it.
Preconditions (*)
Steps to reproduce (*)
Expected result (*)
Actual result (*)
0 /magento2/vendor/magento/module-braintree/Plugin/OrderCancellation.php(81): Magento\Braintree\Model\Paypal\OrderCancellationService->execute(NULL)
1 /magento2/vendor/magento/framework/Interception/Interceptor.php(135): Magento\Braintree\Plugin\OrderCancellation->aroundPlaceOrder(Object(Magento\Quote\Model\QuoteManagement\Interceptor), Object(Closure), '2', Object(Magento\Quote\Model\Quote\Payment\Interceptor))
2 /magento2/vendor/magento/framework/Interception/Interceptor.php(153): Magento\Quote\Model\QuoteManagement\Interceptor->Magento\Framework\I in /magento2/vendor/magento/module-braintree/Model/Paypal/OrderCancellationService.php on line 47
{"messages":{"error":[{"code":500,"message":"Server internal error. See details in report api\/***"}]}}`
Fatal Error: 'Uncaught TypeError: Argument 1 passed to Magento\\Braintree\\Model\\Paypal\\OrderCancellationService::execute() must be of the type string, null given
Additional information
Please check the billing address information. "firstname" is required. Enter and try again. "lastname" is required. Enter and try again. "street" is required. Enter and try again. "city" is required. Enter and try again. "telephone" is required. Enter and try again. "postcode" is required. Enter and try again. "countryId" is required. Enter and try again. {"exception":"[object] (Magento\\Framework\\Exception\\LocalizedException(code: 0): Please check the billing address information. \"firstname\" is required. Enter and try again. \"lastname\" is required. Enter and try again. \"street\" is required. Enter and try again. \"city\" is required. Enter and try again. \"telephone\" is required. Enter and try again. \"postcode\" is required. Enter and try again. \"countryId\" is required. Enter and try again. at /magento2/vendor/magento/module-quote/Model/QuoteValidator.php:107)"}