paymentactions

package
v0.0.0-...-a11cca7 Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2024 License: AGPL-3.0 Imports: 26 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HandlePaymentCancel

func HandlePaymentCancel(w http.ResponseWriter, r *http.Request) error

HandlePaymentCancel handles the success routine of the payment

func HandlePaymentFailure

func HandlePaymentFailure(w http.ResponseWriter, r *http.Request) error

HandlePaymentFailure handles the failure routine of the square payment by responding to the GET request

func HandlePaymentSuccess

func HandlePaymentSuccess(w http.ResponseWriter, r *http.Request) error

HandlePaymentSuccess handles the success routine of the payment

func HandleSquareWebhook

func HandleSquareWebhook(w http.ResponseWriter, r *http.Request) error

HandleSquareWebhook receives the webhook POST request from the Square

func HandleWebhook

func HandleWebhook(w http.ResponseWriter, r *http.Request) error

HandleWebhook receives the webhook POST request from the payment gateways

Types

This section is empty.

Jump to

Keyboard shortcuts

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