Closed plyaskin closed 4 months ago
Hello @plyaskin,
I have reviewed your issue and observed that there are no non-functioning features according to the steps you mentioned. However, the error "Class 'Webkul\Sales\Transformers\OrderResource' not found" is likely due to a missing or incorrect dependency. In addition to the steps you provided, I recommend performing some additional checks:
Check Dependencies:
composer install
to ensure all dependencies are correctly installed.composer dump-autoload
to update the autoload class map.File and Class Path:
OrderResource
class is properly defined.OrderResource
class is indeed located in the Webkul\Sales\Transformers
directory and is defined with the correct namespace.Clear Cache:
php artisan cache:clear
php artisan config:clear
php artisan route:clear
php artisan view:clear
Debugging:
APP_DEBUG
setting to true
in the config/app.php
file to get more detailed error messages.Updates and Fixes:
Based on the information provided, no non-functioning feature is evident, but following the above steps might help resolve your issue. If the problem persists, please provide more details, and I would be happy to assist further.
Thank you.
@ahmetarsiv thank you for reply! But I don't have the folder /Transformers and file OrderResource How is it possible?
Hello @plyaskin,
Thank you for your message.
The folders and files you're looking for should indeed be located in the specified directory: Webkul/Sales/src.
If you don't see the /Transformers
folder and OrderResource
file, it might be due to one of the following reasons:
Version Difference: Ensure that you are using the same version of Bagisto as the one in the repository. There might be differences in the directory structure between versions.
Incomplete Clone/Download: If you cloned or downloaded the repository, ensure that the process was completed successfully. Sometimes, network issues or interruptions can cause incomplete downloads.
Custom Modifications: If you or your team have made custom modifications to the Bagisto installation, those folders and files might have been moved or deleted.
To resolve this, you can:
If you continue to experience issues, please provide more details about your installation and setup so I can assist you further.
Best regards, Ahmet
I did it yesterday and the installation was finished successfully. I didn't change files, except ENV file
Hello @plyaskin,
Thank you for your response.
Since your installation finished successfully and you haven't changed any files except the .env
file, I recommend reviewing the Bagisto repository again to ensure all files are present: Bagisto.
If everything appears correct in the repository and you still face issues, it might be worth re-cloning the repository and repeating the installation process to rule out any possible errors during the initial clone.
If there are no further issues or questions, I will proceed to close this issue. However, if you encounter any other problems, feel free to reopen the issue or create a new one.
Best regards, Ahmet
@ahmetarsiv I have loaded the folder with files and restarted the payment twice.
@ahmetarsiv I have loaded the folder with files and restarted the payment twice.
Have you fixed this ?
Terms
Bagisto Version(s) affected
2.1.2
Issue Description
Used Codenteq – Stripe Payment Gateway with testing card. After paid an error Class "Webkul\Sales\Transformers\OrderResource" not found
Preconditions
Install, use, etc
Steps to reproduce
Install, use, etc
Expected Result
Class "Webkul\Sales\Transformers\OrderResource" not found
Actual Result
Callback to Shop
Screenshots
Additional context
No response