paypal

package
v0.0.0-...-dd062b7 Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2018 License: Apache-2.0 Imports: 9 Imported by: 2

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, requireShipping bool) *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
	RequireShipping bool
}

Jump to

Keyboard shortcuts

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