# BillDesk HMAC client

A PHP library for securely interacting with the BillDesk Payment Gateway using symmetric encryption (JOSE: JWE + JWS) and HMAC-SHA256.


## Requirements
- PHP 8.0 or later (tested with PHP 8.1.27)
- Composer

## How to run
1. Run `composer update`
2. Modify the code in tests/ directory to replace with your clientid, secret key and merchant id wherever applicable. 
3. Run tests by running `vendor/bin/phpunit tests -v`
