You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* 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.
30
30
31
31
#### For more setup Merchant Key & Client Key [Retrieve API Access Key](https://docs.midtrans.com/en/midtrans-account/overview?id=retrieving-api-access-keys).
32
32
@@ -47,6 +47,16 @@ $services = new Config\Services::Midtrans();
47
47
$services = new services('Midtrans');
48
48
```
49
49
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
+
50
60
## Use Veritrans
51
61
```php
52
62
//load services Veritrans
@@ -61,6 +71,16 @@ $services = new services('Veritrans');
0 commit comments