# FAQs

Section intro goes here. You can list all your FAQs using the format below.

This error show to PHP version.
Please make sure you select PHP version 7.2.
Please make sure your database all details is correct.

Reset password error show due to you forget add mail details in .env file.
Mail Settings
For Email Sending.

Enter Mail Details from Admin, Site Settings -> Mail Setting

Open and edit `.env` file.

    MAIL_DRIVER=smtp (some times support sendmail)
    MAIL_HOST=smtp.mailtrap.io (For Gmail = smtp.gmail.com)
    MAIL_PORT=2525  (For Gmail = 465)
    MAIL_USERNAME=youremailid
    MAIL_PASSWORD=yourpassword
    MAIL_ENCRYPTION=null  (For Gmail = ssl)

You get PayPal error due to
Check PayPal Currency
Check Mail Settings

New User Registration error show due to you forget add mail details in .env file.
Mail Settings
For Email Sending.

    MAIL_DRIVER=smtp (some times support sendmail)
    MAIL_HOST=smtp.mailtrap.io (For Gmail = smtp.gmail.com)
    MAIL_PORT=2525  (For Gmail = 465)
    MAIL_USERNAME=youremailid
    MAIL_PASSWORD=yourpassword
    MAIL_ENCRYPTION=null  (For Gmail = ssl)

Its Required for Large File upload
Increase it as per your files size.
Find file php.ini then find

    upload_max_filesize=8G
    post_max_size=8G

Read More

Google

    http://yourdomain.com/public/auth/google/callback

Facebook

    https://yourdomain.com/public/auth/facebook/callback

You use it only one domain at a time. Its assume localhost or Any IP as a domain. For change domain send us E-Mail with new domain name, Envato user name and purchase code.

PWA is lite app, When you open it in Mobile Browser its ask for add app in mobile. Its Not APK. First Setup PWA settings in your script, which mentioned in Installation section.

Bank white screen due to you give space in app name and mail from name. Go to .env file and remove space and special characters in app name and mail from name.

we can not change Google Map that says "for development only".
Google Maps is no longer free. You have to associate a credit card so that you can get billed if your site has requests that exceed the $200 credit they give you monthly for free. That is why you get the watermarked maps.
For more information, see: https://cloud.google.com/maps-platform/pricing/

## Installation

To remove public from URL create .htaccess file in root folder and write following code.

    <IfModule mod_rewrite.c>
    	RewriteEngine On
    	RewriteRule ^(.*)$ public/$1 [L]
    </IfModule>

For more detail read article : https://stackoverflow.com/questions/23837933/how-can-i-remove-public-index-php-in-the-url-generated-laravel

To Hide or Denied Access .env and create .htaccess file in root folder and write following code.

    # Disable Directory listing
    Options -Indexes

    # block files which needs to be hidden, specify .example extension of the file
    </FilesMatch "^\.env">
        Order allow,deny
        Deny from all
    <//FilesMatch>

Debug mode will help you to track the error on your website. It is not all preferred to turn the debug mode on live site for very long time.

How to turn debug mode on

- Login to you FTP account.
- Open and edit `.env` file.

Change

    APP_DEBUG=false

To

    APP_DEBUG=true

- Save and upload the file.

`false` means debug mode is OFF
`true` means debug mode is ON

## Mail/API Settings

For Email Sending.

Open and edit `.env` file.

    MAIL_DRIVER=smtp (some times support sendmail)
    MAIL_HOST=smtp.mailtrap.io (For Gmail = smtp.gmail.com)
    MAIL_PORT=2525  (For Gmail = 465)
    MAIL_USERNAME=youremailid
    MAIL_PASSWORD=yourpassword
    MAIL_ENCRYPTION=null  (For Gmail = ssl)

##### Note : If showing error in reset password, New User Registration and Payment Gateways then must check your mail setting. Reset password, New User Registration and Payment Gateways error show due to you forget add mail details in .env file.

Go to Admin -> Payment Gateway Setting

Note : All api key case sensitive and don't give unwanted space before and after. after enter api Please Enable API.

##### For Stripe Payment You Need Stripe Key. Go To: https://stripe.com/docs

Note : All plan and coupons create from emart Admin Panel. Don't create from strip account.
All your test complete then make stripe to live mode, Stripe Test Mode user and price not support to live mode.
Please make new user and price after stripe live.
Stripe not support $0 price it's need at least $1.
If Showing Error Check Currency Code In Multiple Currency.

    STRIPE_KEY=yourapikey
    STRIPE_SECRET=yourapisecretcode

##### For Paypal payment gateway You Need Paypal Key. Go To: https://developer.paypal.com/

    PAYPAL_CLIENT_ID=yourclientid
    PAYPAL_SECRET_ID=yoursecretid
    PAYPAL_MODE=paypalmode (sandbox or live)

Note : All your test complete then make Paypal to live mode, Paypal Sandbox Mode user and price not support to live mode.
Please make new user and price after Paypal live.
All price and coupons create from emart Admin Panel.
Paypal not support $0 price it's need at least $1.
Don' Forget To ENABLE PayPAL Payment Gateways After Enter Api.
If Showing Error Check Currency Code In Multiple Currency.

##### For mail chimp or subscribe newsletter You Need Mail chimp Key. Go To: https://www.mailchimp.com/

    MAILCHIMP_API_KEY=yourapikey
    MAILCHIMP_LIST_ID=yourlistid

##### For Payumoney (INDIAN Payment Gateway)You Need Payumoney Key. Go To: https://www.payumoney.com/dev-guide/apireference.html

Note : All your test complete then make Payumoney to live mode, Payumoney Test Mode user and price not support to live mode.
Please make new user and price after Payumoney live.
All price and coupons create from emart Admin Panel.
Payumoney not support RS. 0 price it's need at least RS. 1.
Don' Forget To ENABLE Payumoney Payment Gateways After Enter Api.
If Showing Error Check Currency Code In Site Multiple Currency, Its Required INR.

##### For Instamojo You Need Instamojo Key. Go To: https://docs.instamojo.com/docs

Note : All your test complete then make Instamojo to live mode, Instamojo Test Mode user and price not support to live mode.
Please make new user and price after Instamojo live.
All price and coupons create from emart Admin Panel.
Instamojo not support RS. 0 price it's need at least RS 1.
Don' Forget To ENABLE Instamojo Payment Gateways After Enter Api.
If Showing Error Check Currency Code In Site Multiple Currency, Its Required INR.

##### For RazorPay You Need RazorPay Key. Go To: https://razorpay.com/

Note : All your test complete then make RazorPay to live mode, RazorPay Test Mode user and price not support to live mode.
Please make new user and price after RazorPay live.
All price and coupons create from emart Admin Panel.
RazorPay not support RS. 0 price it's need at least RS 1.
Don' Forget To ENABLE RazorPay Payment Gateways After Enter Api.
If Showing Error Check Currency Code In Site Multiple Currency, Its Required INR.

##### For Paytm You Need Paytm Key. Go To: https://paytm.com/

Note : All your test complete then make Paytm to live mode, Paytm Test Mode user and price not support to live mode.
Please make new user and price after Paytm live.
All price and coupons create from emart Admin Panel.
Paytm not support RS. 0 price it's need at least RS 1.
Don' Forget To ENABLE Paytm Payment Gateways After Enter Api.
If Showing Error Check Currency Code In Site Multiple Currency, Its Required INR.

###### Paypal

###### Instamojo

###### PayU Money

###### Stripe

###### Braintree

###### Paystack

###### Paytm

###### Razorpay

###### Bank Transfer