full

command
v0.13.0 Latest Latest
Warning

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

Go to latest
Published: Jan 20, 2026 License: Apache-2.0 Imports: 16 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