donate

package
v0.0.0-...-273d5ea Latest Latest
Warning

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

Go to latest
Published: Jun 27, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Checkout

func Checkout(ctx iris.Context)

Types

type CheckoutSessionResponse

type CheckoutSessionResponse struct {
	SessionId string `json:"id"`
}

type DonationRequest

type DonationRequest struct {
	Currency    string  `json:"currency"`
	Email       string  `json:"email"`
	ProductName string  `json:"product"`
	UnitAmount  float64 `json:"unit_amount"`
}

func ParseDonationRequest

func ParseDonationRequest(ctx iris.Context) (*DonationRequest, error)

Jump to

Keyboard shortcuts

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