Navigating Recurring Payments in India: A Backend Perspective

To address the new RBI framework for recurring payments in Shopify’s billing platform, we worked with a local payment provider that could accommodate both card-based payments as well as a local payment method called Unified Payments Interface (UPI).

Yash Kapadia
16 min readintermediate
--
View Original

Overview

This article discusses the implementation of recurring payments in India following new regulations from the Reserve Bank of India (RBI). It highlights the challenges and solutions Shopify faced in adapting their payment systems to accommodate both card-based and Unified Payments Interface (UPI) transactions.

What You'll Learn

1

How to implement e-mandate registration for recurring payments in India

2

Why UPI is a crucial payment method for Indian merchants

3

When to apply idempotency in payment processing systems

Prerequisites & Requirements

  • Understanding of payment processing and regulatory frameworks
  • Familiarity with APIs and payment gateways(optional)

Key Questions Answered

What are the new RBI requirements for recurring payments in India?
The RBI requires that all recurring payments must have a one-time authorization via an e-mandate registered through an Additional Factor of Authentication (AFA). Payments up to the RBI threshold can be collected automatically, while those above require payer authorization and a pre-debit notification 24 hours prior to the charge.
How does Shopify handle recurring payments with UPI?
Shopify's payment service uses UPI AutoPay for recurring payments, which sends notifications to users for approval. If a payment exceeds the UPI limit, users are redirected to manually approve the payment, treating it as a one-time transaction.
What challenges did Shopify face when implementing cards for recurring payments?
Shopify faced challenges such as needing to handle two separate AFA challenges for card tokenization and ensuring a seamless user experience while complying with RBI regulations. They opted for a solution that allowed tokenization for both recurring and one-time payments to reduce friction.
What is the significance of idempotency in Shopify's payment service?
Idempotency ensures that identical requests do not result in double charges. Shopify's payment service uses an idempotency key to maintain unique order identifiers, preventing errors during payment processing.

Key Statistics & Figures

Maximum UPI recurring transaction limit
₹5,000
This limit is enforced to ensure compliance with banking regulations and to prevent fraudulent transactions.
Timeframe for pre-debit notifications
24 hours
Users must be notified at least 24 hours before any charge is made, as per RBI regulations.

Technologies & Tools

Payment Method
Unified Payments Interface (upi)
Used for facilitating recurring payments in India.
Compliance
Payment Card Industry (pci)
Ensures secure handling of card transactions.

Key Actionable Insights

1
Implementing e-mandate registration can streamline recurring payment processes.
By adopting e-mandate registration, businesses can ensure compliance with RBI regulations while enhancing user experience through automated payment collections.
2
Utilizing UPI for payments can significantly increase transaction success rates in India.
Given UPI's popularity, integrating it into payment systems can improve accessibility and convenience for users, leading to higher engagement and satisfaction.
3
Incorporating idempotency in payment APIs is crucial for preventing transaction errors.
This practice not only protects against double charges but also builds trust with users by ensuring accurate billing.

Common Pitfalls

1
Overlooking the need for user notifications prior to charges can lead to compliance issues.
Failing to notify users at least 24 hours in advance can result in regulatory penalties and damage user trust.
2
Not implementing idempotency can lead to double charges during payment processing.
Without idempotency, repeated requests can cause multiple charges for a single transaction, leading to customer dissatisfaction and financial discrepancies.

Related Concepts

Payment Processing Regulations
E-mandate Systems
User Experience In Payment Systems