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
go-pay avatar

go-pay/gopay

0
View on GitHub↗
5,632 stars·930 forks·Go·Apache-2.0·32 viewsgithub.com/go-pay/gopay↗

Gopay

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 provider, using Go struct tags to map SDK fields to gateway-specific parameters at runtime.

Beyond core payment operations, GoPay supports retrieving user identifiers via OAuth authorization code exchange, generating mini-program payment parameters, and downloading settlement reports for reconciliation. The library handles the full payment order lifecycle, from creation through refund processing and status tracking, with consistent Go types and error handling across all supported gateways.

Features

  • Payment Gateways - Integrates multiple Chinese and international payment gateways through a single Go SDK, handling order creation, callbacks, and refunds uniformly.
  • Alipay Integrations - Handles Alipay payment flows such as order creation, callback verification, and refunds using Go code.
  • Callback Handlers - Receives, validates, and responds to asynchronous payment notifications from various gateways in a Go service.
  • Callback Parsers - Decodes and unmarshals asynchronous payment notifications from gateways into structured Go types.
  • Multi-Provider SDKs - An SDK that unifies WeChat Pay, Alipay, and other Chinese payment gateways under a single Go interface for order creation, refunds, and callback handling.
  • WeChat Pay Integrations - Implements WeChat Pay payment, refund, and notification verification APIs for server-side Go integration.
  • Multi-Provider Payment Aggregations - A Go SDK that abstracts multiple Chinese payment providers behind a common API for creating orders, processing refunds, and handling gateway callbacks.
  • Payment Order Management - Creates, queries, and reconciles payment orders across multiple gateways with consistent Go types and error handling.
  • Order Creation Requests - Initiates payment requests to supported gateways, returning prepay IDs or order data for client-side checkout.
  • Transaction Status Queries - Retrieves the current state of a payment order from the gateway, such as success, failure, or pending.
  • Refund Processing Engines - Issues full or partial refunds across supported payment gateways and tracks refund status from a single Go interface.
  • Refund Request Senders - Sends refund requests for completed transactions and tracks refund status through the gateway.
  • Payment Transaction Callbacks - Receives and validates asynchronous payment notifications from gateways, responding with success or failure acknowledgments.
  • Webhook Signature Verifiers - Validates incoming webhook payloads by recomputing HMAC or RSA signatures before dispatching to user code.
  • Payment Signature Verification - Validates cryptographic signatures on incoming gateway callbacks to confirm payment notification authenticity.
  • Payment Gateway Abstractions - Defines a unified Go interface that wraps multiple payment gateways behind a single method contract.
  • Payment Parameter Generators - Generates the signed parameters required to start a payment from a mini-program front end.
  • Order Status Queries - Queries the current status and details of payment orders using transaction identifiers.
  • Struct Tag Mapping Utilities - Uses Go struct tags to map SDK fields to gateway-specific request parameters at runtime.
  • Gateway Error Code Translators - Translates diverse gateway error codes into a consistent set of Go error types for unified handling.
  • Gateway Format Serializers - Converts Go structs to gateway-native formats (JSON/XML) and back, handling field naming and nesting differences.
  • Payment Client Factories - Creates isolated client instances per payment provider, each with its own endpoint, key, and serialization logic.

Star history

Star history chart for go-pay/gopayStar history chart for go-pay/gopay

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 Gopay

These projects share indexed features with Gopay. Shared tags can include platform or build tooling; verify the primary use case before treating a result as a replacement.
  • yansongda/payyansongda avatar

    yansongda/pay

    5,348View on GitHub↗

    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 cove

    PHPalipaydouyinlaravel-pay
    View on GitHub↗5,348
  • wechatpy/wechatpywechatpy avatar

    wechatpy/wechatpy

    4,290View on GitHub↗

    wechatpy is a Python API SDK designed for interacting with official accounts, mini programs, and corporate communication APIs. It provides a unified interface for managing users, media, and messages, and includes a bot framework for processing incoming events and generating structured responses. The project implements a component-based client factory to perform actions across different account types and orchestrates OAuth2 flows for identity verification. It features an event-driven bot architecture and a pluggable token storage system to persist authentication sessions across environments.

    Pythonpythonsdkwechat
    View on GitHub↗4,290
  • roncoo/roncoo-payroncoo avatar

    roncoo/roncoo-pay

    4,960View on GitHub↗

    Roncoo Pay is a multi-tenant payment platform that integrates Alipay and WeChat Pay as external payment channels, handling payment request routing, authorization, and capture. It also includes an automated settlement engine that calculates net amounts and initiates daily fund transfers, along with a reconciliation engine that matches internal transaction logs against provider statements to detect discrepancies. In addition to payment processing, the project provides a multi-tenant online education delivery platform for live and on-demand courses, exams, and enterprise training. The platform u

    Javaroncooroncoo-pay
    View on GitHub↗4,960
  • lilishop/lilishoplilishop avatar

    lilishop/lilishop

    4,216View on GitHub↗

    Lilishop is a multi-vendor B2B2C e-commerce platform designed as a marketplace where third-party merchants can manage independent storefronts within a unified ecosystem. It is built on a Spring Cloud microservices architecture and a Spring Boot backend, utilizing Vue and Uniapp to deliver responsive user interfaces across web, mobile, and mini-program platforms. The platform differentiates itself through integrated marketing automation tools, including group buying, bargain campaigns, and a commission-based affiliate distribution network. It also features a comprehensive financial settlement

    Javab2b2cdockerjava
    View on GitHub↗4,216
Compare all 30 related projects→

Frequently asked questions

What does go-pay/gopay do?

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.

What are the main features of go-pay/gopay?

The main features of go-pay/gopay are: Payment Gateways, Alipay Integrations, Callback Handlers, Callback Parsers, Multi-Provider SDKs, WeChat Pay Integrations, Multi-Provider Payment Aggregations, Payment Order Management.

Which projects share features with go-pay/gopay?

Projects with overlapping indexed features include: yansongda/pay — This project is a multi-gateway payment SDK that provides a unified API and abstraction layer for integrating multiple… wechatpy/wechatpy — wechatpy is a Python API SDK designed for interacting with official accounts, mini programs, and corporate… roncoo/roncoo-pay — Roncoo Pay is a multi-tenant payment platform that integrates Alipay and WeChat Pay as external payment channels,… lilishop/lilishop — Lilishop is a multi-vendor B2B2C e-commerce platform designed as a marketplace where third-party merchants can manage… thephpleague/omnipay — Omnipay is a PHP payment gateway library and integration framework that abstracts multiple payment service providers… jeequan/jeepay — Jeepay is an open-source payment gateway that accepts payments through WeChat Pay, Alipay, and UnionPay from a single…