{"id":66,"date":"2025-07-02T06:43:58","date_gmt":"2025-07-02T06:43:58","guid":{"rendered":"https:\/\/documentation.iqonic.design\/kivicare-pharma\/?p=66"},"modified":"2025-10-15T10:37:50","modified_gmt":"2025-10-15T10:37:50","slug":"stripe-payment","status":"publish","type":"post","link":"https:\/\/documentation.iqonic.design\/kivicare-pharma\/stripe-payment\/","title":{"rendered":"Stripe Payment"},"content":{"rendered":"<div class=\"nolwrap\">\n<p><strong>\ud83d\udd52 Estimated Reading: <\/strong>2 minutes<strong><br>\ud83d\udcc2 <strong>Location<\/strong>: <\/strong>Payment Gateway \u2192 Stripe Payment Gateway<\/p>\n\n\n\n<p>&#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211;<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>What is this file for?<\/strong><\/h2>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"225\" height=\"225\" src=\"https:\/\/documentation.iqonic.design\/kivicare-pharma\/wp-content\/uploads\/sites\/16\/2025\/07\/Stripe-Payment.png\" alt=\"\" class=\"wp-image-336\" style=\"object-fit:cover;width:200px;height:100px\" \/><\/figure>\n\n\n\n<p>Welcome to the Stripe integration guide. In this document, you&#8217;ll learn how to <strong>sign up<\/strong>, <strong>obtain API keys<\/strong>, and <strong>integrate Stripe<\/strong> into your application via the Admin Panel.<\/p>\n\n\n\n<p id=\"block-88291e9d-e043-4c61-b217-ad23ef93cbf5\">&#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; <\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>What is Stripe?<\/strong><\/h2>\n\n\n\n<p>Stripe is a powerful online payment solution that enables internet businesses to accept payments securely. It supports <strong>credit cards, wallets, bank transfers<\/strong>, and much more. Stripe handles <strong>billions of dollars<\/strong> every year for companies across the globe.<\/p>\n\n\n\n<p>\ud83d\udcce <a href=\"https:\/\/stripe.com\/in\" target=\"_blank\" rel=\"noopener\">Click here for more details about Stripe<\/a><\/p>\n\n\n\n<p id=\"block-88291e9d-e043-4c61-b217-ad23ef93cbf5\">&#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; <\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Sign Up or Log In<\/strong><\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>If you already have a <strong>Stripe Developer Account<\/strong>, log in.<\/li>\n\n\n\n<li>If not, <strong>sign up<\/strong> and create a <a href=\"https:\/\/dashboard.stripe.com\/register?redirect=%2Ftest%2Fdashboard\" target=\"_blank\" rel=\"noopener\">new business account.<\/a><\/li>\n<\/ul>\n\n\n\n<p id=\"block-88291e9d-e043-4c61-b217-ad23ef93cbf5\">&#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; <\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>How to Get Your API Keys<\/strong><\/h2>\n\n\n\n<p>1. If your login is successful then you need to click on developer options. We\u2019ve included a screenshot below.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1528\" height=\"632\" src=\"https:\/\/documentation.iqonic.design\/kivicare-pharma\/wp-content\/uploads\/sites\/16\/2025\/07\/image-51.png\" alt=\"\" class=\"wp-image-414\" \/><\/figure>\n\n\n\n<p>2. Click on the API Keys Tab. We\u2019ve included a screenshot below.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1536\" height=\"476\" src=\"https:\/\/documentation.iqonic.design\/kivicare-pharma\/wp-content\/uploads\/sites\/16\/2025\/07\/image-52.png\" alt=\"\" class=\"wp-image-415\" \/><\/figure>\n\n\n\n<p>3. Here the publishable key and secret key will be generated. We\u2019ve included a screenshot below.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1545\" height=\"538\" src=\"https:\/\/documentation.iqonic.design\/kivicare-pharma\/wp-content\/uploads\/sites\/16\/2025\/07\/image-53.png\" alt=\"\" class=\"wp-image-416\" \/><\/figure>\n\n\n\n<p><strong>NOTE<\/strong><\/p>\n\n\n\n<p>Here if you can see a switch with label&nbsp;<strong>\u201cTest mode\u201d<\/strong>&nbsp;which is disable but it\u2019s default value is true. Which means the keys you generated are test keys. If you go through Account Activation then you\u2019ll be able to toggle the Test Mode.<\/p>\n\n\n\n<p>4. If you click Activate Account and complete the account activation then you can create live keys.<a href=\"https:\/\/documentation.iqonic.design\/kivicare-laravel\/wp-content\/uploads\/sites\/10\/2025\/04\/Stripe_Payment4.jpg\"><\/a><\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1561\" height=\"523\" src=\"https:\/\/documentation.iqonic.design\/kivicare-pharma\/wp-content\/uploads\/sites\/16\/2025\/07\/image-54.png\" alt=\"\" class=\"wp-image-417\" \/><\/figure>\n\n\n\n<p>5. Here the publishable key and secret key will be generated for live. We\u2019ve included a screenshot below.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"484\" src=\"https:\/\/documentation.iqonic.design\/kivicare-pharma\/wp-content\/uploads\/sites\/16\/2025\/07\/image-55.png\" alt=\"\" class=\"wp-image-418\" \/><\/figure>\n\n\n\n<p id=\"block-88291e9d-e043-4c61-b217-ad23ef93cbf5\">&#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; <\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Add the Keys to the Admin Panel<\/strong><\/h2>\n\n\n\n<p>Once your keys are generated, follow these steps:<\/p>\n\n\n\n<p>1. Open the <strong>Admin Panel<\/strong>.<\/p>\n\n\n\n<p>2. Go to <strong>Settings \u2192 Payment Method<\/strong>.<\/p>\n\n\n\n<p>3. Enable the <strong>Stripe Payment<\/strong> switch.<\/p>\n\n\n\n<p>4. Paste the <strong>Publishable Key<\/strong> and <strong>Secret Key<\/strong> into their respective fields.<\/p>\n\n\n\n<p>5. Click <strong>Submit<\/strong> to apply the changes.<\/p>\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\/kivicare-pharma\/wp-content\/uploads\/sites\/16\/2025\/07\/image-56.png\" alt=\"\" class=\"wp-image-419\" \/><\/figure>\n\n\n\n<p><a href=\"https:\/\/documentation.iqonic.design\/kivicare-laravel\/wp-content\/uploads\/sites\/10\/2025\/04\/Stripe_Payment6.png\"><\/a>\ud83c\udf89 Congratulations! Stripe Payment is now configured in your application.<\/p>\n\n\n\n<p id=\"block-88291e9d-e043-4c61-b217-ad23ef93cbf5\">&#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; <\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Test Stripe Integration<\/strong><\/h2>\n\n\n\n<p>Use the following <strong>test card details<\/strong> to simulate payments during development:<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>Card Number<\/th><th>Description<\/th><\/tr><\/thead><tbody><tr><td>4242 4242 4242 4242<\/td><td>Succeeds and immediately processes the payment.<\/td><\/tr><tr><td>4000 0025 0000 3155<\/td><td>Requires authentication. Stripe will trigger a modal asking for the customer to authenticate.<\/td><\/tr><tr><td>4000 0000 0000 9995<\/td><td>Always fails with a decline code of insufficient_funds.<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p>\ud83d\udd12 Use any <strong>CVC<\/strong>, <strong>postal code<\/strong>, and <strong>future expiration date<\/strong>.<br>\u26a0\ufe0f These cards only work in <strong>Test Mode<\/strong> and will fail in <strong>Live Mode<\/strong>.<\/p>\n<\/blockquote>\n\n\n\n<p id=\"block-88291e9d-e043-4c61-b217-ad23ef93cbf5\">&#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; <\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>How to Remove Stripe Payment<\/strong><\/h2>\n\n\n\n<p>If you want to remove Stripe from your app, follow the steps below:<\/p>\n\n\n\n<p>Step 1 \u2013 Remove from <strong>pubspec.yaml<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">flutter_stripe: LATEST_VERSION<\/pre>\n\n\n\n<p>Then run the following command:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">flutter pub get<\/pre>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p>\u26a0\ufe0f If you&#8217;re unsure about code dependencies, it\u2019s recommended to <strong>only remove from the Admin Panel<\/strong> instead of editing files manually.<\/p>\n<\/blockquote>\n\n\n\n<p id=\"block-88291e9d-e043-4c61-b217-ad23ef93cbf5\">&#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; <\/p>\n\n\n\n<p>\u2705 <strong>Done!<\/strong> You&#8217;ve successfully integrated or removed the Stripe Payment Gateway.<\/p>\n\n\n\n<p><\/p>\n<\/div>","protected":false},"excerpt":{"rendered":"<p>\ud83d\udd52 Estimated Reading: 2 minutes\ud83d\udcc2 Location: Payment Gateway \u2192 Stripe Payment Gateway &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; [&hellip;]<\/p>\n","protected":false},"author":11,"featured_media":0,"parent":62,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-66","post","type-post","status-publish","format-standard","hentry","category-kivicare-pharma-addon"],"featured_image_src":null,"author_info":{"display_name":"laraveladminiq","author_link":"https:\/\/documentation.iqonic.design\/kivicare-pharma\/author\/laraveladminiq\/"},"children":[],"_links":{"self":[{"href":"https:\/\/documentation.iqonic.design\/kivicare-pharma\/wp-json\/wp\/v2\/posts\/66","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/documentation.iqonic.design\/kivicare-pharma\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/documentation.iqonic.design\/kivicare-pharma\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/documentation.iqonic.design\/kivicare-pharma\/wp-json\/wp\/v2\/users\/11"}],"replies":[{"embeddable":true,"href":"https:\/\/documentation.iqonic.design\/kivicare-pharma\/wp-json\/wp\/v2\/comments?post=66"}],"version-history":[{"count":6,"href":"https:\/\/documentation.iqonic.design\/kivicare-pharma\/wp-json\/wp\/v2\/posts\/66\/revisions"}],"predecessor-version":[{"id":797,"href":"https:\/\/documentation.iqonic.design\/kivicare-pharma\/wp-json\/wp\/v2\/posts\/66\/revisions\/797"}],"up":[{"embeddable":true,"href":"https:\/\/documentation.iqonic.design\/kivicare-pharma\/wp-json\/wp\/v2\/posts\/62"}],"wp:attachment":[{"href":"https:\/\/documentation.iqonic.design\/kivicare-pharma\/wp-json\/wp\/v2\/media?parent=66"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/documentation.iqonic.design\/kivicare-pharma\/wp-json\/wp\/v2\/categories?post=66"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/documentation.iqonic.design\/kivicare-pharma\/wp-json\/wp\/v2\/tags?post=66"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}