paypal

package
v0.0.0-...-faf5504 Latest Latest
Warning

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

Go to latest
Published: Jun 25, 2016 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const PAYPAL_CALLBACK = "/paypal_notify"
View Source
const PAYPAL_URL = "https://www.paypal.com/cgi-bin/webscr"

Variables

This section is empty.

Functions

This section is empty.

Types

type PaypalPayment

type PaypalPayment struct {
	// contains filtered or unexported fields
}

func MakePaypalPayment

func MakePaypalPayment(business string, returnUrl string) *PaypalPayment

func (*PaypalPayment) Callback

func (this *PaypalPayment) Callback(w http.ResponseWriter, r *http.Request)

func (*PaypalPayment) Payment

func (this *PaypalPayment) Payment(w http.ResponseWriter, r *http.Request, frameParams lobster.FrameParams, userId int, username string, amount float64)

type PaypalTemplateParams

type PaypalTemplateParams struct {
	Frame     lobster.FrameParams
	Business  string
	Amount    float64
	UserId    int
	NotifyUrl string
	ReturnUrl string
	Currency  string
}

Jump to

Keyboard shortcuts

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