go-iap-galaxy

go-iap-galaxy verifies the purchase receipt via GalaxyStore.

Installation

go get github.com/coolishbee/go-iap-galaxy

Quick Start

In App Purchase via GalaxyStore

import(
    "github.com/coolishbee/go-iap-galaxy"
)

func main() {
	client := galaxy.New()

	ctx := context.Background()
	resp, err := client.Verify(ctx, "purchaseId")
	if err != nil {
		fmt.Println(err)
	}
	fmt.Println(resp)
}

Support

This validator uses Samsung IAP Server API.