Configuring the Global Payment Settings

Configuring the Global Payment Settings

Step 01: In the Central Admin Portal, navigate to the Settings section and click on it.

Step 02: Click on the Payments tab to access the Payment Integration Portal.

Step 03: Click on the Payment Integration button  and select the currency type in which you want to collect payments.

Step 04: Click on Save to confirm and save the selected currency type.


Step 05: In the Payment Integration section, you will see two options Stripe and Razorpay. Decide which payment gateway fits your needs:

 

  1. Stripe: Ideal for international payments with multi-currency support and global transactions.
  2. Razorpay: Best for businesses operating mainly in India, supporting local payment methods like UPI, net banking, and wallets.
Once youve decided, click the Settings icon on the right side of your chosen gateway.

Step 06: Enter the API Key, API Secret Key and Webhook Secret Key to connect your payment gateway.

Note: Guide to Setup Stripe (Getting API Key, API Secret Key and Webhook Secret Key)

 

Step 06A:  Go to the Stripe and access Test Mode

 

  1.    Go to the Stripe Dashboard:  https://dashboard.stripe.com

  1.    From the top left corner dropdown, switch to Sandbox Test Mode

 

Step 06B: Get Your Test API Keys

 

  1.    In the Dashboard, go to Developers API keys

  1.    Copy the following keys:

o    Publishable key To be pasted  against  API Key (starts with pk_test_)

o    Secret key (starts with sk_test_)

 

Step 06C: Add Webhook Destination

 

  1.    Navigate to Developers Webhooks from the sidebar

  1.    Click “+ Add Destination

  1.    In the form:

o    Events to send: Select relevant events:

   checkout.session.completed

   payment_intent.succeeded

o    Webhook endpoint: Enter the server's webhook URL

     QA Environment:

     https://qa-api.hostexam.net/api/payment/webhook/

     Production Environment:

     https://api.hostexam.net/api/payment/webhook/

o    Click “Create Destination

 

Step 06D: Get Your Webhook  Signing Secret

 

  Click on the newly created  webhook

  Click “Revealunder the Signing secret

  Copy the secret (e.g., whsec_XXXXXXXXXXXXXXXXXXXX)

 

  Stripe Test Card Numbers

 

Use these test card numbers when testing the payment form:

 

Card Type

Number

Exp. Date

CVC

Visa

4242 4242 4242 4242

Any future date

Any 3 digits

Fails

4000 0000 0000 0002

Any future date

Any 3 digits


Step 07: Once you have entered all the required keys, click on the Connect button to finalize the payment gateway setup.

Step 08: The payment gateway is now set up. You will see a popup on your screen confirming that the payment gateway has been connected successfully.

    • Related Articles

    • Adding Payment Vouchers / Coupons for a specific exam

      Step 01: After navigating to the Payment Discounts tab from the Payments ribbon, click on the Payment Discounts tab to proceed. Step 02: Locate and click on the Add Payment Discount button to begin creating a new voucher or coupon for the exam. Step ...
    • Adding Payment Vouchers / Coupons from Global Payment Integration Portal

      To create coupons/ Vouchers that can be associated to one or multiple exams already created Step 01: After navigating to the Payment Discounts tab from the Payments ribbon, click on the Payment Discounts tab. Step 02: Locate the Add Payment Discount ...
    • Global Slot Creation

      Global slot creation allows administrators to create slots at a global level and associate them with one or multiple exams. Step 01: In the Central Admin Portal, navigate to the Settings section and click on it. Step 02: In the Settings window, ...
    • Integrating the Payment Portal for a Specific Exam

      Step 01: In the Central Admin Portal, click on the Exams section to begin the setup process. Step 02: Locate the Action button (three dots) on the right side of the exam for which you want to integrate the payment gateway. Step 03: Click on the ...
    • How to create slots and slot management

      Log in to the ExamOnline Portal: Navigate to the ExamOnline portal’s login page. Enter your registered username and password. Click on the Login button to access your account. 2- Click on the 'Exam' Option: Once logged in, look at the left-hand side ...