Help us shape the future of Go! Take the 2026 Go Developer Survey

full

command
v0.22.0 Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2026 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Overview

This example demonstrates a complete checkout flow with the SumUp payment widget.

Basic steps: 1. Create a checkout for the desired amount using the SDK 2. Initiate the payment widget with the checkout ID

Prerequisites: - SUMUP_API_KEY environment variable with your SumUp API key - SUMUP_MERCHANT_CODE environment variable with your merchant code

To run:

export SUMUP_API_KEY="your-api-key"
export SUMUP_MERCHANT_CODE="your-merchant-code"
go run main.go

Then open http://localhost:8080 in your browser.

Jump to

Keyboard shortcuts

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