Giter Site home page Giter Site logo

alipay's Introduction

I'm a crazy JavaScript engineer, like algorithm, design pattern, front-end frameworks and data analysis.

  • Want to know what I learned every week? You can find them on weekly.

Anurag's GitHub stats

You can also read my articles in zhihu, juejin or follow the WeChat official account of the weekly:

alipay's People

Contributors

ascoders avatar ixre avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

alipay's Issues

获取不到 notify 中数据.

notify 中的 contro.Ctx.Input.CopyBody(beego.BConfig.MaxMemory) 是空值

bee :1.4.1
beego :1.6.1
Go :go version go1.6 linux/amd64

Form

alipay.go 第 52行:

param.Partner = AlipayPartner

这里不应该设置为client.Partner吗?

这样的结构就是partner为空,提交后,支付宝报错:

错误代码 ILLEGAL_PARTNER

alipay.Options undefined (type alipay.Client has no field or method Options)

alipay.Options undefined (type alipay.Client has no field or method Options)
`
alipay := alipay.Client{
Partner : PartnerId,
Key : Key,
ReturnUrl : ReturnUrl,
NotifyUrl : NotifyUrl,
Email : Email,
}
form := alipay.Form(alipay.Options{
OrderId: createData.OrderId,
Fee: createData.Fee,
NickName: createData.NickName,
Subject: createData.Subject,
})

`

aliplay 的form要怎么parse给前端 template

你好,
不知道你的email,只好开了个issue请教一下这个问题

form := alipay.CreateAlipaySign("123", 19.8, "翱翔大空", "充值19.8元")

要怎么parse给前端正常显示。

我现在的做法是

form := alipay.CreateAlipaySign("123", 19.8, "翱翔大空", "充值19.8元")
this.Data["AlipayForm"] = form 

然后前端页面tpl里:
直接用{{.AlipayForm}}

但是出来的结果(查看html源代码)都是加了escape的

 <form id="alipaysubmit" name="

没有render 成html, 请问下正确的做法应该是怎么样的?

感谢!

go get 错误

[yuyang@localhost saintour]$ go get github.com/ascoders/alipay

github.com/ascoders/alipay

../../ascoders/alipay/alipay.go:165: not enough arguments in call to contro.Ctx.Input.CopyBody
../../ascoders/alipay/alipay.go:175: not enough arguments in call to contro.Ctx.Input.CopyBody
../../ascoders/alipay/alipay.go:245: this.AlipayKey undefined (type *Client has no field or method AlipayKey)
../../ascoders/alipay/alipay_v1.go:135: not enough arguments in call to contro.Ctx.Input.CopyBody
../../ascoders/alipay/alipay_v1.go:145: not enough arguments in call to contro.Ctx.Input.CopyBody

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.