Skip to content
This repository has been archived by the owner on Aug 28, 2023. It is now read-only.

Latest commit

 

History

History
35 lines (25 loc) · 1.29 KB

README.md

File metadata and controls

35 lines (25 loc) · 1.29 KB

DatatransHelper

GitHub license Build Status Hex.pm Version InchCI Coverage Status

Small Helper Library to sign / validate Datatrans requests.

Installation

The package can be installed by adding datatrans_helper to your list of dependencies in mix.exs:

def deps do
  [{:datatrans_helper, "~> 0.2.0"}]
end

Configuration

config :datatrans_helper,
  merchant_id: "Some ID",
  sign1_hmac_key: "Some Key",
  sign2_hmac_key: "Some Key"

Datatrans Configuration

Documentation

The docs can be found at https://hexdocs.pm/datatrans_helper.