Builderoom

September 28, 2026

View repo

A Java payment SDK that wraps multiple Alipay and WeChat Pay methods to simplify integration.

Proprietary
安装命令(说明)bash
<!-- https://mvnrepository.com/artifact/cn.springboot/best-pay-sdk -->
<dependency>
    <groupId>cn.springboot</groupId>
    <artifactId>best-pay-sdk</artifactId>
    <version>请使用最新版</version>
</dependency>

Product facts

Type
API, SDK & Library
Category
Ecommerce & Retail › Payment & Checkout
Pricing
Open source
License
Proprietary
Launched
Sep 28, 2026
Listed
Sep 28, 2026
Website
github.com

Overview

GitHubGitHub

best-pay-sdk is a Java-based payment SDK designed to simplify the integration of Alipay and WeChat Pay. Since both platforms offer diverse payment methods and their native APIs can be cumbersome to work with, this SDK wraps these capabilities so developers can integrate payment features with less code.

Supported Payment Methods

Based on the changelog and repository topics, the SDK supports the following scenarios:

  • WeChat Pay: Includes APP payments, Official Account payments, etc.
  • Alipay: Includes WAP payments, etc.

Key Capabilities

  • Wraps the underlying interfaces of Alipay and WeChat Pay, reducing integration complexity.
  • Provides order query functionality.
  • Supports sandbox environment debugging (version 1.3.3 fixed the payment sandbox).
  • The returnUrl parameter can be configured in PayRequest, taking precedence over PayConfig.returnUrl.

Requirements

  • Requires JDK 8 or later.
  • The lombok plugin must be installed in your IDE.
  • Add the dependency via Maven with groupId cn.springboot and artifactId best-pay-sdk.

Target Audience

Ideal for developers who need to integrate both Alipay and WeChat Pay into Java projects, especially backend engineers looking to reduce repetitive integration work and implement payment features quickly. The project provides an online demo URL and documentation for reference.

Key features

  • Alipay: Wraps Alipay interfaces, supporting WAP payments and more.
  • WeChat Pay: Wraps WeChat Pay interfaces, supporting APP payments, Official Account payments, and more.
  • Order Query: Provides the ability to query order status.
  • Sandbox Support: Enables payment debugging in a sandbox environment.
  • returnUrl Configuration: PayRequest supports setting returnUrl, which takes precedence over the PayConfig setting.

Releases

Notify me

Initial · best-pay-sdk

Q&A

What are the environment requirements for using this SDK?AI-generated
It requires JDK 8 or later, and the lombok plugin must be installed in your IDE.
How do I add best-pay-sdk via Maven?AI-generated
Add the dependency in pom.xml with groupId cn.springboot and artifactId best-pay-sdk, using the latest version.
Which payment platforms does this SDK support?AI-generated
It currently supports Alipay and WeChat Pay.
Are there any sample codes or demos available?AI-generated
Yes, an official demo repository is provided: https://github.com/Pay-Group/best-pay-demo.
View repo
Bookmark

This product has no owner yet

It was listed by the platform or its author left. If it is your work, prove your relationship to become the owner.

Claim this product

The product content on this page was translated by AI from the author's original.