Skip to content
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

Table Not Found #21

Open
aarti1697 opened this issue May 5, 2021 · 3 comments
Open

Table Not Found #21

aarti1697 opened this issue May 5, 2021 · 3 comments

Comments

@aarti1697
Copy link

The table oc_stripe_customer not Found

Please let us know the table structure for this table.

@yakkatv
Copy link

yakkatv commented Feb 12, 2022

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

@codelovercc
Copy link

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

@codelovercc
Copy link

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.

codelovercc pushed a commit to codelovercc/Stripe-Payment-For-Opencart-3.x that referenced this issue Aug 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants