Skip to content
Advertisement

Prestashop – REST endpoints for my module

I’m developing Prestashop module, it will export customer data and orders, it will contain hooks for customer synchronization, cart and order events – generally module which will be an integration with CRM-like service. My module contains it’s own views, made in vue.js – single page, async. There are register, login, settings, etc. pages. Communication with backend is made by GET/POST

Generate save activation key as product key

I am trying to create a function which creates a random String. This String should consist of letters (only caps) and numbers. It will be used to activate a product. So the user has to type it into a text field. So far I found the following function: I do not have that much experience with random functions. So is

Custom fields in laravel 5.6 default auth causing error

Before posting this question i’ve already referred to How to add custom field in default registration form of Laravel 5.6? But no solution for my problem. I wanted to add custom fields in my laravel 5.6 fresh install with it’s default make:auth. this is my migration for creating user table this is my registercontrller for auth and i’ve implemented my

Login user right after registration – laravel

I am trying to login a user right after registration with the code below. I am not seeing anything wrong in my code by I get the following error Method [guard] does not exist. I have as well …

Composer Install – requires ext-mbstring

I am trying to do a composer install …, but getting an error of requires ext-mbstring * -> the requested PHP extension mbstring is missing from your system. I am using Apache (Cpanel) and PHP 5.6. Below are the ways I am trying to fix the error. 1: yum search mbstring 2: yum install ea-php56-php-mbstring.x86_64 It seems mbstring is installed

Advertisement