Payment settings
After configuring the website settings, you have to manage the payment settings. Here, you can change, update the payment system of your Application. For this, you have to follow the steps below:
- Log in to the admin panel.
- Select the "Settings" option from the left menu.
- Click on the "Payment settings" option from the sub-menu.

Figure 1. TeachingHub Payment Settings
First of all, you have to configure the system currency. You can set any currency you want. Here, you have to:
- Set a system currency
- Set a currency position

Figure 2. TeachingHub Updating System Currency
Note: Make sure that your "System currency" and other gateway currency are the same.
PayPal gateway:
Secondly, you have to configure the "PayPal settings." For this, you have to:
- Set the activation status of PayPal.
- Select the mode.
- Choose a PayPal currency.
- Provide the client ID. (sandbox)
- Set the secret key. (sandbox)
- Provide the secret ID. (production)
- Choose a secret key. (production)
To save your data, click on the "Update PayPal keys" button.

To get the "Client ID" and "Secret key" for your PayPal account, you have to follow the steps below:
- Navigate to the "PayPal Developers Website" home page.
- Login to the dashboard.
- You can also log in with your mobile number using OTP.
- Set up the profile.
- Go to the "Your Name" option.
- Go to "Dashboard" in the top right corner.
- Click on the "Create App" to create a new app.
- Provide the details for the new app.
- Now you can see the PayPal Client Id and secret.
Stripe gateway:
Thirdly, you have to set the "Stripe settings." To configure this settings panel, you have to provide:
- Activation status
- Test mode status
- Stripe currency
- Test secret key
- Test public key
- Live secret key
- Live public key
After providing the information, you have to select the "Update Stripe keys" to save your data.

Figure 4. TeachingHub Updating Stripe Keys
To get the Stripe API Keys, please follow the steps below:
- Login to your Stripe dashboard.
- Navigate to the API option from the left menu.
- Toggle the option that says "Viewing test data."
- Click on the "Viewing live data."
- Select the "Reveal live key token" option.
- Now you can see the Stripe keys.