ipn

package
v1.46.21 Latest Latest
Warning

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

Go to latest
Published: Jul 3, 2026 License: MIT Imports: 19 Imported by: 0

Documentation

Overview

Reference: https://developer.paypal.com/webapps/developer/docs/classic/ipn/integration-guide/IPNIntro/

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Route

func Route(router router.Router, args ...gin.HandlerFunc)

func Webhook

func Webhook(c *gin.Context)

Types

type IpnMessage

type IpnMessage struct {
	Status     string         // transaction[0].status
	PayerEmail string         // sender_email
	PayeeEmail string         // transaction[0].receiver
	Amount     currency.Cents // extracted from transaction[0].amount
	PayKey     string         // pay_key
	Currency   currency.Type
}

func NewIpnMessage

func NewIpnMessage(form url.Values) *IpnMessage

Jump to

Keyboard shortcuts

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