GoPay wraps many Chinese and international payment providers in one Go module. Separate packages cover WeChat, Alipay, Douyin, PayPal, Apple verification, and others.
Overview
GoPay is a Go SDK that aggregates client code for popular payment gateways. Documentation is split per provider with versioned APIs for platforms such as WeChat Pay v3, Alipay v3, Douyin, Allinpay, Lakala, PayPal, QQ Pay, and Apple receipt checks.
Clients share HTTP helpers with configurable TLS and logging hooks. Recent releases default to secure certificate validation, with options to relax checks only for sandbox or self-signed environments.
Test files and example programs demonstrate request signing, callbacks, and provider-specific flows. The module targets developers embedding payments into Go backends rather than end-user checkout apps.
Community support happens via issues, chat groups, and sample code.
Key features
- Multi-provider payment clients
- WeChat and Alipay v3
- PayPal and Apple verify
- Configurable HTTP client
- Provider-specific tests
- Douyin and Allinpay support
Use cases
- Go checkout backends
- Merchant payment integration
- Unified multi-gateway code
- Sandbox payment testing