Skip to content
This repository has been archived by the owner on Sep 21, 2022. It is now read-only.

quadpay/sha-hash-generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sha-hash-generator

This is a c# dotnet core command line application to demonstrate how to programmatically generate the HMAC-SHA256 one-way hash signature for custom QuadPay gateway integrations. It can be used as a model for translating into other languages.

See Signing Requests in the QP docs.

Requirements

Requires dotnet core runtime or SDK to run. Works on Windows, macOS and Linux.

Download here

Usage

You will need a json request body saved in a file, with the path to the file as the first argument, and the client secret as the second argument.

$ dotnet run ./ExampleBody.json merchant_client_secret
tr4Ki42bm1Hc8JWtqQ1ZNsVvBR5AJY704cBbr0oFiuE=

Which can then be used in the custom gateway API.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages