{"id":70,"date":"2025-05-20T04:17:44","date_gmt":"2025-05-20T04:17:44","guid":{"rendered":"https:\/\/documentation.iqonic.design\/frezka\/?p=70"},"modified":"2025-06-10T06:05:54","modified_gmt":"2025-06-10T06:05:54","slug":"midtrans-payment","status":"publish","type":"post","link":"https:\/\/documentation.iqonic.design\/frezka\/midtrans-payment\/","title":{"rendered":"Midtrans Payment"},"content":{"rendered":"<div class=\"nolwrap\">\n<pre class=\"wp-block-preformatted\">Estimated reading: 1 minutes<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Sign up For Midtrans<\/strong><\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>If you don&#8217;t have Midtrans Account you can register from here&nbsp;<a href=\"https:\/\/dashboard.midtrans.com\/register\" target=\"_blank\" rel=\"noreferrer noopener\">Sign up<\/a><\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Obtain Midtrans API Keys<\/strong><\/h2>\n\n\n\n<p>Follow the steps below to obtain your Midtrans API keys:<\/p>\n\n\n\n<p>1. Visit the&nbsp;<a href=\"https:\/\/dashboard.sandbox.midtrans.com\/login\" target=\"_blank\" rel=\"noreferrer noopener\">Midtrans<\/a>.<\/p>\n\n\n\n<p>2. Click on the&nbsp;<strong>Login<\/strong>&nbsp;option.<\/p>\n\n\n\n<p>3. Enter your email address and password.<\/p>\n\n\n\n<p>4. Click on&nbsp;<strong>Log me in<\/strong>.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1717\" height=\"1024\" src=\"https:\/\/documentation.iqonic.design\/frezka\/wp-content\/uploads\/sites\/13\/2025\/05\/Midtrans_Payment1.png\" alt=\"\" class=\"wp-image-626\" \/><\/figure>\n\n\n\n<p>Upon successful login, you will be directed to your Dashboard.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Completing Account Information<\/strong><\/h2>\n\n\n\n<p>1. Navigate to&nbsp;<strong>Settings &gt; General Settings<\/strong>.<\/p>\n\n\n\n<p>2. Complete the required information.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Note:\n<ul class=\"wp-block-list\">\n<li>Merchant Name cannot contain any symbols.<\/li>\n\n\n\n<li>Merchant URL should be less than 25 characters.<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1260\" height=\"819\" src=\"https:\/\/documentation.iqonic.design\/frezka\/wp-content\/uploads\/sites\/13\/2025\/05\/Midtrans_Payment2.png\" alt=\"\" class=\"wp-image-627\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Retrieving API Access Keys<\/strong><\/h2>\n\n\n\n<p>1. Log in to your MAP account.<\/p>\n\n\n\n<p>2. On the Dashboard, go to&nbsp;<strong>Settings &gt; Access Keys<\/strong>.<\/p>\n\n\n\n<p>3. Here you will find your:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Client Key<\/strong>: Used for frontend API requests.<\/li>\n\n\n\n<li><strong>Server Key<\/strong>: Used for backend API requests. Keep it confidential.<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"2472\" height=\"1278\" src=\"https:\/\/documentation.iqonic.design\/frezka\/wp-content\/uploads\/sites\/13\/2025\/05\/Midtrans_Payment3.png\" alt=\"\" class=\"wp-image-628\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Switching Environment<\/strong><\/h2>\n\n\n\n<p>You can switch between environments from the top left Environment drop-down on the dashboard.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Sandbox Environment<\/strong>: Use for development and testing. Transactions are not real.<\/li>\n\n\n\n<li><strong>Production Environment<\/strong>: Use when ready to accept real payments. Transaction fees may apply.<\/li>\n<\/ul>\n\n\n\n<p><strong>Note:<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>API keys differ between Production &amp; Sandbox environments.<\/li>\n\n\n\n<li>Transaction data and configurations are separated between environments.<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Add API Key to Admin Panel<\/strong><\/h2>\n\n\n\n<p>Now you&#8217;ve successfully generated keys please navigate to Admin Panel and follow the steps mentioned below<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Navigate to&nbsp;<strong>Settings \u2192 Payment Method<\/strong>.<\/li>\n\n\n\n<li>Enable the switch for&nbsp;<strong>Midtrans<\/strong>&nbsp;Payment.<\/li>\n\n\n\n<li>Chose mode of the key.<\/li>\n\n\n\n<li>Paste&nbsp;<strong>Client Key<\/strong>&nbsp;under&nbsp;<em>Site Id<\/em>&nbsp;field.<\/li>\n\n\n\n<li>Submit the changes.<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1559\" height=\"739\" src=\"https:\/\/documentation.iqonic.design\/frezka\/wp-content\/uploads\/sites\/13\/2025\/05\/Midtrans_Payment4.png\" alt=\"\" class=\"wp-image-629\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Remove Midtrans Payment<\/strong><\/h2>\n\n\n\n<p>Two ways to remove Midtrans payment gateway<\/p>\n\n\n\n<p><strong>1. Permanent removal from code<\/strong><\/p>\n\n\n\n<p>1. Open your pubspec.yaml file.<\/p>\n\n\n\n<p>2. Locate the following lines and remove them:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">  midpay:<br>    git:<br>        url: https:\/\/github.com\/iqonic-design\/midpay.git<br>        ref: main<\/pre>\n\n\n\n<p>3. Save the file and run the following command to update your project:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">flutter pub get<\/pre>\n\n\n\n<p>4. Remove any code related to Midtrans in your project to ensure no references remain.<\/p>\n\n\n\n<p><strong>NOTE<\/strong><\/p>\n\n\n\n<p>If you have remove dependency from pubspec.yaml then hit the pub get command. now, remove the code related to&nbsp;<strong>midpay<\/strong>.<\/p>\n\n\n\n<p><strong>2. Temporary disablement (recommended for temporary use cases)<a href=\"https:\/\/apps.iqonic.design\/documentation\/frezka-doc\/build\/docs\/payment-gateway\/midtrans-payment#2-temporary-disablement-recommended-for-temporary-use-cases\" target=\"_blank\" rel=\"noopener\">\u200b<\/a><\/strong><\/p>\n\n\n\n<p>1. Open the Admin Panel of your application.<\/p>\n\n\n\n<p>2. Navigate to: Settings \u2192 Payment Method.<\/p>\n\n\n\n<p>3. Locate the midpay option and turn off the toggle to disable it temporarily.<\/p>\n\n\n\n<p><\/p>\n<\/div>","protected":false},"excerpt":{"rendered":"<p>Estimated reading: 1 minutes Sign up For Midtrans Obtain Midtrans API Keys Follow the steps below to obtain your Midtrans API keys: 1. Visit the&nbsp;Midtrans. 2. Click on the&nbsp;Login&nbsp;option. 3. Enter your email address and password. 4. Click on&nbsp;Log me in. Upon successful login, you will be directed to your Dashboard. Completing Account Information 1. [&hellip;]<\/p>\n","protected":false},"author":11,"featured_media":0,"parent":30,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-70","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"featured_image_src":null,"author_info":{"display_name":"laraveladminiq","author_link":"https:\/\/documentation.iqonic.design\/frezka\/author\/laraveladminiq\/"},"children":[],"_links":{"self":[{"href":"https:\/\/documentation.iqonic.design\/frezka\/wp-json\/wp\/v2\/posts\/70","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/documentation.iqonic.design\/frezka\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/documentation.iqonic.design\/frezka\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/documentation.iqonic.design\/frezka\/wp-json\/wp\/v2\/users\/11"}],"replies":[{"embeddable":true,"href":"https:\/\/documentation.iqonic.design\/frezka\/wp-json\/wp\/v2\/comments?post=70"}],"version-history":[{"count":5,"href":"https:\/\/documentation.iqonic.design\/frezka\/wp-json\/wp\/v2\/posts\/70\/revisions"}],"predecessor-version":[{"id":1009,"href":"https:\/\/documentation.iqonic.design\/frezka\/wp-json\/wp\/v2\/posts\/70\/revisions\/1009"}],"up":[{"embeddable":true,"href":"https:\/\/documentation.iqonic.design\/frezka\/wp-json\/wp\/v2\/posts\/30"}],"wp:attachment":[{"href":"https:\/\/documentation.iqonic.design\/frezka\/wp-json\/wp\/v2\/media?parent=70"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/documentation.iqonic.design\/frezka\/wp-json\/wp\/v2\/categories?post=70"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/documentation.iqonic.design\/frezka\/wp-json\/wp\/v2\/tags?post=70"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}