Configuration and Setup

You're setting up the requiredment configuration such as payment, site brand, admob , social auth.

1

Step 1

Go to the setting > under the general tap, you may add site name, site description, site url , brand logo, fav icon for the site. in case if you need to maintain your site, you can also turn maintain on. 'image'

2

Step 2

Go to the setting > under the Authentication tap, you should add Authentication for social such as google. for now we only support "google". Please see here how to get the google client and secret key. Then add your google client and secret key. 'image'

3

Step 3

Go to the setting > under the Payment tap, you should add payment methods such as paypal and stripe. for now we only support "paypal and stripe".

stripe payment setup

1

Step 1 Create a Stripe Account

  1. Go to the Stripe website.
  2. Click Sign Up and create a new account, or log in if you already have an account.
2

Step 2 Access the Stripe Dashboard

  1. Once logged in, you'll be directed to the Dashboard.
  2. On the left-hand menu, find and click on Developers to expand the submenu.

name change android.

3

Step 3 Find API Keys

  1. Under the Developers menu, click on API keys.
    • You will see two types of keys: Publishable key (Public) and Secret key.

name change android.

4

Step 4 Copy the Publishable and Secret Keys

  1. Publishable key & Secret key : This is your Public API key && Secret key: You must copy this key and use it in the .env file .

name change android.

  1. Secret key: This is your Secret API key. You should never expose this key on the client side; it should only be used server-side in laravel .env file.
5

Step 5 Use Test or Live Keys

  • By default, Stripe provides Test keys. If you are in development, use these keys.
  • To switch to Live keys, click on the toggle button at the top of the API keys page (from "Viewing test data" to "Viewing live data").
6

Step 6 Securely Store Your Keys

  • Store your Secret key securely in environment variables or a configuration file that is not publicly accessible.

How to Get PayPal Client ID and Secret Key

Follow these steps to obtain your PayPal Client ID and Secret Key:

1

Step 1: Log in to PayPal Developer Portal

  1. Go to the PayPal Developer Portal.
  2. Click Log In to Dashboard at the top-right corner.
  3. Enter your PayPal account credentials. If you don't have a PayPal account, you can sign up for a new account.
2

Step 2: Create a New App

  1. After logging in, you'll be taken to the Dashboard.
  2. Under My Apps & Credentials, click on the Create App button.
  3. Enter an App Name (e.g., "MyApp") and choose your Sandbox Business Account from the dropdown.
  4. Click Create App.
3

Step 3: Get the Client ID and Secret

  1. After creating your app, you'll be directed to the App details page.
  2. In this page, you will find your Client ID and Secret Key under the Sandbox or Live section depending on the environment you're working with.
    • To switch between Sandbox and Live credentials, use the toggle at the top of the page.
4

Step 4: Save Your Credentials

  1. Copy the Client ID and Secret Key for use in your application under .env as show in picture below.
  2. Be sure to keep your Secret Key private. Do not share it publicly or commit it to public repositories.
5

Step 5: Set Up API Integration

You can now use the Client ID and Secret Key to integrate PayPal with your application. For more detailed documentation, visit PayPal API Documentation.

IN the pannel, you just need to add public keys in Api Key Input for stripe and paypal not the secret key.

'image'

4

Setp 5

You can languages json file in here. We will improve this part in the future. Right now as a defualt , we have 3 languages for the website. But in the mobile we have more then three.

5

Setp 6

Admob ids form your admob account. we will integrate this part with mobile in the future. Right now this part is optional.