---
title: "Overview"
space: "Integrations"
url: "https://integrations.frappe.cloud/integrations/payment-integration/payment-core/payment-overview"
updated: "2026-09-10"
---

**Payment Core** provides a unified, extensible payment gateway integration framework for Frappe and ERPNext. It delivers a standardized interface for multiple payment providers, comprehensive payment request handling, webhook-based subscription management, and seamless integration with web forms and custom checkout flows.

## Architecture Overview

Payments implements a layered architecture that separates payment orchestration from provider-specific implementations;



![](/files/wiki payment core workflow.webp)
*Payment Core Architechture Diagram*

## How It Works

**1. Provider Layer**: Gateway-specific implementations like Stripe, Razorpay, PayPal, and Braintree implement standardized payment interfaces.

**2. Payment Core Layer**: The middleware that handles:

- **Payment Gateway Management**: Centralized gateway configuration and routing
- **Payment Request Handling**: Standardized payment request creation and processing
- **Integration Logging**: Comprehensive payment transaction logging
- **Web Form Integration**: Seamless payment acceptance through web forms
- **Subscription Management**: Webhook-based recurring payment handling

**3. Frappe/ERPNext Layer**: Your Frappe or ERPNext instance where business documents and payment records are managed.

## Prerequisites

Install the required apps in this order:

1. [ERPNext](https://github.com/frappe/erpnext) must already be installed on the site. It provides the Payment Request, Payment Entry, Company, Account, Sales Invoice, Sales Order, and Subscription records used by the integration.
2. [Payment Core](https://github.com/aerele/payment-core) must be installed after ERPNext. It provides the shared payment-gateway workflow used by provider apps. Payment Core does not connect to Stripe or accept payments by itself.

The repository for app is hosted on GitHub: [Payment Core](https://github.com/aerele/payment-core)