alipay

package
v0.0.0-...-d878d3b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 8, 2015 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

*

  • Copyright 2014 @ S1N1 Team.
  • name :
  • author : jarryliu
  • date : 2014-02-11 22:09
  • description : alipay golang sdk in "github.com/ascoders/alipay"
  • history :

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Configure

func Configure(partner, key, seller string) error

配置接口

func CreatePaymentGateWay

func CreatePaymentGateWay(orderNo string, fee float32, subject string, body string, returnUrl, notifyUrl string) string

生成支付宝即时到帐的表单参数 @params string 订单唯一id @params int 价格 @params int 获得代金券的数量 @params string 充值账户的名称 @params string 充值描述

func CreateTradeByUser

func CreateTradeByUser()

func NotifyFunc

func NotifyFunc(r *http.Request, sf SuccessNotifyFunc) string

被动接收支付宝异步通知

func ReturnFunc

func ReturnFunc(r *http.Request, sf SuccessNotifyFunc) error

被动接收支付宝同步跳转的页面

Types

type SuccessNotifyFunc

type SuccessNotifyFunc func(r *http.Request, orderNo string)

成功通知函数

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL