-
Notifications
You must be signed in to change notification settings - Fork 9.4k
Custom payment capture not work after update from 2.0.7 to 2.1.0 #5324
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
Labels
Comments
Hi, @mauromm ! I confirm this solution works. Thanx a lot. |
Hi, @mauromm, this fix worked for me too .. but my developer told me this might cause issue with magneto core updates in future(db integrity or corruption of db and or inability to upgrade ). i could not wait for the 2.1.1 as site is up should i be worried about this fix? Thanks |
Works for me too thanks!!!! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When I use a custom payment method, and I am capturing the payment in a custom model, I get the following error:
Debugging, I found:
In my model:
When I look into the table sales_invoice_grid , the column base_grand_total does not exist.
On my updated magento 2.1.0, looking into:
.../vendor/magento/module-sales/Setup/InstallSchema.php line 3219
However, I compared the same file in another magento 2.0.7 and column was not added in InstallSchema. When I updated, this column must be added in UpgradeSchema and not in InstallSchema because the column never is added into the updated magento.
To solve the problem I updated the table:
The text was updated successfully, but these errors were encountered: