payfort

package module
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jun 25, 2026 License: MIT Imports: 16 Imported by: 0

README

togo

togo-framework/payment-payfort

Part of the togo framework. · Marketplace

Install

togo install togo-framework/payment-payfort

payment-payfort

PayFort driver for togo payment.

togo install togo-framework/payment
togo install togo-framework/payment-payfort
PAYMENT_DRIVER=payfort
PAYFORT_ACCESS_CODE=...

Registers on the togo payment.PaymentProvider interface and is selected via

MIT


Documentation

Overview

Package payfort is an Amazon PayFort / Amazon Payment Services driver for togo payment. Blank-import it and set PAYMENT_DRIVER=payfort, PAYFORT_ACCESS_CODE, PAYFORT_MERCHANT_IDENTIFIER, PAYFORT_SHA_REQUEST, PAYFORT_SHA_RESPONSE (+ optional PAYFORT_LANGUAGE, PAYFORT_SANDBOX=1). Implements the signed PURCHASE (CreateCharge with a token_name), REFUND and webhook verification. See https://paymentservices-reference.payfort.com/docs/api/build/index.html.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Signature

func Signature(phrase string, params map[string]string) string

Signature computes the PayFort SHA-256 signature: sorted key=value pairs concatenated with no separator, wrapped in the SHA phrase.

Types

This section is empty.

Jump to

Keyboard shortcuts

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