Closed daniloab closed 3 years ago
Hi @daniloab. 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.
Please, add a comment to assign the issue: @magento I am working on this
Join Magento Community Engineering Slack and ask your questions in #github channel.
:warning: According to the Magento Contribution requirements, all issues must go through the Community Contributions Triage process. Community Contributions Triage is a public meeting.
:clock10: You can find the schedule on the Magento Community Calendar page.
:telephone_receiver: The triage of issues happens in the queue order. If you want to speed up the delivery of your contribution, please join the Community Contributions Triage session to discuss the appropriate ticket.
:movie_camera: You can find the recording of the previous Community Contributions Triage on the Magento Youtube Channel
:pencil2: Feel free to post questions/proposals/feedback related to the Community Contributions Triage process to the corresponding Slack Channel
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.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!
[ ] 5. Add label Issue: Confirmed
once verification is complete.
[ ] 6. Make sure that automatic system confirms that report has been added to the backlog.
Hi @daniloab ,
Request you to kindly provide screenshots/snapshots of your implementation for custom payment method. Also , I would suggest to change your implementation as Magento\Payment\Model\Method\AbstractMethod has been deprecated, try to follow the new guidelines for custom payment method creation here at https://devdocs.magento.com/guides/v2.4/howdoi/checkout/checkout_payment.html .
Thanks
My problem at really it was on the checkout success page. When trying to get there something broke and try to return to checkout
as the order have been already done, does not exist a customer cart active anymore
so, when checkout success break how is the best way to debug there?
more specific into phtml
files. I cant found anything in the log files.
Hi @daniloab ,
It will be very difficult to debug without understanding the full implementation ,as per your comments it looks like the user is getting redirected to cart page after successful payment where in he should be redirected to checkout success page , this looks like a problem with checkout session I think it might be getting empty thats why core code is redirecting to cart page instead. I would suggest you to debug on the checkout session.
Also I would suggest to implement the payment method as per the docs https://devdocs.magento.com/guides/v2.4/howdoi/checkout/checkout_payment.html
Also it looks like more of an implementation issue rather than a bug. Please comment back if you get anything .
Thanks
I guess we can close this one. The problem it was with the code from checkout success.
Hi @engcom-Hotel. 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.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!
[ ] 5. Add label Issue: Confirmed
once verification is complete.
[ ] 6. Make sure that automatic system confirms that report has been added to the backlog.
Hi @daniloab ,
As per your last comment, we are closing this issue. Still if you are facing any issue, you can create new tickets.
In my case this was caused by a module's event.xml file containing
<event name="customer_login">
<observer name="loadCustomerQuote" disabled="true"/>
</event>
Bom dia Ricardo como vai ? @r-martins
pelo admin conseguimos resolver esse problema ?
@Collapse011 não sei. Meu caso foi bem específico de um módulo/erro meu mesmo. Não teria como fazer nada pelo admin.
Preconditions (*)
Steps to reproduce (*)
Hi, I'm implementing a new payment method into Magento2.
I'm implementing using the AbstracMethod being extended into my PaymentModel.
As expect, I have a function called
order
. This function does the following:Payload
object to be passed to our APIThe problem is on the last item: when the
order
function ends, it is expected that the customer is redirected to checkout success.But, it is returning an error:
My PaymentModel Class: https://gist.github.com/daniloab/a7fe06297fac8ec135c084676c502332
Expected result (*)
Actual result (*)
Please provide Severity assessment for the Issue as Reporter. This information will help during Confirmation and Issue triage processes.