Stripe Payment Gateway

Stripe Payment Gateway




๐Ÿ’ณ Stripe Payment Gateway Integration

The Stripe Payment Gateway enables secure online credit card payments by bridging your merchant account and payment processor. This feature-rich integration supports multiple saved cards, default card selection, and auto-recharge based on balance thresholds.


๐Ÿ”‘ Key Features

  • โœ… All-in-One Payment Solution
    Centralizes payment collection with seamless Stripe integration.

  • ๐Ÿ’ผ Customer Portal Integration
    Allows customers to manage and save multiple cards from their account interface.

  • ๐Ÿ” Secure Configuration
    Easy setup of sandbox credentials and environment toggle via: Configurations โ†’ Settings โ†’ Payment Methods

  • ๐Ÿ” Auto Recharge with Protection
    Configure recharge amount and daily recharge limit. Integrated with fraud and dispute protection.

  • ๐Ÿ›ก๏ธ Dynamic 3D Secure
    Ensures an additional layer of security during transactions.

  • ๐Ÿ’ณ Saved Cards & Default Card Management
    Customers can save multiple cards and choose a default card for recurring or automatic payments.


๐Ÿงฉ Installation

  1. Navigate to:
    Get Addons โ†’ Enterprise โ†’ Stripe Payment Gateway

  2. After successful installation, re-login to activate the feature.


โš™๏ธ Configuring the Stripe Gateway

  1. Go to:
    Configurations โ†’ Settings โ†’ Payment Methods

  2. Enter your Sandbox Secret Key and Publishable Key.

  3. Enable the Stripe option and click Save.


๐Ÿงพ Customer Top-Up Flow

  1. Login as customer and go to:
    Accounts โ†’ Customer โ†’ Services โ†’ Top-up

  2. Click on an existing top-up plan.

  3. ย 

  4. Enter credit card details in the provided form.

  5. Toggle Save Card: Yes to store the card for future use.

  6. Click Pay Now to complete the transaction.


๐Ÿ”„ Managing Multiple Cards

  • Customers can add multiple cards under their profile.

  • One of the cards can be set as Default for automated billing and top-ups.


๐Ÿ“Œ Note

Auto recharge is linked to the balance threshold set for the customer. When the account balance drops below the threshold, the system will:

  • Automatically trigger a recharge using the default card.

  • Recharge either a fixed amount or to maintain a minimum balance.

  • Respect the maximum allowed refills per day.

(See previous section on Auto Refill Configuration for details)


โš™๏ธ Configuring Auto-Recharge for Bill Payment

To configure the auto-recharge option for customer accounts, follow the steps below:

  1. Navigate to:
    Accounts โ†’ Customer โ†’ Edit Customer โ†’ Alert Threshold

  2. As shown in the screenshot below, the options "Email Alerts?" and "Balance Below" follow the default behavior. However, the fields outlined in the table below are required to set up Auto Refill functionality.

image-20250424-101821.png

ย 


๐Ÿ”ง Auto Refill Configuration Fields

Field Name

Field Description

Field Name

Field Description

Email Alert

Enable/Disable email alerts when balance drops below the defined threshold.

Balance Below

Set the threshold balance value that triggers an alert or an auto-refill action.

Auto-Refill

Enable this option to activate automatic recharge. Once enabled, additional options become configurable.

Refill Option

  • Fixed Amount: Always refills a set amount.- Minimum Balance: Calculates the refill amount dynamically to reach the defined minimum balance.

Refill Amount

  • If Fixed Amount is selected, this is the amount to be added.- If Minimum Balance is selected, this is the balance to be maintained.

Occurrence Per Day

Set the maximum number of times an automatic refill can occur in a single day.


๐Ÿ”„ Refill Modes Explained

1. Fixed Amount Mode

  • A static, pre-defined amount is added to the account when the balance falls below the threshold.

  • Example: If Refill Amount = $200, then $200 will be added each time refill is triggered.

2. Minimum Balance Mode

  • Refills just enough to bring the balance up to the specified Minimum Balance.

  • Refill Amount = Minimum Balance - Current Balance

Examples:

Below Balance

Minimum Balance

Current Balance

Trigger?

Amount Refilled

Below Balance

Minimum Balance

Current Balance

Trigger?

Amount Refilled

$50

$400

$40

โœ… Yes

$360

$50

$400

-$10

โœ… Yes

$410

$50

$400

$60

โŒ No

โ€”


โฑ๏ธ Daily Occurrence Limit

  • Prevents excessive refills by setting a maximum number of auto-refills per day.

  • Once the set number is reached, no further refills will occur until the next calendar day.




Related content