Installation

Install and configure glaezz/okeconnect-php

Setup

Integration Overview

Required Credential

there's important setup Credential
Variabletypedefault
merchantIdstring-
merchantPinstring-
accountPasswordstring-
serverUrlstring"https://h2h.okeconnect.com"
You can find merchant id / user id and account password on here. You need to set your merchant pin on here, there are 2 option for server url "https://h2h.okeconnect.com" and "https://b2b.okeconnect.com".

IP Whitelist

If you want to make transaction, you need to whitelist your IP server where your program running. you can whitelist up to 3 IP on here. Don't know what your IP?, you can test with get balance to know your IP.

Callback

Every time you make a transaction, the okeconnect server will inform you whether the transaction was successful or failed. To receive the information you need to make endpoint, how it's work. You can make callback endpoint with callback handler. That function has two-factor verification to prevent fake callbacks