awesome-repositories.com
Blog
MCP
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectMCP serverAboutHow we rankPress
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
yansongda avatar

yansongda/pay

0
View on GitHub↗
5,348 stars·1,052 forks·PHP·MIT·33 viewspay.yansongda.cn↗

Pay

This project is a multi-gateway payment SDK that provides a unified API and abstraction layer for integrating multiple payment providers. It maps high-level payment operations to provider-specific API calls and standardizes diverse outputs through a unified response normalization system.

The SDK supports multi-tenant configuration, allowing a single runtime instance to isolate credentials and settings for different business accounts. It features a plugin-based architecture that enables the addition of custom payment gateways through abstract class implementations.

The capability surface covers the end-to-end payment lifecycle, including order initiation, status querying, fund freezing, and refund processing across web, mobile, and QR channels. It includes security utilities for automated certificate rotation and digital signature validation for incoming webhooks. Additional functional areas include financial reconciliation, identity verification with liveness detection, and the management of electronic invoices and profit sharing.

Features

  • Multi-Channel Payment Acceptance - Allows applications to accept payments through multiple third-party gateways like WeChat Pay, Alipay, and UnionPay via a unified integration.
  • Payment Gateway Abstractions - A single interface to process transactions across various payment providers to simplify checkout logic.
  • Payment Intent Generation - Initiates payment requests and generates the necessary secrets and identifiers for frontend components.
  • Hosted Checkout Integration - Implements integration with payment providers to generate and redirect users to hosted payment pages.
  • Payment Gateway Integrations - Provides connectivity and transaction processing through external payment service providers to verify payment success.
  • Multi-Channel - A process to execute transactions across web, mobile, and QR channels to collect funds.
  • Multi-Provider SDKs - Provides a unified SDK that aggregates multiple payment providers under a single interface for order and refund management.
  • Payment Intent Voiding - Provides the capability to void pending payment requests to prevent them from being completed.
  • Payment Integrations - Provides a plugin system for connecting third-party payment gateways not included in the core package.
  • Tenant-Aware Merchant Isolation - Isolates merchant accounts and payment configurations within a single platform using a tenant-aware architecture.
  • Payment Lifecycle Management - Coordinates the end-to-end sequence of order creation, status queries, fund capture, and refunds.
  • Payment Captures - Processes the transition from initial payment authorization to the final capture of funds.
  • Payment Data Initialization - Creates payment intents and gathers transaction data required for completion via server or frontend.
  • Payment Request Execution - Executes payment requests by submitting order details to a provider for a direct transaction.
  • Response Normalizers - A process that standardizes gateway output into consistent objects to simplify data handling across different service providers.
  • Payment Callback Processing - Parses and validates incoming notification requests from payment gateways to trigger post-payment business logic.
  • Payment Order Management - Manages the cancellation of existing transactions across various channels including cards, QR codes, and mini-programs.
  • Order Cancellations - Provides the ability to cancel active payment requests to prevent further transaction attempts.
  • Transaction Status Queries - A utility to retrieve the current state of a payment or refund to verify successful completion.
  • Order Status Queries - Allows retrieving the current status and details of a payment order using a unique transaction identifier.
  • Payment Artifact Verification - Verifies the success of a transaction by retrieving its current state from the payment gateway.
  • Payment Transaction Callbacks - Processes asynchronous notifications from payment gateways to confirm transaction outcomes.
  • Transaction Voiding - Provides the capability to close open orders or void pending transactions to prevent further processing.
  • Gateway Completion Verifications - Fetches the current state of a payment request from the gateway to confirm successful completion.
  • Payment Webhooks - Provides a tool for verifying digital signatures and authenticity of server notifications from payment providers.
  • Fund Transfer Reversals - Reverses payment transactions by requesting the gateway to void the specific fund transfer.
  • Payment Transaction Reversals - Reverses payment requests by passing order identifiers to the payment gateway to void the transfer.
  • Payment Signature Verification - Validates cryptographic signatures from payment gateways to ensure the authenticity of incoming webhooks.
  • API Abstraction Layers - Implements a middleware layer that normalizes diverse payment service protocols into a unified interface.
  • Response Normalization Layers - Standardizes diverse third party API outputs into consistent objects to simplify cross-provider data handling.
  • Fund Freezing Controls - Provides a capability to authorize the temporary freezing of funds for pre-authorization and manage their release.
  • Inter-Account Fund Transfers - Performs single-payment transfers to accounts and provides status querying for transfer documents.
  • Alipay Integrations - Provides backend integrations specifically for processing digital payments and transactions through the Alipay platform.
  • QR Code Payment Triggers - Processes transactions, refunds, and status queries specifically for aggregated QR code gateways.
  • Plugin Architectures - Implements an extensible framework and standardized class structures for integrating diverse payment gateway plugins.
  • Multi-Merchant Payment Support - Supports processing transactions and managing configurations for multiple different merchant accounts in one application.
  • WeChat Pay Integrations - Integrates the WeChat Pay API to process transactions between merchants and users.
  • Custom Payment Extensions - Provides a mechanism to implement custom payment extension modules for tailored business logic behaviors.
  • Recurring Payment Agreements - Handles the signing, modification, and cancellation of automatic debit agreements for recurring payments.
  • Refund Processing Engines - A system to reverse payment transactions across web, app, and QR code channels using gateway parameters.
  • Refund Request Senders - A process to reverse a completed payment by referencing a charge identifier to return funds.
  • Scan-to-Pay Systems - Generates payment requests for scan-to-pay transactions by processing specific order details.
  • Split Payment Processing - Executes the settlement of split payments and royalty sharing among multiple parties in a single transaction.
  • Transaction Fund Distributions - Distributes transaction funds among multiple parties and processes sharing reversals.
  • Payment Data Reconciliation Tools - Provides automated systems for matching payment records with bank statements and processor reports to ensure financial accuracy.
  • Payment Credential Switching - Implements a utility to switch between different gateway credentials and settings for multiple business accounts.
  • Payment Processings - Handles order creation and refund requests specifically for users within mini-program environments.
  • Automated Certificate Management Systems - Implements a system for fetching and caching public certificates from remote servers to maintain secure communication.
  • Webhook Signature Verifiers - Verifies the authenticity of incoming payment webhooks using cryptographic signatures and provider secret keys.
  • Digital Signature Validations - A process to validate server-to-server messages and digital signatures to prevent request spoofing.
  • User Identity Verification - Confirms user identities through certifications, liveness detection, and face verification.
  • Credential Isolation Settings - Provides isolated credential and setting management for multiple business accounts within a single runtime instance.
  • Payment Gateway Response Validations - A system to validate the authenticity of responses from payment servers using public keys to prevent fraud.
  • Client Signature Generators - Creates signature data for the frontend to trigger payment processes without server-side requests.
  • Payment Confirmations - A backend process to execute payment confirmation for bank cards and digital wallets.
  • Webhook Origin Authentications - A process to validate the authenticity of incoming server messages to ensure callbacks originate from the gateway.
  • UnionPay Integrations - Connects to the UnionPay gateway to enable financial transactions for cardholders.
  • Plugin-Based Extensibility - Utilizes an architectural pattern that allows adding new payment providers via custom plugin implementations.
  • Session Generators - Generates hosted payment pages to collect customer details and complete transactions.

Star history

Star history chart for yansongda/payStar history chart for yansongda/pay

How this analysis was created: This summary and feature list are AI-generated from collected project material and can contain mistakes. Stars, license and language are imported from GitHub. Inclusion does not mean that we have tested or audited this project. Check the source documentation for any feature you depend on. Learn more on our About page.

AI search

Explore more awesome repositories

Describe what you need in plain English — the AI ranks thousands of curated open-source projects by relevance.

Start searching with AI

Projects sharing features with Pay

These projects share indexed features with Pay. Shared tags can include platform or build tooling; verify the primary use case before treating a result as a replacement.
  • go-pay/gopaygo-pay avatar

    go-pay/gopay

    5,632View on GitHub↗

    GoPay is a Go SDK that aggregates multiple Chinese and international payment gateways behind a single, unified interface. It provides a consistent API for creating payment orders, processing refunds, handling asynchronous gateway callbacks, and querying transaction statuses across providers like Alipay and WeChat Pay. The SDK abstracts away the differences between individual payment gateways through a gateway-agnostic interface, with built-in callback signature verification, error-code normalization, and request-response serialization. It includes dedicated client factories for each payment p

    Goalipayallinpayapple
    View on GitHub↗5,632
  • stripe/stripe-phpstripe avatar

    stripe/stripe-php

    4,017View on GitHub↗

    The stripe-php library is a PHP client used to integrate Stripe payment processing, subscription billing, and financial services into applications. It provides a programmatic interface for managing connected accounts, issuing virtual cards, and automating payouts to sellers. The library distinguishes itself through a comprehensive suite of billing and payment tools, including support for recurring charges, usage-based billing, and the management of customer self-service portals. It further enables financial automation via tax and revenue libraries that handle global sales tax calculation and

    PHP
    View on GitHub↗4,017
  • thephpleague/omnipaythephpleague avatar

    thephpleague/omnipay

    6,053View on GitHub↗

    Omnipay is a PHP payment gateway library and integration framework that abstracts multiple payment service providers into a single, consistent API. It provides a standardized interface for managing payment lifecycles, allowing applications to execute authorizations, captures, and refunds across various financial services without rewriting code for each provider. The framework decouples application logic from provider-specific SDKs using an adapter pattern and data-transfer objects. This architecture ensures that raw gateway responses and HTTP requests are converted into predictable data shape

    PHP
    View on GitHub↗6,053
  • insforge/insforgeInsForge avatar

    InsForge/InsForge

    11,794View on GitHub↗

    InsForge is a backend-as-a-service platform that provides an integrated suite of tools for managing relational databases, identity provision, object storage, and serverless compute. It functions as an open-source identity provider and a PostgreSQL database manager featuring integrated vector storage and row-level security. The platform serves as an LLM orchestration gateway, offering a unified endpoint to route requests across various AI providers through an OpenAI-compatible interface. It enables AI-driven application generation and connects AI agents to backend resources using a standardize

    TypeScriptaiai-agentscoding
    View on GitHub↗11,794
Compare all 30 related projects→

Frequently asked questions

What does yansongda/pay do?

This project is a multi-gateway payment SDK that provides a unified API and abstraction layer for integrating multiple payment providers. It maps high-level payment operations to provider-specific API calls and standardizes diverse outputs through a unified response normalization system.

What are the main features of yansongda/pay?

The main features of yansongda/pay are: Multi-Channel Payment Acceptance, Payment Gateway Abstractions, Payment Intent Generation, Hosted Checkout Integration, Payment Gateway Integrations, Multi-Channel, Multi-Provider SDKs, Payment Intent Voiding.

Which projects share features with yansongda/pay?

Projects with overlapping indexed features include: go-pay/gopay — GoPay is a Go SDK that aggregates multiple Chinese and international payment gateways behind a single, unified… stripe/stripe-php — The stripe-php library is a PHP client used to integrate Stripe payment processing, subscription billing, and… thephpleague/omnipay — Omnipay is a PHP payment gateway library and integration framework that abstracts multiple payment service providers… insforge/insforge — InsForge is a backend-as-a-service platform that provides an integrated suite of tools for managing relational… tastyigniter/tastyigniter — TastyIgniter is a comprehensive restaurant management system and digital ordering engine. Built as a modular… jeequan/jeepay — Jeepay is an open-source payment gateway that accepts payments through WeChat Pay, Alipay, and UnionPay from a single…