GithubHelp home page GithubHelp logo

alipay's Introduction

Alipay Go SDK

默认带有支持即时到账、网银支付的方法

该 SDK 是从支付宝官方 Java 版 SDK 翻译而来,提供大家参考和学习,因某些方法不常用,目前 alipaySubmit 未编写方法有:

/* 建立请求,以表单HTML形式构造,带文件上传功能 */

  • buildRequest(String strParaFileName, String strFilePath,Map<String, String> sParaTemp)

/* 建立请求,以模拟远程HTTP的POST请求方式构造并获取支付宝的处理结果 */

  • buildRequest(Map<String, String> sParaTemp, String strMethod, String strButtonName, String strParaFileName)

Examples

  • 请参考test/testMain.go;代码都中有相应的注解,方便大家了解方法的使用
  • 如果AlipayToPay支付方法不满足需求,可根据自己的参数需求调用BuildRequest方法来构造提交支付宝的表单

开源协议

该源码使用 Apache License 2.0 开源。

alipay's People

Contributors

88250 avatar sf100 avatar

Watchers

 avatar  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.