add midtrans content
This commit is contained in:
7
contents/docs/plugins/tutor-midtrans/index.mdx
Normal file
7
contents/docs/plugins/tutor-midtrans/index.mdx
Normal file
@@ -0,0 +1,7 @@
|
||||
---
|
||||
title: Tutor Addon - Midtrans
|
||||
description: Panduan penggunaan plugin Tutor Addon Midtrans
|
||||
date: 24-07-2025
|
||||
---
|
||||
|
||||
<Outlet path="plugins/tutor-midtrans" />
|
||||
@@ -0,0 +1,26 @@
|
||||
---
|
||||
title : Mendaftar Akun Midtrans
|
||||
description : Anda harus mendaftar akun pada layanan Midtrans.
|
||||
date : 24-07-2025
|
||||
---
|
||||
|
||||
<Note type="note" title="Note">
|
||||
Jika kamu belum memiliki akun Midtrans silahkan mendaftar akun terlebih dahulu melalui url [https://dashboard.midtrans.com/register](https://dashboard.midtrans.com/register)
|
||||
</Note>
|
||||
|
||||
## Midtrans
|
||||
|
||||
<Stepper>
|
||||
<StepperItem title="Step 1: Mengisi Formulir">
|
||||
Mengisi formulir pendaftaran pada halaman register Midtrans.
|
||||
</StepperItem>
|
||||
<StepperItem title="Step 2: Email & Nomor Telpon">
|
||||
Menggunakan email dan nomor telpon bisnis.
|
||||
</StepperItem>
|
||||
<StepperItem title="Step 3: Klik Register">
|
||||
Klik tombol `Register`.
|
||||
</StepperItem>
|
||||
<StepperItem title="Step 4: Aktivasi Email">
|
||||
Aktivasi email dengan mengklik link yang terkirim ke email yang telah didaftarkan.
|
||||
</StepperItem>
|
||||
</Stepper>
|
||||
53
contents/docs/plugins/tutor-midtrans/sandbox/index.mdx
Normal file
53
contents/docs/plugins/tutor-midtrans/sandbox/index.mdx
Normal file
@@ -0,0 +1,53 @@
|
||||
---
|
||||
title : Sandbox
|
||||
description : Test sandbox API untuk development Midtrans.
|
||||
date : 24-07-2025
|
||||
---
|
||||
|
||||
<Note type="note" title="Note">
|
||||
Install plugin Addon Tutor - Midtrans terlebih dahulu dan aktivasi lisensi dengan mengikuti panduan [instalasi plugin](/docs/getting-started/installation).
|
||||
</Note>
|
||||
|
||||
## Plugin Settings
|
||||
<Stepper>
|
||||
<StepperItem title="Step 1: Aktifkan Plugin">
|
||||
Pada halaman dashboard wp-admin navigasi ke menu `Plugins` --> `Installed Plugins` --> `Activate` Addon Tutor - Midtrans.
|
||||
</StepperItem>
|
||||
<StepperItem title="Step 2: New Gateway">
|
||||
Pada halaman dashboard wp-admin navigasi ke menu `Tutor LMS` --> `Settings` --> `Payment Methods`
|
||||
<Note type="note" title="Note">
|
||||
Plugin **Midtrans** akan muncul jika kamu telah menginstal plugin Addon Tutor - Midtrans dan ketika plugin telah diaktifkan.
|
||||
</Note>
|
||||
</StepperItem>
|
||||
<StepperItem title="Step 3: Environment">
|
||||
Pilih environment `sandbox` & Merchant ID, Client Key, Server Key di isi dengan data yang kamu dapatkan dari dashboard Midtrans. Kemudian copy `Webhook URL` yang akan digunakan sebagai URL endpoint pada menu Integrations di dashboard Midtrans.
|
||||
</StepperItem>
|
||||
</Stepper>
|
||||
|
||||
## Midtrans Settings
|
||||
<Stepper>
|
||||
<StepperItem title="Step 1: Dashboard Midtrans">
|
||||
Pada halaman dashboard Midtrans pilih opsi `sandbox` pada environment.
|
||||
</StepperItem>
|
||||
<StepperItem title="Step 2: Integrations">
|
||||
Navigasi ke menu `Integrations` --> `Configuration`
|
||||
</StepperItem>
|
||||
<StepperItem title="Step 3: Enpoint URL">
|
||||
Isi field `Endpoint URL` dengan URL callback yang anda dapatkan dari plugin Addon Tutor - Midtrans.
|
||||

|
||||
</StepperItem>
|
||||
<StepperItem title="Step 4: Salin Key">
|
||||
Salin `Client Key` , `Server Key` & `Merchant ID` yang akan digunakan pada plugin Addon Tutor - Midtrans.
|
||||

|
||||
<Note type="note" title="Note">
|
||||
ini dapat anda lihat juga pada menu `Settings` --> `Access Keys` .
|
||||
</Note>
|
||||
</StepperItem>
|
||||
<StepperItem title="Step 5: Save & Next">
|
||||
Klik tombol `Save & Next`.
|
||||
</StepperItem>
|
||||
<StepperItem title="Step 6: Finish Setup">
|
||||
Silahkan anda masuk ke halaman wp-admin navigasi ke menu `Tutor LMS` --> `Settings` --> `Payment Methods` . Pilih **Midtrans** kemudian isi data seperti Merchant ID, Client Key, Server Key, kemudian klik tombol `Save Changes` .
|
||||

|
||||
</StepperItem>
|
||||
</Stepper>
|
||||
@@ -68,6 +68,14 @@
|
||||
{ "title": "Daftar Akun", "href": "/mendaftar-akun-duitku" },
|
||||
{ "title": "Sandbox", "href": "/sandbox" }
|
||||
]
|
||||
},
|
||||
{
|
||||
"title": "Tutor - Midtrans",
|
||||
"href": "/tutor-midtrans",
|
||||
"items": [
|
||||
{ "title": "Daftar Akun", "href": "/mendaftar-akun-midtrans" },
|
||||
{ "title": "Sandbox", "href": "/sandbox" }
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
BIN
public/images/midtrans-endpoint.png
Normal file
BIN
public/images/midtrans-endpoint.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 70 KiB |
BIN
public/images/midtrans-finish-sandbox.png
Normal file
BIN
public/images/midtrans-finish-sandbox.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 84 KiB |
BIN
public/images/midtrans-key-sandbox.png
Normal file
BIN
public/images/midtrans-key-sandbox.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 9.7 KiB |
Reference in New Issue
Block a user