Skip to main content

Payment Gateways

The Payment Gateways configuration allows you to set up payment processors to accept payments from customers. BrainScore supports PayPal, Stripe, Mollie, and Razorpay.

List Payment Gateways

Settings Payment Gateways

The list page displays all available payment gateways. Click Edit on any gateway to configure it.

Configuration Steps

  1. Get API Credentials: Obtain API keys from the payment gateway's developer dashboard
  2. Enter Credentials: Fill in the required credentials in the form
  3. Set Gateway Fees: Configure transaction fees (percentage as an integer from 0 to 100)
  4. Test Mode: Enable test mode for testing (only shown for gateways that support a built-in toggle)
  5. Enable Status: Toggle the Status switch to activate
  6. Save: Click Update to save the configuration

PayPal

Settings Payment Gateways

How to Get Keys

  1. Visit PayPal Developer Dashboard
  2. Log in with your PayPal account
  3. Click Create App to create a new application
  4. Select app type (REST API apps)
  5. Copy Client ID and Client Secret
  6. For production, switch to Live mode and create a live app

Form Fields

  • Client ID *: PayPal Client ID
  • Client Secret *: PayPal Client Secret
  • Test Mode: Enable for sandbox testing (available on PayPal)
  • Gateway Fees: Transaction fee percentage (integer, e.g., 3 for 3%)
  • Status: Toggle to enable/disable

Stripe

Settings Payment Gateways

How to Get Keys

  1. Visit Stripe Dashboard
  2. Log in to your Stripe account
  3. Go to DevelopersAPI keys
  4. Copy Publishable key and Secret key
  5. For production, use Live mode keys (toggle in dashboard)
  6. For testing, use Test mode keys

Form Fields

  • Publishable Key *: Stripe Publishable Key
  • Secret Key *: Stripe Secret Key
  • Gateway Fees: Transaction fee percentage (integer)
  • Status: Toggle to enable/disable

Note: Stripe doesn't have a test mode toggle here—use test keys for testing and live keys for production.

Mollie

Settings Payment Gateways

How to Get Keys

  1. Visit Mollie Dashboard
  2. Log in to your Mollie account
  3. Go to DevelopersAPI keys
  4. Copy your Live API key or Test API key
  5. For production, use Live API key
  6. For testing, use Test API key

Form Fields

  • API Key *: Mollie API Key (live or test)
  • Gateway Fees: Transaction fee percentage (integer)
  • Status: Toggle to enable/disable

Razorpay

Settings Payment Gateways

How to Get Keys

  1. Visit Razorpay Dashboard
  2. Log in to your Razorpay account
  3. Go to SettingsAPI Keys
  4. Click Generate Key if you don't have one
  5. Copy Key ID and Key Secret
  6. For production, use Live mode keys
  7. For testing, use Test mode keys (toggle in dashboard)

Form Fields

  • Key ID *: Razorpay Key ID
  • Key Secret *: Razorpay Key Secret
  • Gateway Fees: Transaction fee percentage (integer)
  • Status: Toggle to enable/disable

Important Notes

  • Required Fields: All credential fields are required when enabling a payment gateway
  • Test Mode: If the gateway has a Test Mode toggle, enable it for sandbox testing. Otherwise, use test credentials for testing and live credentials for production.
  • Gateway Fees: Fees are added to the transaction amount and charged to customers
  • Currency Support: Each gateway supports specific currencies. Check supported currencies before enabling
  • Security: Never share your API keys publicly. Keep them secure
  • Testing: Always test payments in test mode before going live
  • Live Mode: Make sure to use live credentials when enabling for production use