> For the complete documentation index, see [llms.txt](https://docs.kuasa.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.kuasa.io/kuasa-sales/payment-gateway/stripe.md).

# Stripe

### Dapatkan Secret Key & Publishable Key

Untuk menghubungkan Stripe dengan Kuasa, anda memerlukan beberapa key untuk proses pengesahan. Antara key yang diperlukan ialah **Publishable Key** dan juga **Secret Key.** Untuk memulakan proses penetapan payment gateway Stripe anda boleh ikut tutorial ini :

1. Layari[ ](https://stripe.com/en-my)[**https://stripe.com/en-my**](https://stripe.com/en-my) jika anda belum daftarkan akaun Stripe, atau terus login jika sudah daftar. Dan klik button **Start Now.**

![](https://3115216045-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FjUshnokTPXfX7lwwLXnA%2Fuploads%2FzNEIMqH6JVyALIUNPvht%2FSales%20pg%20stripe%201.png?alt=media\&token=e42d0657-b68d-466e-8668-c355d8ae7cba)

2\. Login masuk ke dalam dashboard Stripe, Kemudian pada bahagian atas kanan, Klik button **Developer**.

![](https://3115216045-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FjUshnokTPXfX7lwwLXnA%2Fuploads%2FLtC7mFoHXyXCzGztVQY5%2FSales%20pg%20stripe%202.png?alt=media\&token=8efb2a15-f919-45f1-9fcf-65753810c9f7)

3\. Klik bahagian kanan sidebar **API Keys**.

![](https://3115216045-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FjUshnokTPXfX7lwwLXnA%2Fuploads%2F6xOSXlSYPS3MAKvrXGys%2FSales%20pg%20stripe%203.png?alt=media\&token=b0ec2778-e5a6-40c4-b8c4-6d23af7ad917)

4\. Pada bahagian column "API Keys" ini, anda akan diberikan 2 Jenis key, iaitu\
**Publishable Key** dan juga **Secret Key.**

![](https://3115216045-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FjUshnokTPXfX7lwwLXnA%2Fuploads%2FjQIzcGVaNLVJs2ImPnMn%2FSales%20pg%20stripe%204.png?alt=media\&token=4145c92f-a5a8-4398-ab1f-dda028f47fa8)

5\. Anda perlu simpan kedua-dua key tersebut untuk kegunaan di langkah seterusnya. Key yang anda perlu simpan ialah :

* Publishable key
* Secret key

### Setup di Kuasa

1. Login ke akaun anda melalui [**https://sales.kuasa.io/**](https://sales.kuasa.io/).
2. Klik **Settings**.

![](https://3115216045-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FjUshnokTPXfX7lwwLXnA%2Fuploads%2F0AZxW1fy6OAVtEaOOwjO%2FSales%20pg%20stripe%205.png?alt=media\&token=1b12fd60-928c-4319-a06c-d0d65e7b0e42)

3\. Klik **Payment Gateway**.

![](https://3115216045-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FjUshnokTPXfX7lwwLXnA%2Fuploads%2Fb2wXqwOeDzc8NQOToxst%2FSales%20pg%20stripe%206.png?alt=media\&token=14f19d6d-35ad-4bee-9712-13ecaa591e97)

4\. Isikan Publishable Key dan Secret Payment daripada Stripe, dan pastikan button toggle telah <mark style="color:green;">**ON**</mark>. Klik **Update** untuk simpan perubahan.

![](https://3115216045-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FjUshnokTPXfX7lwwLXnA%2Fuploads%2FhTNetcnZhbmsQUg5S8wQ%2FSales%20pg%20stripe%207.png?alt=media\&token=7bbac03e-ddd3-4d5a-bbfd-bc55e9c8d952)
