Closed elisei closed 4 years ago
Hi @elisei. 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.4-develop instance
- upcoming 2.4.x release
For more details, please, review the Magento Contributor Assistant documentation.
@elisei do you confirm that you were able to reproduce the issue on vanilla Magento instance following steps to reproduce?
@elisei I don't see any issue here. I close until you provide a clear explanation of why is it an issue.
Hello, I try to get three native information from the platform in my payment method, but they have no return in your API.
You can reproduce this error by injecting the code that I passed in your sample module to a payment gateway:
Hey @elisei did you find a way to get the additional lines from the shipping/billing addresses? I'm also facing this issue trying to get those values from a Magento\Payment\Gateway\Data\Order\AddressAdapter
object in a payment gateway.
@elisei nevermind, I see you already fixed it in a PR, cheers!
Hi @acampos1916 ,
The operator in question ( @Stepa4man ) does not consider it pertinent to increase the Magento API and rejected my request. Apparently, the "payment / gateway" works only if you want to create an integration with paypal.
The solution only comes if implemented on your gateway/data/request/AddressAdapter
@elisei,
Yes, makes sense that APIs are not updated in minor releases so service contracts with external implementations are upheld. I will have to create a preference for that interface.
Thanks.
Preconditions (*)
Steps to reproduce (*)
Using the payment gateway of the sample module you can enter the above code at: https://github.com/magento/magento2-samples/blob/master/sample-module-payment-gateway/Gateway/Request/AuthorizationRequest.php#L46
Expected result (*)
Actual result (*)