Skip to content

Commit b3ac853

Browse files
authored
Merge pull request #20 from codenomdev/main
Update README.md
2 parents 61c7746 + f3de894 commit b3ac853

1 file changed

Lines changed: 21 additions & 1 deletion

File tree

README.md

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ The following plugin is tested under following environment:
2626
After installation Module, please follow instruction:
2727
* Publish via CLI: ``` php spark codenom:midtrans publish ``` .
2828
* After publish, check file Midtrans.php on **App/Config/Midtrans.php**.
29-
* Setup Merchant Key, Client Key and set Production ```public $isProduction = **TRUE** (Production) or **FALSE** (Sandbox) ``` on Midtrans.php.
29+
* Setup Merchant Key, ID Merchant, Client Key and set Production ```public $isProduction = TRUE (Production) or FALSE (Sandbox) ``` on Midtrans.php.
3030

3131
#### For more setup Merchant Key & Client Key [Retrieve API Access Key](https://docs.midtrans.com/en/midtrans-account/overview?id=retrieving-api-access-keys).
3232

@@ -47,6 +47,16 @@ $services = new Config\Services::Midtrans();
4747
$services = new services('Midtrans');
4848
```
4949

50+
### Available Function
51+
* Get Snap Token
52+
```php
53+
/**
54+
* @param array $placeOrder
55+
* @return object response CURL
56+
*/
57+
$services->getSnapToken(array $placeOrder = []);
58+
```
59+
5060
## Use Veritrans
5161
```php
5262
//load services Veritrans
@@ -61,6 +71,16 @@ $services = new services('Veritrans');
6171
```
6272

6373
### Available Function
74+
* Get Status transaction
75+
```php
76+
/**
77+
* @param string $id
78+
*
79+
* @return object response CURL
80+
*/
81+
$services->getStatus($id);
82+
```
83+
6484
* Appove challenge transaction
6585
```php
6686
/**

0 commit comments

Comments
 (0)