Changelog

Thank you, we'll let you know when we update our APIs.

There was an issue subscribe to the news, please try again later.

Sign up for developer updates:
You can unsubscribe at any time. Read our privacy policy.

Golang SDK

We are happy to announce the beta release of our Go SDK. The SDK is maintained under sumup/sumup-go with its acompanying documentation at pkg.go.dev.

The Golang SDK provides easy access to SumUp APIs:

package main

import (
	"context"
	"log"
	"os"

	"github.com/sumup/sumup-go"
)

func main() {
	ctx := context.Background()
	client := sumup.NewClient().WithAuth(os.Getenv("SUMUP_KEY"))

	checkout, err := client.Checkouts.Create(ctx, sumup.CreateCheckoutBody{
		Amount:            123,
		CheckoutReference: "TX000001",
		Currency:          "EUR",
		MerchantCode:      "MK0001",
	})
	if err != nil {
		log.Printf("[ERROR] create checkout: %v", err)
		return
	}

	log.Printf("[INFO] checkout created: id=%q, amount=%v, currency=%q", *checkout.Id, *checkout.Amount, string(*checkout.Currency))

	checkoutSuccess, err := client.Checkouts.Process(ctx, *checkout.Id, sumup.ProcessCheckoutBody{
		Card: &sumup.Card{
			Cvv:         "123",
			ExpiryMonth: "12",
			ExpiryYear:  "2023",
			Name:        "Boaty McBoatface",
			Number:      "4200000000000042",
		},
		PaymentType: sumup.ProcessCheckoutBodyPaymentTypeCard,
	})
	if err != nil {
		log.Printf("[ERROR] process checkout: %v", err)
		return
	}

	log.Printf("[INFO] checkout processed: id=%q, transaction_id=%q", *checkoutSuccess.Id, string(*(*checkoutSuccess.Transactions)[0].Id))
}

See the repository for more examples and don't hesitate to let us know if you have any questions.

Android SDK 4.3.0

Android SDK 4.3.0 has been released.

Solo USB (Beta)

The Solo card reader now supports connecting and transacting over USB cable. The minimum required Solo software version that supports the USB mode is 3.3.17.2.

If this version (3.3.17.2) is not yet available on your Solo when connected via Bluetooth, you can switch it to standalone mode (Menu -> Connection -> WiFi), login directly on the Solo, and update it to the latest version.

Solo USB is under beta phase which means that the feature still requires some optimization to ensure full stability.

Known limitations: currently, if the USB cable is unplugged, the USB permission on the mobile device will need to be regranted. As of now, Solo is not able to wake up automatically from sleep mode. A connection needs to be reestablished from

Removed:

  • Dropping support for Android 7 (API 25) and below

WooCommerce Plugin Update

New features:

  • Accept payments with alternative payment methods (Follow guides for enabling in your account)
  • Accept card payments with installments in BR.
  • Accept payments with Apple Pay.
  • Support for WooCommerce stock management feature
  • New user experience configuration: merchant can choose to open the payment option in a pop-up instead of the checkout page.

Improvements:

  • Easier reconciliation of orders between WooCommerce and SumUp dashboard:
  • Display WooCommerce order Id on SumUp Sales History.
  • Added transaction code to order description on WooCommerce
  • Added checkout_id in order notes to improve customer support
  • New settings screen for easier setup
  • Multiple code maintenance improvements.
  • Support for Wordpress 6.3
  • Require PHP version 7.2 or greater.

Bugs fixed:

  • Errors during checkout that caused duplicated payment.
  • Issues loading payment methods on checkout.
  • Fixed issue with customer creation during checkout that caused duplicated payment.