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

problem with instalation #5

Open
sydzisko opened this issue Feb 1, 2020 · 2 comments
Open

problem with instalation #5

sydzisko opened this issue Feb 1, 2020 · 2 comments

Comments

@sydzisko
Copy link

sydzisko commented Feb 1, 2020

after finish instalation i dont have module with dotpay payment in my shop

@sydzisko
Copy link
Author

sydzisko commented Feb 1, 2020

so i drop files into my catalog and now i see dotpay but when i want to finish transaction i see this:

Fatal error: Uncaught Twig_Error_Loader: Unable to find template "payment/dotpay_channels/dotpay.twig" (looked into: /home/socjopatka/domains/kamma.com.pl/public_html/themes/storage/modification/catalog/view/theme, /home/socjopatka/domains/kamma.com.pl/public_html/themes/catalog/view/theme). in /home/socjopatka/domains/kamma.com.pl/public_html/themes/system/library/template/Twig/Loader/Filesystem.php:215 Stack trace: #0 /home/socjopatka/domains/kamma.com.pl/public_html/themes/system/library/template/Twig/Loader/Filesystem.php(139): Twig_Loader_Filesystem->findTemplate('payment/dotpay_...') #1 /home/socjopatka/domains/kamma.com.pl/public_html/themes/system/library/template/Twig/Environment.php(312): Twig_Loader_Filesystem->getCacheKey('payment/dotpay_...') #2 /home/socjopatka/domains/kamma.com.pl/public_html/themes/system/library/template/Twig/Environment.php(378): Twig_Environment->getTemplateClass('payment/dotpay_...', NULL) #3 /home/socjopatka/domains/kamma.com.pl/public_html/themes/storage/modification/system/library/t in /home/socjopatka/domains/kamma.com.pl/public_html/themes/system/library/template/Twig/Loader/Filesystem.php on line 215

@mrfx
Copy link

mrfx commented Apr 3, 2020

OpenCart Dotpay payment module for Opencart 3.0.5 with latest OpenCart stable version (3.0.3.2) needs these steps:

  1. Download https://github.com/dotpay/OpenCart/releases/download/v3.0.5/dotpay.ocmod.zip
  2. Create new folder, and inside create folder: upload
  3. Move only these folders from dotpay.ocmod.zip: system, catalog, admin to previously created upload folder
  4. Create empty file install.xml in the same folder as upload
  5. Create zip file with the same name (dotpay.ocmod.zip). Inside the zip file should be previously created install.xml and upload folder.
  6. Install it from OpenCart Admin panel. (Extensions -> Installer)
  7. Other folders from original dotpay.ocmod.zip you can copy manually via FTP etc.

Additional notes:

  1. Dotpay testing enviroment do not accept ? char for URlc, so you need to create SEO LINK for that. See SEO Link documentation at OpenCart.

  2. Information for module devs: See allowed dirs for OC >=3.0.2: https://github.com/opencart/opencart/blob/a1d7bc1e6434b8741e8a819238a2bf4e428194fb/upload/admin/controller/marketplace/install.php#L124-L141

Attached fixed module file:
dotpay.ocmod.zip

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

2 participants