waqaszee Posted December 21, 2018 Share Posted December 21, 2018 Hi, I am developing payment module for prestashop1.7 while validating prestashop validator its shows error that Class name must be in Camel Case and when I change class names to CamalCase validator returns an error that it should contain lowercase, underscore and alphanumeric, Any help will be appreciated. Thanks Link to comment Share on other sites More sharing options...
Presta Bucket Posted December 21, 2018 Share Posted December 21, 2018 Hello, The camal case structure is that your first word should start with lowercase and other words with uppercase. Example: "camalCaseContainer". Could you try this structure and validate again? Best regards, PrestaBucket Team Link to comment Share on other sites More sharing options...
waqaszee Posted December 24, 2018 Author Share Posted December 24, 2018 Hi, thanks for reply I followed the way you suggested it returns error its should be alphanumeric, lowercase and underscored. Could you please help in this case! Link to comment Share on other sites More sharing options...
Presta Bucket Posted December 24, 2018 Share Posted December 24, 2018 Hello, Could you please tell us what is your class name right now and could you attach the error from validator? Best regards, PrestaBucket Team Link to comment Share on other sites More sharing options...
waqaszee Posted December 24, 2018 Author Share Posted December 24, 2018 tapPaymentModuleFrontController class name and for folder error screenshot. Link to comment Share on other sites More sharing options...
Presta Bucket Posted December 24, 2018 Share Posted December 24, 2018 Hello, We understood wrong firstly the error. We see that the error comes from the name of your module declared in your main file. Please enter in your main file "TapOfficial.php" and search for "$this-name" and change the "tapOfficial" to be full lowercase. Change it to "tapofficial". Please write us if this solved your issue. Best regards, PrestaBucket Team Link to comment Share on other sites More sharing options...
waqaszee Posted December 24, 2018 Author Share Posted December 24, 2018 Thanks its solved Link to comment Share on other sites More sharing options...
prakhar-ap Posted September 25, 2020 Share Posted September 25, 2020 (edited) Hi, I am facing the below issue.. again and again. I have tried to convert the name to the following and giving out the same error: Instanea_paymentPaymentModuleFrontController Instanea_paymentpaymentmodulefrontcontroller Please do let me know. Edited September 25, 2020 by prakhar-ap (see edit history) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now