-
Notifications
You must be signed in to change notification settings - Fork 19
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
Version 2.8 dicompile error - Omise\Payment\Controller\Cards\DeleteAction #211
Comments
Thanks for this bug report, let me assist you here. Did you try to do first: |
Hello Jacstn,
Yes. I first enable maintance mode the php bin/magento setup:upgrade. setup:upgrade runs without a problem
When i run sudo php bin/magento setup:di:compile it gets to 85% and throws an error
Omise\Payment\Controller\Cards\DeleteAction
Extra parameters passed to parent construct: $customerSession. File: /var/www/schmidt.co.th/web/vendor/omise/omise-magento/Controller/Cards/DeleteAction.php
Total Errors Count: 1
…________________________________
From: jacstn <notifications@github.com>
Sent: 24 July 2019 04:09
To: omise/omise-magento <omise-magento@noreply.github.com>
Cc: BrainTurner <mcerss@hotmail.co.uk>; Author <author@noreply.github.com>
Subject: Re: [omise/omise-magento] Version 2.8 dicompile error - Omise\Payment\Controller\Cards\DeleteAction (#211)
Thanks for this bug report, let me assist you here.
Did you try to do first:
php bin/magento setup:upgrade
?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub<#211?email_source=notifications&email_token=AJ75AILWIYBLR2EOKXBBDADQA7BWJA5CNFSM4IGLWJ7KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD2VA7JI#issuecomment-514461605>, or mute the thread<https://github.com/notifications/unsubscribe-auth/AJ75AIPAGFAEQUMQK62UAXDQA7BWJANCNFSM4IGLWJ7A>.
|
Could you do me a favor please and check what happens if you don't run |
I just tried.
I still get the same problem with bank transfers. I think it might have something to do with my custom shipping module. As when i disable it everything is ok. This is a real pain.
Everything was ok in version 2.7
…________________________________
From: jacstn <notifications@github.com>
Sent: 24 July 2019 05:31
To: omise/omise-magento <omise-magento@noreply.github.com>
Cc: BrainTurner <mcerss@hotmail.co.uk>; Author <author@noreply.github.com>
Subject: Re: [omise/omise-magento] Version 2.8 dicompile error - Omise\Payment\Controller\Cards\DeleteAction (#211)
Could you do me a favor please and check what happens if you don't run di-compile command.
Just run setup:upgrade command, it should automatically clean cache, and go to checkout, please.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub<#211?email_source=notifications&email_token=AJ75AIMWUWEWKMGJPHDV3LTQA7LKZA5CNFSM4IGLWJ7KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD2VEKAY#issuecomment-514475267>, or mute the thread<https://github.com/notifications/unsubscribe-auth/AJ75AIK57NQYCHC5HETW7BLQA7LKZANCNFSM4IGLWJ7A>.
|
|
So i have done more testing and its not the custom shipping module.
I will debug some more and let you know where i find the problem.
Thanks
…________________________________
From: jacstn <notifications@github.com>
Sent: 24 July 2019 13:02
To: omise/omise-magento <omise-magento@noreply.github.com>
Cc: BrainTurner <mcerss@hotmail.co.uk>; Author <author@noreply.github.com>
Subject: Re: [omise/omise-magento] Version 2.8 dicompile error - Omise\Payment\Controller\Cards\DeleteAction (#211)
custom shipping module as I understand, developers did this module for you? I wish to debug your problem.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub<#211?email_source=notifications&email_token=AJ75AII4DGHCUFQITVGPQQ3QBBAFZA5CNFSM4IGLWJ7KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD2WDQBI#issuecomment-514603013>, or mute the thread<https://github.com/notifications/unsubscribe-auth/AJ75AILMNLRHBJGPJGX3QH3QBBAFZANCNFSM4IGLWJ7A>.
|
So i have found a couple of errors and will explain what happens. Step 1: Add items to basket and click checkout Whats weird is the order is place, no payment taken and you remain on the checkout page. Shipment however not placed. |
it looks like your session has expired.. I mean.. you left your webbrowser opened for long time before you finished order, and session expired, is that possible? |
The test was login as a customer and seesion definitely was not expired.
This problem does not happen when cash of develiery is used or credit card. Only when internet banking or Installments is selected.
…________________________________
From: jacstn <notifications@github.com>
Sent: 26 July 2019 06:03
To: omise/omise-magento <omise-magento@noreply.github.com>
Cc: BrainTurner <mcerss@hotmail.co.uk>; Author <author@noreply.github.com>
Subject: Re: [omise/omise-magento] Version 2.8 dicompile error - Omise\Payment\Controller\Cards\DeleteAction (#211)
it looks like your session has expired..
I mean.. you left your webbrowser opened for long time before you finished order, and session expired, is that possible?
could you make sure please you are logged in as customer?
so please do test again, but this time after you login do it immediately - testing
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub<#211?email_source=notifications&email_token=AJ75AIOXYGPLG65EC5SLBADQBKAS3A5CNFSM4IGLWJ7KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD23QDQI#issuecomment-515310017>, or mute the thread<https://github.com/notifications/unsubscribe-auth/AJ75AILT3EQIN2CX6EJAMLLQBKAS3ANCNFSM4IGLWJ7A>.
|
After turning on debug in backend the payment method sends this error when you click place order for internet banking: jquery.storageapi.min.js:2 Uncaught TypeError: Cannot convert undefined or null to object Following that error. I disable all javascript bundling and omise-offsite-internetbanking-method.js:142 Uncaught TypeError: self.isPlaceOrderActionAllowed is not a function Hope that helps a bit more |
ok.. thank you..
|
Confirmed on line 31. Maybe this is the final key to unlocking the problem: |
@BrainTurner
as we have extended the class by \Magento\Framework\App\Action\Action so the parent constructor parameters should be
|
Thank you. That has fix the dicompile error. Shall i open a new issue for the order number not being passed for internet banking or will it be fix here? |
Thank @Renu05 you for proposition how to solve this issue. |
yes, @BrainTurner I think it is better to keep each of bug in a separated report. Although I cannot reproduce it. And will need more information from you. |
Hello,
Env:
Magento 2.2.7
Php 7.1.30
After updating to version 2.8 on di:complie comand we get the following error
Omise\Payment\Controller\Cards\DeleteAction
Extra parameters passed to parent construct: $customerSession. File: /var/www/schmidt.co.th/web/vendor/omise/omise-magento/Controller/Cards/DeleteAction.php
Also not sure if its due to the dicompile error but when i choose internet banking i an not redirected to the banks page. Instead i am redirected to the Magento 2 My Account Page??
Please advise. We have been waiting along time to reactive internet banking
The text was updated successfully, but these errors were encountered: