Giter VIP home page Giter VIP logo

pay-java-parent's Introduction

#pay-java-parent

##整合支付模块(微信支付,支付宝)

声明: 本项目最初想法自 https://github.com/chanjarster/weixin-java-tools, 15年1月左右关注chanjarster/weixin-java-tools,并将其回调处理修改并进行使用。

开发版 https://git.oschina.net/egzosn/pay-java-parent/tree/develop

详细文档请看 wiki

特性

1. 不依赖任何 mvc 框架
2. 也不依赖 servlet,仅仅作为工具使用,可轻松嵌入到任何系统里(项目例子利用spring mvc的 @PathVariable进行,推荐使用类似的框架)
3. 支付请求调用支持HTTP和异步、支持http代理
4. 控制层统一异常处理
5. LogBack日志记录
6. 简单快速完成支付模块的开发
7. 支持多种支付类型多支付账户扩展(目前已支持微信支付,支付宝支付,友店支付)

本项目包含 3 个部分:

 1. pay-java-common  公共lib,支付核心与规范定义
 2. pay-java-demo  具体的支付demo
 3. pay-java-*  具体的支付实现库

Maven配置

支付核心模块

<dependency>
    <groupId>com.egzosn</groupId>
    <artifactId>pay-java-common</artifactId>
    <version>2.0.4.RELEASE</version>
</dependency>

具体支付模块 "{module-name}" 为具体的支付渠道的模块名 pay-java-ali,pay-java-wx等

<dependency>
    <groupId>com.egzosn</groupId>
    <artifactId>{module-name}</artifactId>
    <version>2.0.4.RELEASE</version>
</dependency>

使用

这里不多说直接上代码 集群的话,友店可能会有bug。

测试链接 : http://pay.egzosn.com/index.html

单一支付教程

基础模块支付宝微信讲解

友店微信 富友

支付整合》服务端+网页端详细使用与简单教程请看 pay-java-demo

android 例子 pay-java-android

交流

很希望更多志同道合友友一起扩展新的的支付接口。

这里感谢ouyangxiangshao,ZhuangXiongActinian 所提交的安卓例子或者分支

也感谢各大友友同学帮忙进行接口测试

非常欢迎和感谢对本项目发起Pull Request的同学,不过本项目基于git flow开发流程,因此在发起Pull Request的时候请选择develop分支。

E-Mail:[email protected]

QQ群:542193977

pay-java-parent's People

Contributors

egzosn avatar cnzzs avatar egaon avatar

Watchers

 avatar  avatar

Forkers

pay-project

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.