Payment Spring Boot is a Java implementation of wechat Payment V3, relying only on some built-in Spring libraries. The configuration is simple and convenient, allowing developers to quickly connect Spring Boot applications to wechat Pay.
features
- Realize wechat Pay multi-merchant
- Integrate Alipay SDK and quickly access Spring Boot
- Realize wechat Pay V3 basic payment
- Realize wechat Pay V3 single payment
- Realize wechat Pay V3 voucher
- Achieve wechat pay V3 wechat pay points
- Realize wechat Pay V3 premium card
- Realize wechat Pay V3 merchant vouchers
- Realize wechat Pay V3 batch transfer to loose change
Depend on the coordinate
The latest version of Maven coordinates are:
<dependency>
<groupId>cn.felord</groupId>
<artifactId>payment-spring-boot-starter</artifactId>
<version>1.0.7. RELEASE</version>
</dependency>
Copy the code
This update
- WeChat pay
- Refactor: X509 certificate loading optimization.
- Refactor: Removes expired
WechatPayRefundApi
. - Refactor: to optimize the
RestTemplate
An I/O exception was caused in the lower version, see detailsspring-framework#21321. - Refactor: At the request head
Content-Type
To declare the character set UTF-8, avoid Chinese garbled characters. - Fix: Fix an exception in the refund callback where the refund status enumeration was not properly resolved (#11).
Demo project: Payment-spring-boot-samples
Documentation: Payment Spring Boot documentation
Follow our public id: Felordcn for more information
Personal blog: https://felord.cn