hipay2

package
v1.2.27 Latest Latest
Warning

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

Go to latest
Published: Feb 3, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var MerchantKey string

Functions

func PayCallbackDecode

func PayCallbackDecode(body []byte) (ordersn, amount string, err error)

hipay2 pay callback

Types

type Hipay2RequestBody

type Hipay2RequestBody struct {
	CustomerId           string `json:"customer_id"`
	CustomerName         string `json:"customer_name"`
	ActualAmount         string `json:"actual_amount"`
	AmountSentToMerchant string `json:"amount_sent_to_merchant"`
	PercentageAmount     string `json:"percentage_amount"`
	MerchantKey          string `json:"merchant_key"`
	Status               bool   `json:"status"`
}

Jump to

Keyboard shortcuts

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