General company settings Version 7.3.0

How to configure emailSMTP PHPMailer

PHPMailer offers many functionalities over the PHP core function mail(), including SMTP SSL encryption and authentication, HTML messages, file attachments and more.

On top of that, PHPMailer is much easier to use than mail() and provides a clean, readable object-oriented syntax.



Using PHPMailer with Hostinger SMTP

Once you have DEPRIXA PRO installed on your web server you can use the SMTP function as follows:

  • STEP 1: Create an email account by accessing your hPanel, then go to Email account -> Create a new Email account. Fill in the new email address and set a password before clicking Create.

  • STEP 2: When you're done, pay attention to your SMTP data located in the same section:


SMTP mail configuration details
SMTP mail configuration details
  • Mail address: support@domain.com
  • Email password: 1234567889
  • Mail Host: smtp.domain.com
  • Mail Port:Recommended 587
  • Mail Encryption:Recommended TLS




How to getPAYPAL Client ID and Secret Key ?

To get the Client ID and the Secret Key from Paypal you need a Paypal account

Create Developer (Sandbox) account

  • STEP 2: After you have logged in, create a Sandbox Business Account to be able to make test payments later.

Create Paypal App

  • STEP 3: If you have created a sandbox account, click on "My Apps and Credentials" in the menu on the left and then on "Create App".

  • STEP 4: Give your Paypal app a name and choose your previously created developer (sandbox) account. After you have finished, click on "Create App".

Paypal App Client ID and Secret Key

  • STEP 5: As soon as the app is created, the details of the app you just created will open. You should now see the Client ID and an option (Show) below to see the Secret Key.

  • STEP 6: To switch between Live and Sandbox click first on "My Apps & Credentials" in the left main menu then click on Live or Sandbox and then on the desired app you want to know the Client and Secret keys. Note that Sandbox and Live have different Client IDs and Secret Keys.


How to getSTRIPE  Publishable Key and Secret Key ?

To get the Publishable Key and the Secret Key from Stripe, you need an account at Stripe (www.stripe.com).

  • STEP 1: Open the following website www.stripe.com and click on "Sign in".

  • STEP 2: Now that you have logged in to Stripe, the dashboard opens. In the left menu, first click on "Developers" and then on "API keys".

Retrieve Publishable Key and Secret Key

  • STEP 3: Once you have clicked on "API keys", the page with the API keys opens. Under Standard Keys you will see the Publishable Key and above the Secret Key there is a button "Reveal live key token". Now click on it to display the secret key.

Sandbox and Live mode

  • STEP 4: To switch Stripe to the Sandbox (Test Payments) mode or Live (Real Payments) mode, click on "View test data" in the left menu. Note that Sandbox and Live Mode have different keys.


How To Get Your Live API KeysPAYSTACK  ?

 Important to Note
When you sign up on Paystack, we encourage you to test out our platform, so you can fully understand the payment flow before activating your account. This is why we have the Test Mode available. In Test Mode, you can carry out transactions using a test card or bank account that is provided on the test payment page.

How To Get Your Live API Keys

  • STEP 1: In order to get your Live API Keys, simply go to your dashboard settings and click on the API Keys & Webhooks tab.  Scroll to where it says "API Configuration - Live Mode", here you will find your Live Secret Key and Live Public Key as captured below:

Important to Note

  • You can only toggle to "Live Mode" if your account has been activated. Please follow this link  to learn more about how to activate your Paystack account.

What is the Callback URL?

  • STEP 2: The callback URL is a web address of where you want your customers to be redirected to after a successful payment is made. This could be your social media page, your website - you can even redirect them to send you a message on Whatsapp! If you would like to set up a callback URL simply paste the link in the appropriate callback URL field.


How to set up a Twilio account step by step

 Request to enable your Twilio numbers for WhatsApp

To start using WhatsApp Business API with Twilio in production, you need to enable your Twilio numbers for WhatsApp. We’ll use the information in the form below to assist you with onboarding.

You will need your Facebook Business Manager ID to initiate a request authorizing Twilio to message on your behalf. Read our docs for details on how to get this info.

To learn more about the WhatsApp onboarding process, please refer to our docs. Please note that WhatsApp has final discretion to approve companies to use the API.

Note: ISVs and SIs must follow a separate process. Learn more.


Create a free account on Twilio

  • STEP 1: It is important to have a valid email account to create your account in Twilio, please enter the following link to register register now

Verify you´re a human to start your free trial

  • STEP 2: It is important to enter your email account that you provided when registering with twilio and there activate your free twilio account.

Verify you´re a human to start your free trial

  • STEP 3: It is important to enter your cell phone number and verify it with twilio. In this way, you must go to a text message and enter the code sent and your cell phone number will be activated correctly.

Verify you´re a human to start your free trial

  • STEP 4: You must go to text messages and verify there the activation code of the cell phone number, in this way it would be active and ready to be used after other configurations for whatsapp.

My first Twilio account Dashboard

  • STEP 5: For twilio it is very important to know what you want to do with the whatsapp api and therefore you must fill out the form as it is in the example:

Welcome to twilio

  • STEP 6: After verifying all the email steps, Twilio cell phone activating your account, in this way you can enjoy your dashbaoar, normally you must take into account the ACCOUNT SID data later, it will be requested later to register with whatsapp and request authorization for your number .

Important to Note

  • From this moment, the most important thing to activate the whatsapp account begins and you must follow the following very important steps:
    • In the left side menu click on PROGRAMMABLE MESSAGING

Whatsapp enabled senders

  • STEP 7: In this step it should be taken into account that configuring the account well means that you will be very well, please follow the following steps:

Important to Note

  • When you click on these items you must go to the following link to fill it out and according to this you must provide the data that will be in some links, please read and this way everything will work out very well:
    •  Click on Senders
    •  Click on WhatsApp Senders
    •  Click on the button sign up to request access to go to the next questionnaire and thus activate your account number of whatsapp.


How to configureTWILIO API WHATSAPP  in production ?

 Request to enable your Twilio numbers for WhatsApp

This form must be filled out to obtain permission from the whatsapp company, you must configure the following apsos:

Please configure the following steps in this way the WhatsApp number will be available very soon to be used for notifications.


Create a free account on Twilio

  • STEP 1: In this module you must fill in all the fields of the form, this implies that you can activate your whatsapp account, please follow the demo link to activate your whatsapp account.

  • The first thing you will want to do is fill out the WhatsApp API request form located here: Complete WhatsApp form
  • Have on hand the code TWILIO ACCOUNT SID: Your primary Twilio Account SID. To find your Account SID, log into the console click the “Home” button, and locate your Account SID on the top right on the page. If this is a Flex account, use your Flex Project Sid.
  • Facebook Business Manager ID: You can find this ID by following this link, or logging into business.facebook.com > clicking “Business Settings” > "Business Info" > Look for the Business Manager ID. (More information about submitting your Facebook Business Manager ID)
  • "I've completed Facebook Business Verification": Learn more about Facebook's verification process documentation.
  • "I understand Twilio can modify my SMS/Voice URL and that approval is only for the brand submitted": Twilio may momentarily use your Twilio number’s SMS or Voice URL to register your number with WhatsApp.