Giter VIP home page Giter VIP logo

alipay-f2fpay's Introduction

目录树如下

├── aop #支付宝SDK
├── AopSdk.php #支付宝SDK
├── common.php #数据库配置文件
├── config.php #公钥/私钥 等配置文件
├── f2fpay #支付宝封装的F2FSDK
├── index.html #首页
├── lotusphp_runtime #支付宝SDK自带框架
├── notify.php #异步通知文件
├── pay #主要文件
│   ├── index.php
│   ├── qrcode.class.php
│   └── qrcode.php
├── query.php #查询订单接口文件
└── static #静态文件
├── alipay.ico
├── erphpdown.css
├── payment-alipay.png
└── signin.css

DEMO: http://pay.i5.gs

简介: 通过对支付宝f2fpay SDK的二次开发,实现在线支付功能。

使用方法:

  1. 修改config.php ,填入你的支付宝公钥/私钥/PID
  2. 根据common.php头部注释创建数据表,并修改相关配置文件。
  3. 检查config.php中的notify_url 确认公网可访问
  4. 完成。

主要逻辑: 生成订单插入数据库-->显示二维码供用户支付-->支付完成后支付宝异步通知到notify.php-->notify.php对支付宝传来的数据进行校验,改变数据库中订单状态-->query.php返回订单成功状态-->完成支付

有偿提供 对接各种程序 服务,如有需要请联系程序文件头部中的邮箱。

alipay-f2fpay's People

Contributors

yumusb avatar

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.