Open aarti1697 opened 3 years ago
same here any help please modification/system/engine/action.php(79): ControllerExtensionPaymentStripe->index() in /home/xxxx/domains/xxxx/public_html/system/library/db/mysqli.php on line 48
I just use the SQL in the /upload/admin/model/extension/payment/stripe.php
method Install
to create these tables manually. I don't know why the method Install
has not been called, my opencart version is 3.0.0.8
After reading and debugging the source code. I've found that this issue is caused by the controller permission check in the file upload/admin/controller/extension/payment/stripe.php
line 199 and line 207.
if ($this->user->hasPermission('modify', 'extension/extension'))
should be if ($this->user->hasPermission('modify', 'extension/payment/stripe'))
.
By changing extension/extension
to extension/payment/stripe
, this issue is solved.
The tables are created correctly when installing and will be deleted while uninstalling.
The table oc_stripe_customer not Found
Please let us know the table structure for this table.