Skip to content

Commit

Permalink
Update Method Example
Browse files Browse the repository at this point in the history
  • Loading branch information
reactmore committed Sep 1, 2021
1 parent 1141ef2 commit 3a64765
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
22 changes: 11 additions & 11 deletions README.MD
Original file line number Diff line number Diff line change
Expand Up @@ -41,26 +41,26 @@ use Reactmore\Tripay\Main;

$data = new Main();

$init = $data->init()->getPayment();
$init = $data->init()->initMerchant();

// Payload Must Array
$payload = ['code' => 'BRIVA'];

echo '<pre>';
print_r($init->getInstructions($payload));
print_r($init->instructions()->get($payload));
echo '</pre>';
```

## To Do
## Method

| API | Status |
|---|---|
| `PAYMENT Method` | OK |
| `MERCHANT Method` | OK |
| `TRANSACTIONS CLOSE` | OK |
| `TRANSACTIONS OPEN` | Progress |
| `CALLBACK` | Progress |
| `PPOB` | Progress |
| API | Method | Endpoint | Status |
|---|---|---|---|
| `PAYMENT Method`| `initPayment()` | `instructions()` | OK |
| `MERCHANT Method`| `initMerchant()` | `paymentchannel()`, `calculator()`, `transactions` | OK |
| `TRANSACTIONS CLOSE`| `initTransactions()`| `transactions`, `detail` | OK |
| `TRANSACTIONS OPEN`| `initTransactionsOpen()` | | Progress |
| `CALLBACK`| `InitCallback()` | | Progress |
| `PPOB`| `InitPPOB()` | | Progress |

## For Handle Actions

Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"version": "1.5.0",
"type": "library",
"license": "MIT",
"minimum-stability": "dev",
"minimum-stability": "stable",
"autoload": {
"psr-4": {
"Reactmore\\Tripay\\": "app/"
Expand Down

0 comments on commit 3a64765

Please sign in to comment.