-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Merchant Cannot Do Integration-401] Add section how switch to production mode #87
base: master
Are you sure you want to change the base?
Changes from 12 commits
db8f078
6e7aa6c
68dfd43
28ab7c1
a53f7c9
0915570
64d1373
9b79d7d
7467881
19a8400
8f90db1
2272f9f
00af539
6552142
8415198
22c5d88
88759e8
9b867d5
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -518,10 +518,17 @@ The sample HTTP notification request received at merchant backend for *Direct De | |
#### [HTTP(S) Notification/Webhooks](/en/after-payment/http-notification.md) | ||
</div> | ||
|
||
## Switching to Production Environment | ||
Follow the steps given below to switch to Midtrans *Production* environment and to accept real payments from real customers. | ||
1. Change API domain URL from `api.sandbox.midtrans.com` to `api.midtrans.com`. | ||
2. Use *Client Key* and *Server Key* for *Production* environment. For more details, refer to [Retrieving API Access Keys](/en/midtrans-account/overview.md#retrieving-api-access-keys). | ||
### 5. Switching to Production Mode | ||
In this section, you will learn how switching from Sandbox environment to Production environment, in order to start accepting real world payment for your business. This is also known as "Going Live". | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
bad grammar. Have you use any tool to check grammar? use tool, at least jsut paste to a google docs, it will auto detect grammar mistakes. OR just use the original wording:
|
||
|
||
<br> | ||
|
||
<div class="my-card"> | ||
|
||
#### [Going Live](/en/technical-reference/going-live.md) | ||
Best practices to build a production-ready | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
hmm the wording doesn't quite make sense. try something else There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. How about
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Let's use the page description as reference:
Simplified to:
|
||
|
||
</div> | ||
|
||
## Note & Limitation | ||
|
||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,30 +3,37 @@ | |
|
||
This document is designed to assist you in switching from *Sandbox* environment to *Production* environment, in order to start accepting real world payment for your business. This is also known as "Going Live". | ||
|
||
?>Make sure you have already completed the test payment using our [Payment Simulator](/en/technical-reference/sandbox-test.md) in the Sandbox environment to ensure that your implementation is working fine. | ||
|
||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. better:
|
||
## 1. Login to Your Midtrans Production Environment Dashboard | ||
## 1. Checking Your Production Account | ||
To make sure your payment channels on Production account is already active, follow the steps given below. | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Is an internal wording. to talk with external audience we use There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. better wording:
|
||
|
||
To login to your Midtrans *Production* environment, follow the steps given below. | ||
1. Login to your Midtrans Administrative Portal using *Production* environment at https://dashboard.midtrans.com/login. | ||
|
||
1. Login to your account at https://account.midtrans.com. | ||
- refer to [Access Midtrans Administration Portal](/en/midtrans-account/overview.md#accessing-midtrans-administration-portal) for more details. | ||
2. Select **Production** Environment from top-left environment switcher dropdown. | ||
- refer to [Switching Environment](/en/midtrans-account/overview.md#switching-environment) for more details. | ||
2. To make sure your payment channels on Production account is active. | ||
- Go to menu **PAYMENT METHODS** from the dashboard page | ||
- *Active Payment Methods* page is displayed. | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Is all merchants confirmed to have access to this page? AFAIK based on pilar issues, some manually onboarded merchant etc was unable to access this page.
|
||
- Then you can find a list of active payment methods ready in a production environment | ||
|
||
## 2. Checking Your Production Account | ||
![Active Payment Method](./../../asset/image/active-payment-methods.png) | ||
<br> | ||
|
||
?>refer to [Access Midtrans Administration Portal](/en/midtrans-account/overview.md#accessing-midtrans-administration-portal) for more details. | ||
|
||
## 2. Retrieving Production Server Key and Client Key | ||
To switch from Sandbox to Production environment, Client Key and Server Key production are required. | ||
|
||
To get access to the Client Key and Server Key, follow the steps given below. | ||
|
||
To make sure your production account is active, follow the steps given below. | ||
1. Login to your MAP account. | ||
|
||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I personally prefer to avoid using |
||
1. On the home page, go to **SETTINGS > SNAP PREFERENCES**. | ||
- *SNAP Preferences* page is displayed. | ||
2. Select **Payment Channels** tab. | ||
- A list of active payment methods is displayed. | ||
2. On the *Dashboard*, go to **Settings > Access Keys**. | ||
|
||
## 3. Retrieving Server Key and Client Key | ||
*Access Keys* page is displayed. | ||
|
||
Go to **SETTINGS > ACCESS KEYS**. Server Key and Client Key for *Production* environment and *Sandbox* environment are different. For more information, refer to [Retrieving API access keys](/en/midtrans-account/overview.md#retrieving-api-access-keys). | ||
![Production Access Key](./../../asset/image/production-access-key.png) | ||
|
||
## 4. Configuring the Integration | ||
## 3. Configuring the Integration | ||
|
||
Please select which one of integration method you are using: | ||
|
||
|
@@ -37,7 +44,7 @@ If you are using Language Libraries provided by Midtrans (Midtrans PHP, Midtrans | |
#### On Backend | ||
|
||
1. Replace `isProduction` variable on Backend with value `true`. | ||
2. Replace `ServerKey` variable value on the Backend with the *Server Key* retrieved from [Step 3 above](#_3-retrieving-server-key-and-client-key). | ||
2. Replace `ServerKey` variable value on the Backend with the *Server Key* retrieved from [Step 2 above](#_2-retrieving-production-server-key-and-client-key). | ||
|
||
#### On Frontend | ||
<details open> | ||
|
@@ -80,7 +87,7 @@ If you are directly integrating by direct API call/request: | |
#### On Backend | ||
1. Replace API domain destination to Production API on Backend by removing `.sandbox` from the domain. | ||
- For example, change the API domain from `app.sandbox.midtrans.com/` to `app.midtrans.com/`. | ||
2. Replace the `ServerKey` variable value used for API auth on the Backend with the *Server Key* retrieved from [Step 3 above](#_3-retrieving-server-key-and-client-key). | ||
2. Replace the `ServerKey` variable value used for API auth on the Backend with the *Server Key* retrieved from [Step 2 above](#_2-retrieving-production-server-key-and-client-key). | ||
|
||
#### On Frontend | ||
<details open> | ||
|
@@ -124,8 +131,8 @@ Find where you include midtrans-new-3ds.min.js script tag: | |
3. Go to **Settings > Payment**. | ||
4. Select **Production** from Environment drop-down list. | ||
5. Enter the **Merchant Key**. | ||
6. Enter **Client Key** with the *Client Key* retrieved from [Step 3 above](#_3-retrieving-server-key-and-client-key). | ||
7. Enter **Server Key** with the *Server Key* retrieved from [Step 3 above](#_3-retrieving-server-key-and-client-key). | ||
6. Enter **Client Key** with the *Client Key* retrieved from [Step 2 above](#_2-retrieving-production-server-key-and-client-key). | ||
7. Enter **Server Key** with the *Server Key* retrieved from [Step 2 above](#_2-retrieving-production-server-key-and-client-key). | ||
|
||
Your website is now integrated with Midtrans. For more information, refer to [Configuring WooCommerce Plugin Notification](/en/snap/with-plugins.md). | ||
|
||
|
@@ -137,8 +144,8 @@ Your website is now integrated with Midtrans. For more information, refer to [Co | |
4. Select **Production** from Environment drop-down list. | ||
5. Enter **Sandbox Client Key**. | ||
6. Enter **Sandbox Server Key.** | ||
7. Enter **Production Server Key** with the *Server Key* retrieved from [Step 3 above](#_3-retrieving-server-key-and-client-key). | ||
8. Enter **Production Client Key** with the *Client Key* retrieved from [Step 3 above](#_3-retrieving-server-key-and-client-key). | ||
7. Enter **Production Server Key** with the *Server Key* retrieved from [Step 2 above](#_2-retrieving-production-server-key-and-client-key). | ||
8. Enter **Production Client Key** with the *Client Key* retrieved from [Step 2 above](#_2-retrieving-production-server-key-and-client-key). | ||
|
||
Your website is now integrated with Midtrans. For more information, refer to [Configuring Magento CMS Notification](/en/snap/with-plugins.md). | ||
|
||
|
@@ -148,8 +155,8 @@ Your website is now integrated with Midtrans. For more information, refer to [Co | |
2. Go to the Midtrans plugin configuration page. | ||
3. Select **Production** from Environment drop-down list. | ||
4. Enter the **Merchant ID**. | ||
5. Enter **Client Key** with the *Client Key* retrieved from [Step 3 above](#_3-retrieving-server-key-and-client-key). | ||
6. Enter **Server Key** with the *Server Key* retrieved from [Step 3 above](#_3-retrieving-server-key-and-client-key). | ||
5. Enter **Client Key** with the *Client Key* retrieved from [Step 2 above](#_2-retrieving-production-server-key-and-client-key). | ||
6. Enter **Server Key** with the *Server Key* retrieved from [Step 2 above](#_2-retrieving-production-server-key-and-client-key). | ||
|
||
Your website is now integrated with Midtrans. For more information, refer to [Configuring PrestaShop CMS Notification](/en/snap/with-plugins.md). | ||
|
||
|
@@ -159,8 +166,8 @@ Your website is now integrated with Midtrans. For more information, refer to [Co | |
2. Go to the Midtrans plugin configuration page. | ||
3. Enter the **Merchant Id**. | ||
4. Select **Production** from Environment drop-down list. | ||
5. Enter **Client Key** with the *Client Key* retrieved from [Step 3 above](#_3-retrieving-server-key-and-client-key). | ||
6. Enter **Server Key** with the *Server Key* retrieved from [Step 3 above](#_3-retrieving-server-key-and-client-key). | ||
5. Enter **Client Key** with the *Client Key* retrieved from [Step 2 above](#_2-retrieving-production-server-key-and-client-key). | ||
6. Enter **Server Key** with the *Server Key* retrieved from [Step 2 above](#_2-retrieving-production-server-key-and-client-key). | ||
|
||
Your website is now integrated with Midtrans. For more information, refer to [Configuring OpenCart CMS Notification](/en/snap/with-plugins.md). | ||
|
||
|
@@ -170,8 +177,8 @@ Your website is now integrated with Midtrans. For more information, refer to [Co | |
2. Go to the Midtrans plugin configuration page. | ||
3. Go to **Settings > Payment Gateway > General**. | ||
4. Enter the **Merchant ID**. | ||
5. Enter **Production Server Key** with the *Server Key* retrieved from [Step 3 above](#_3-retrieving-server-key-and-client-key). | ||
6. Enter **Production Client Key** with the *Client Key* retrieved from [Step 3 above](#_3-retrieving-server-key-and-client-key). | ||
5. Enter **Production Server Key** with the *Server Key* retrieved from [Step 2 above](#_2-retrieving-production-server-key-and-client-key). | ||
6. Enter **Production Client Key** with the *Client Key* retrieved from [Step 2 above](#_2-retrieving-production-server-key-and-client-key). | ||
7. Enter **Sandbox Server Key.** | ||
8. Enter **Sandbox Client Key**. | ||
|
||
|
@@ -181,8 +188,8 @@ Your website is now integrated with Midtrans. For more information, refer to [Co | |
|
||
1. Login to your website as an administrator. | ||
2. Go to the Midtrans plugin configuration page. | ||
3. Enter **Midtrans Client Key** with the *Client Key* retrieved from [Step 3 above](#_3-retrieving-server-key-and-client-key). | ||
4. Enter **Midtrans Server Key** with the *Server Key* retrieved from [Step 3 above](#_3-retrieving-server-key-and-client-key). | ||
3. Enter **Midtrans Client Key** with the *Client Key* retrieved from [Step 2 above](#_2-retrieving-production-server-key-and-client-key). | ||
4. Enter **Midtrans Server Key** with the *Server Key* retrieved from [Step 2 above](#_2-retrieving-production-server-key-and-client-key). | ||
5. Select **Production Mode** checkbox. | ||
6. Click **Save Changes**. | ||
|
||
|
@@ -195,8 +202,8 @@ Your website is now integrated with Midtrans. For more information, refer to [Co | |
3. Enter **name** this text appears on the button displayed to the customer. | ||
4. Click **Midtrans** *Plugin* option button. | ||
5. Click **Production** *Mode* option button. | ||
6. Enter **Server key** with the *Server Key* retrieved from [Step 3 above](#_3-retrieving-server-key-and-client-key). | ||
7. Enter **Client key** with the *Client Key* retrieved from [Step 3 above](#_3-retrieving-server-key-and-client-key). | ||
6. Enter **Server key** with the *Server Key* retrieved from [Step 2 above](#_2-retrieving-production-server-key-and-client-key). | ||
7. Enter **Client key** with the *Client Key* retrieved from [Step 2 above](#_2-retrieving-production-server-key-and-client-key). | ||
8. Click **Save**. | ||
|
||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Also please replace contact email on bottom of this page with Contact Us web page URL |
||
Your website is now integrated with Midtrans. For more information, refer to [Configuring Drupal CMS Notification](/en/snap/with-plugins.md#drupal-plugin-notification-configuration). | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why change heading structure from
##
to### 5.
? IMO it shouldn't be part of integration step's sub heading, as it would seems that the integration steps is now longer.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the feedback Da. I get the details from Yana, about the merchant that facing 401. They claim they weren't found the information in the integration steps and that they should change the environment to production before going live. That's why I put the section going live, into integration steps. But I will let you decide what the best to choose ya.
Thank you
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
hmm I think make sense, please proceed with your approach for now 👌 we can re-evaluate sometimes later if we need to.