- To provide a way of generating jenga api
access_token
after a give period e.g every 15 minutes - To provide a fluent way of generating jenga api key pair of
private key
andpublic key
- To automate generation of jenga api
Bearer Token
- Offer a seamless gateway to interacting with Jenga API
Info Ready to get started? I have prepared a playground which you can clone and get started. It will help you test your crendentials while showinf you how to integrate this package with your laravel application.
Version | Supported Laravel |
---|---|
1.x | 9.x, 10.x, 11.x |
2.x | 11.x, 12.x |
Use the Composer package manager to install this package into your Laravel project
composer require njoguamos/laravel-jenga
This package assumes that you have a JengaHQ account, and that you have Api Key
, Merchant Code
and Consumer Secret
(from Jenga)(https://developer.jengaapi.io/docs/developer-quickstart).
Copy the respective keys and place them in the .env
as show in the example below.
JENGA_LIVE_MODE=false
JENGA_MERCHANT_CODE=
JENGA_API_KEY=
JENGA_CONSUMER_SECRET=
# Optional
JENGA_DEFAULT_ACC=
JENGA_DEFAULT_WALLET=
JENGA_COUNTRY_CODE=
Note For
JENGA_LIVE_MODE
usefalse
when testing andtrue
when running live transactions