<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>shopify app development in php - PurchaseTheme</title>
	<atom:link href="https://purchasetheme.com/tag/shopify-app-development-in-php/feed/" rel="self" type="application/rss+xml" />
	<link>https://purchasetheme.com</link>
	<description>We Support Freelancers &#38; Small Businesses with FREE Tools &#38; Templates</description>
	<lastBuildDate>Wed, 05 Jun 2024 13:02:56 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.7</generator>

<image>
	<url>https://purchasetheme.com/wp-content/uploads/2023/09/favicon.png</url>
	<title>shopify app development in php - PurchaseTheme</title>
	<link>https://purchasetheme.com</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>[🤑]How To Create Shopify APP &#124; Start Making Money 2023</title>
		<link>https://purchasetheme.com/how-to-create-shopify-app-and-earn-recurring-payment/</link>
					<comments>https://purchasetheme.com/how-to-create-shopify-app-and-earn-recurring-payment/#comments</comments>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Wed, 27 Sep 2023 17:16:56 +0000</pubDate>
				<category><![CDATA[Recurring Earning]]></category>
		<category><![CDATA[Shopify]]></category>
		<category><![CDATA[building Shopify apps for income]]></category>
		<category><![CDATA[create profitable Shopify app]]></category>
		<category><![CDATA[create shopify app using php]]></category>
		<category><![CDATA[developing apps for Shopify]]></category>
		<category><![CDATA[earn income Shopify apps]]></category>
		<category><![CDATA[generate revenue Shopify app]]></category>
		<category><![CDATA[guide to Shopify app development]]></category>
		<category><![CDATA[how to create Shopify app]]></category>
		<category><![CDATA[how to monetize Shopify apps]]></category>
		<category><![CDATA[launching Shopify apps]]></category>
		<category><![CDATA[make money with Shopify apps 2023]]></category>
		<category><![CDATA[making money on Shopify]]></category>
		<category><![CDATA[profitable Shopify apps]]></category>
		<category><![CDATA[Shopify app coding]]></category>
		<category><![CDATA[Shopify app creation process]]></category>
		<category><![CDATA[Shopify app design tips]]></category>
		<category><![CDATA[Shopify app development guide]]></category>
		<category><![CDATA[shopify app development in php]]></category>
		<category><![CDATA[Shopify app development skills]]></category>
		<category><![CDATA[Shopify app development step by step]]></category>
		<category><![CDATA[Shopify app development tips]]></category>
		<category><![CDATA[Shopify app development tutorial]]></category>
		<category><![CDATA[shopify app development tutorial php]]></category>
		<category><![CDATA[Shopify app earning potential]]></category>
		<category><![CDATA[Shopify app maker]]></category>
		<category><![CDATA[Shopify app marketplace guide]]></category>
		<category><![CDATA[Shopify app programming]]></category>
		<category><![CDATA[Shopify app project guide]]></category>
		<category><![CDATA[Shopify application making]]></category>
		<category><![CDATA[Shopify developer guide 2023]]></category>
		<category><![CDATA[Shopify developer tutorial]]></category>
		<category><![CDATA[shopify php app development]]></category>
		<category><![CDATA[start Shopify app business]]></category>
		<category><![CDATA[successful Shopify apps]]></category>
		<guid isPermaLink="false">https://purchasetheme.com/?p=378</guid>

					<description><![CDATA[<p>Introduction There are millions of shopify stores that uses Shopify Apps and we also know that each app is not capable of giving everything so, there is always a great scope &#8220;shopify app development&#8221; that you create a super app for your customers and try to solve their problem so, that they can grow. If...</p>
<p>The post <a href="https://purchasetheme.com/how-to-create-shopify-app-and-earn-recurring-payment/">[🤑]How To Create Shopify APP | Start Making Money 2023</a> first appeared on <a href="https://purchasetheme.com">PurchaseTheme</a>.</p>]]></description>
										<content:encoded><![CDATA[<h2 class="wp-block-heading">Introduction</h2>



<p>There are millions of shopify stores that uses Shopify Apps and we also know that each app is not capable of giving everything so, there is always a great scope <strong>&#8220;shopify app development&#8221;</strong> that you create a super app for your customers and try to solve their problem so, that they can grow. If you will understand problem of other person then you can easily grow in the field.</p>



<p>If they will grow and like your product you will also <strong>earn money</strong>. But, what we do actually is first think about money and then we do the development which is wrong. </p>



<p>There are many things in shopify which still need improvement &amp; resolution. So, how to understand what kind of App we can create which will be beneficial to the customers. </p>



<p>For that first you have to do a project end to end and during development by understanding core problem and in that duration we are sure that you will encounter too many thing in which installed App are less functional as per the requirement and here is your entry in the app development for which you can start thinking.</p>



<p>Once you go through this <strong><a href="https://www.purchasetheme.com" title="">shopify app development tutorial</a></strong> or article you will become capable to <strong>create shopify app using php</strong>. </p>



<p>We will guide you step by step and make you earn money from <strong>shopify app development</strong> which is actually a <strong>recurring payment</strong> and will be credited in your account every month. </p>



<hr class="wp-block-separator has-alpha-channel-opacity"/>



<h2 class="wp-block-heading"><strong>How much you can earn from shopify ?</strong></h2>



<figure class="wp-block-image size-large"><img fetchpriority="high" decoding="async" width="1024" height="393" src="https://purchasetheme.com/wp-content/uploads/2023/09/image-13-1024x393.png" alt="" class="wp-image-445" srcset="https://purchasetheme.com/wp-content/uploads/2023/09/image-13-1024x393.png 1024w, https://purchasetheme.com/wp-content/uploads/2023/09/image-13-300x115.png 300w, https://purchasetheme.com/wp-content/uploads/2023/09/image-13-768x295.png 768w, https://purchasetheme.com/wp-content/uploads/2023/09/image-13-1536x590.png 1536w, https://purchasetheme.com/wp-content/uploads/2023/09/image-13.png 1808w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<p>Like if you have 5 installation this month and your app cost is $5/month then your payment will be 5*5 which is $25 per month and like that as soon as you installation increases your payment will get increases but, note that shopify will keep some amount around 30% and rest will give it you which is actually called &#8220;<strong>shopify commission on sales</strong>&#8221; or &#8220;shopify commission per sale&#8221;.</p>



<p>Now, let us divide the article in few small faq&#8217;s which will make the article more clear and understandable. </p>



<p>If you want to check in details you can <a href="https://help.shopify.com/en/partners/how-to-earn#:~:text=A%20recurring%20commission%20equal%20to,remain%20an%20active%20Shopify%20Partner." target="_blank" rel="noopener" title="click here">click here</a></p>



<h5 class="wp-block-heading">For your motivation see the below apps and their estimated earning:</h5>



<p>This Whishlist Plus APP is having <strong>1866 Reviews</strong> ( <em>Quality Matters</em> ) and let&#8217;s assume 1800 installation are still there and starter plan cost is $14.99/month so, you can estimate the monthly earning of this app is around $25,200 amazing ? but, for your information we want to tell you that if around 20 people install the app in that only 1 is there who give the reviews so, now you can estimate the earning is approx $504,000 <img src="https://s.w.org/images/core/emoji/15.0.3/72x72/1f911.png" alt="🤑" class="wp-smiley" style="height: 1em; max-height: 1em;" /><img src="https://s.w.org/images/core/emoji/15.0.3/72x72/1f911.png" alt="🤑" class="wp-smiley" style="height: 1em; max-height: 1em;" /><img src="https://s.w.org/images/core/emoji/15.0.3/72x72/1f911.png" alt="🤑" class="wp-smiley" style="height: 1em; max-height: 1em;" /><img src="https://s.w.org/images/core/emoji/15.0.3/72x72/1f911.png" alt="🤑" class="wp-smiley" style="height: 1em; max-height: 1em;" /> (general estimation)</p>



<figure class="wp-block-image size-large"><img decoding="async" width="1024" height="348" src="https://purchasetheme.com/wp-content/uploads/2023/09/image-17-1024x348.png" alt="" class="wp-image-481" srcset="https://purchasetheme.com/wp-content/uploads/2023/09/image-17-1024x348.png 1024w, https://purchasetheme.com/wp-content/uploads/2023/09/image-17-300x102.png 300w, https://purchasetheme.com/wp-content/uploads/2023/09/image-17-768x261.png 768w, https://purchasetheme.com/wp-content/uploads/2023/09/image-17-1536x523.png 1536w, https://purchasetheme.com/wp-content/uploads/2023/09/image-17.png 1763w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<hr class="wp-block-separator has-alpha-channel-opacity"/>



<h2 class="wp-block-heading"><strong>Does Shopify take a percent of sales ? </strong></h2>



<p>Yes, shopify take percentage on sales &#8211; Shopify Partners get a recurring commission of&nbsp;<strong>10% or 20% of the merchant&#8217;s monthly subscription fee</strong>&nbsp;based on the Store Plan.</p>



<p>Let us make it clear that when you will initiate app development you have to create a <strong>shopify partner </strong>account which is compulsory and all your app will resides inside that when ever a installation is made you will get the notification and payment if you are charging some amount for the app installation. </p>



<hr class="wp-block-separator has-alpha-channel-opacity"/>



<h2 class="wp-block-heading"><strong>How to create shopify partner account ?</strong></h2>



<p>It is very easy to create <strong>shopify partner</strong> account. <a href="https://www.shopify.com/partners" title="Click here to open the link">Click here to open the link</a>.</p>



<figure class="wp-block-image size-large"><img decoding="async" width="1024" height="131" src="https://purchasetheme.com/wp-content/uploads/2023/09/image-1024x131.png" alt="" class="wp-image-398" srcset="https://purchasetheme.com/wp-content/uploads/2023/09/image-1024x131.png 1024w, https://purchasetheme.com/wp-content/uploads/2023/09/image-300x38.png 300w, https://purchasetheme.com/wp-content/uploads/2023/09/image-768x98.png 768w, https://purchasetheme.com/wp-content/uploads/2023/09/image-1536x196.png 1536w, https://purchasetheme.com/wp-content/uploads/2023/09/image.png 1707w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<p><strong>After creating account and login:</strong></p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="315" src="https://purchasetheme.com/wp-content/uploads/2023/09/image-3-1024x315.png" alt="" class="wp-image-402" srcset="https://purchasetheme.com/wp-content/uploads/2023/09/image-3-1024x315.png 1024w, https://purchasetheme.com/wp-content/uploads/2023/09/image-3-300x92.png 300w, https://purchasetheme.com/wp-content/uploads/2023/09/image-3-768x236.png 768w, https://purchasetheme.com/wp-content/uploads/2023/09/image-3-1536x472.png 1536w, https://purchasetheme.com/wp-content/uploads/2023/09/image-3.png 1893w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="359" src="https://purchasetheme.com/wp-content/uploads/2023/09/image-4-1024x359.png" alt="" class="wp-image-404" srcset="https://purchasetheme.com/wp-content/uploads/2023/09/image-4-1024x359.png 1024w, https://purchasetheme.com/wp-content/uploads/2023/09/image-4-300x105.png 300w, https://purchasetheme.com/wp-content/uploads/2023/09/image-4-768x269.png 768w, https://purchasetheme.com/wp-content/uploads/2023/09/image-4-1536x539.png 1536w, https://purchasetheme.com/wp-content/uploads/2023/09/image-4.png 1885w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<hr class="wp-block-separator has-alpha-channel-opacity"/>



<h2 class="wp-block-heading"><strong>How to create shopify App ?</strong></h2>



<p>We assume you have created the shopify account and now you to click on Apps &gt;&gt; Create App ( <strong>Button &#8211; top right</strong> )</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="109" src="https://purchasetheme.com/wp-content/uploads/2023/09/image-6-1024x109.png" alt="" class="wp-image-424" srcset="https://purchasetheme.com/wp-content/uploads/2023/09/image-6-1024x109.png 1024w, https://purchasetheme.com/wp-content/uploads/2023/09/image-6-300x32.png 300w, https://purchasetheme.com/wp-content/uploads/2023/09/image-6-768x81.png 768w, https://purchasetheme.com/wp-content/uploads/2023/09/image-6-1536x163.png 1536w, https://purchasetheme.com/wp-content/uploads/2023/09/image-6.png 1885w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<p></p>



<p>Now, if you have the knowledge npm, yarn you can create shopify app but, here in this guide we will tell about the <strong>simple manual method</strong>. ( <em>Make sure you have hosting account to store the related development files</em> )</p>



<p><mark style="background-color:rgba(0, 0, 0, 0);color:#ef1414" class="has-inline-color">Recommended Hosting from PurchaseTheme: <strong><a href="https://affiliate.fastcomet.com/scripts/2wc9ym?a_aid=60cb2c5985443&amp;a_bid=255e76f3" title="Fastcomet ">Fastcomet </a></strong><a href="https://affiliate.fastcomet.com/scripts/2wc9ym?a_aid=60cb2c5985443&amp;a_bid=255e76f3" title="( 80% Discount - You can check from other hosting providers )">( 80% Discount &#8211; You can check from other hosting providers )</a></mark></p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="312" src="https://purchasetheme.com/wp-content/uploads/2023/09/image-7-1024x312.png" alt="" class="wp-image-426" srcset="https://purchasetheme.com/wp-content/uploads/2023/09/image-7-1024x312.png 1024w, https://purchasetheme.com/wp-content/uploads/2023/09/image-7-300x92.png 300w, https://purchasetheme.com/wp-content/uploads/2023/09/image-7-768x234.png 768w, https://purchasetheme.com/wp-content/uploads/2023/09/image-7-1536x469.png 1536w, https://purchasetheme.com/wp-content/uploads/2023/09/image-7.png 1872w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<p>Once you click on &#8220;<strong>Create App manually</strong>&#8221; it you ask you for a name which is basically your app name only. Like if you are creating a app for export/import product then you just need to add &#8220;Export-Import&#8221; or anything you like. We have created a App named as &#8220;<strong>UploadX</strong>&#8220;</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="292" src="https://purchasetheme.com/wp-content/uploads/2023/09/image-9-1024x292.png" alt="" class="wp-image-429" srcset="https://purchasetheme.com/wp-content/uploads/2023/09/image-9-1024x292.png 1024w, https://purchasetheme.com/wp-content/uploads/2023/09/image-9-300x85.png 300w, https://purchasetheme.com/wp-content/uploads/2023/09/image-9-768x219.png 768w, https://purchasetheme.com/wp-content/uploads/2023/09/image-9-1536x437.png 1536w, https://purchasetheme.com/wp-content/uploads/2023/09/image-9.png 1879w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<p><strong>Client ID &amp; Client Secret </strong>will be required later to authenticate your request. Like when ever a request from your server will be made to shopify it will check if you have these two things so, that it can complete the installation request. </p>



<p>As soon as you complete the app you can start testing on &#8220;<strong>shopify store</strong>&#8221; that is totally free and you can create after you app is completed. For your information we have tested &#8220;<strong>UplaodX</strong>&#8221; on below store </p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="379" src="https://purchasetheme.com/wp-content/uploads/2023/09/image-10-1024x379.png" alt="" class="wp-image-433" srcset="https://purchasetheme.com/wp-content/uploads/2023/09/image-10-1024x379.png 1024w, https://purchasetheme.com/wp-content/uploads/2023/09/image-10-300x111.png 300w, https://purchasetheme.com/wp-content/uploads/2023/09/image-10-768x285.png 768w, https://purchasetheme.com/wp-content/uploads/2023/09/image-10-1536x569.png 1536w, https://purchasetheme.com/wp-content/uploads/2023/09/image-10.png 1862w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<p>When you click on Select Store it will redirect to you page where you can see list of store you can test the apps or you can also create a new store from there as well.</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="279" src="https://purchasetheme.com/wp-content/uploads/2023/09/image-11-1024x279.png" alt="" class="wp-image-435" srcset="https://purchasetheme.com/wp-content/uploads/2023/09/image-11-1024x279.png 1024w, https://purchasetheme.com/wp-content/uploads/2023/09/image-11-300x82.png 300w, https://purchasetheme.com/wp-content/uploads/2023/09/image-11-768x209.png 768w, https://purchasetheme.com/wp-content/uploads/2023/09/image-11-1536x419.png 1536w, https://purchasetheme.com/wp-content/uploads/2023/09/image-11.png 1871w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<p><strong><mark style="background-color:rgba(0, 0, 0, 0);color:#f46161" class="has-inline-color">Let&#8217;s Start.</mark></strong>..<img src="https://s.w.org/images/core/emoji/15.0.3/72x72/1f973.png" alt="🥳" class="wp-smiley" style="height: 1em; max-height: 1em;" /></p>



<h2 class="wp-block-heading">How to make Shopify app using PHP ?</h2>



<p>Before we start make sure you have server with SSL certificate installed so, as we recommended above <mark style="background-color:rgba(0, 0, 0, 0)" class="has-inline-color has-primary-color"><a href="https://affiliate.fastcomet.com/scripts/2wc9ym?a_aid=60cb2c5985443&amp;a_bid=92e4c39e" target="_blank" rel="noopener" title="fastcomet">fastcomet</a> </mark>hosting we think is the best as they provide free SSL certificate and basic support like migration, setup of any software, speed optimization etc. You just have to raise the ticket and in our views their response in comparison to other hosting is very fast. You can chat also if required. </p>



<p><strong>Step 1</strong>: Purchase hosting &#8211; <a href="https://affiliate.fastcomet.com/scripts/2wc9ym?a_aid=60cb2c5985443&amp;a_bid=92e4c39e" title="Click to Purchase">Click to Purchase</a> ( 80% Discount )</p>



<p><strong>Step 2</strong>: Thing required on server ( PHP, Mysql )</p>



<p><strong>Step 3</strong>: Create below files </p>



<ul class="wp-block-list">
<li>connect_to_mysql.php </li>



<li>install.php</li>



<li>generate_token.php</li>



<li>app_interface.php</li>



<li>process_form.php</li>
</ul>



<p><strong>File 1: </strong>connect_to_mysql.php</p>



<pre class="wp-block-code"><code>&lt;?php
$servername = "localhost";
$username = "root";
$password = "";
$db = "mailchimp_db";

$conn = mysqli_connect($servername, $username, $password, $db);

if (!$conn) {
    die("Connection Error: " . mysqli_connect_error());
}</code></pre>



<p><strong>File 2: </strong>install.php</p>



<pre class="wp-block-code"><code>&lt;?php

require_once('connect_to_mysql.php');

// Set variable for our request
$shop = $_GET&#91;'shop'];

$api_key = "e5dd163cd8a42437f7c240ed210e8c13";
<strong>$scopes = "read_orders,write_products";</strong>
$redirect_uri = "http://localhost/afterinc_mailchimp/generate_token.php";

// Build install/approval URL to redirect to
$install_url = "https://" . $shop . "/admin/oauth/authorize?client_id=" . $api_key . "&amp;scope=" . $scopes . "&amp;redirect_uri=" . $redirect_uri;

// Redirect
header("Location: " .$install_url);
die();
</code></pre>



<p><strong>File 3: </strong>generate_token.php</p>



<pre class="wp-block-code"><code>&lt;?php

require_once('connect_to_mysql.php');

<strong>$api_key</strong> = "e5dd163cf8a4243737c240ed210e8c13";
<strong>$secret_key</strong> = "c39918e4d8f20d315c6e2a404f62541a";

$params = $_GET; //Retrieve all request parameters
$hmac = $_GET&#91;'hmac']; //Retrieve HMAC request parameters

$params = array_diff_key($params, array('hmac' =&gt; '')); // Remove hmac from params
ksort($params); // Sort params lexograhically
$computed_hmac = hash_hmac('sha256', http_build_query($params), $secret_key);


// Use hmac data to check that the response is from shopify or not
if(hash_equals($hmac, $computed_hmac)) {
	// Set variables for our request
	$query = array(
	    "client_id" =&gt; $api_key, // Your API key
		"client_secret" =&gt; $secret_key, // Your app credentials (Secret key)
		"code" =&gt; $params&#91;'code'] // Grab the access key from the urldecode
	);
	
	// Generate access token URL  
	$access_token_url = "https://" . $params&#91;'shop'] . "/admin/oauth/access_token";
	
	// Configure curl client and execute request
	$ch = curl_init();
	curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
	curl_setopt($ch, CURLOPT_URL, $access_token_url);
	curl_setopt($ch, CURLOPT_POST, count($query));
	curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($query));
	
	$result = curl_exec($ch);
	
	curl_close($ch);
	
	// Store the access token
	$result = json_decode($result, true);
	$access_token = $result&#91;'access_token'];
	
    // Show the access token (don't do this in production!)
	// echo $access_token;
	
	//Insert Access Token &amp; Other Details
	$sql = "INSERT INTO `mailchimp_store` (`id`, `store_url`, `access_token`) VALUES (NULL, '".$params&#91;'shop']."', '".$access_token."')";
	
	if ($conn-&gt;query($sql) === TRUE) {
	  //echo "New record created successfully";
	  header("Location: https://" . $params&#91;'shop'] . "/admin/apps/afterinc-mailchimp");
	} else {
	  echo "Error: " . $sql . "&lt;br&gt;" . $conn-&gt;error; 
	}

	$conn-&gt;close();
	
} else {

    // Someone is trying to be shady!
    die('This request is NOT from Shopify!');
	
}	</code></pre>



<p><strong>File 4: </strong>app_interface.php</p>



<pre class="wp-block-code"><code>&lt;!DOCTYPE html&gt;
&lt;html lang="en"&gt;
&lt;head&gt;

	&lt;title&gt;APP Settings&lt;/title&gt;
	&lt;meta charset="utf-8"&gt;
	&lt;meta name="viewport" content="width=device-width, initial-scale=1"&gt;
	&lt;link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/css/bootstrap.min.css"&gt;
	&lt;script src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.0/jquery.min.js"&gt;&lt;/script&gt;
	&lt;script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/js/bootstrap.min.js"&gt;&lt;/script&gt;
  
    &lt;script&gt;
	//Mailchimp API Credentials
	$(document).ready(function(){
		$("#apimailchimp").on("submit", function(event){
			event.preventDefault();
	 
			var formValues= $(this).serialize();
	 
			$.post("process_form.php", formValues, function(data){
				// Display the returned data in browser
				$("#result").html(data);
			});
		});
	});
    &lt;/script&gt;  
  
&lt;/head&gt;
&lt;body&gt;

&lt;div class="container"&gt;
  &lt;h2&gt;MailChimp API Credentials&lt;/h2&gt;
  &lt;form action="#" id="apimailchimp"&gt;
    &lt;div class="form-group"&gt;
      &lt;label for="email"&gt;Mailchimp API Key:&lt;/label&gt;
      &lt;input type="text" class="form-control" id="api_key" placeholder="Enter key" name="api_key"&gt;
    &lt;/div&gt;
    &lt;div class="form-group"&gt;
      &lt;label for="pwd"&gt;Mailchimp List ID:&lt;/label&gt;
      &lt;input type="text" class="form-control" id="list_id" placeholder="Enter list id" name="list_id"&gt;
    &lt;/div&gt;
    
    &lt;button type="submit" class="btn btn-default"&gt;Submit&lt;/button&gt;
  &lt;/form&gt;
&lt;/div&gt;


&lt;div class="container"&gt;
  &lt;h2&gt;Set Email Configuration&lt;/h2&gt;
  &lt;form action="#" id="email_configure"&gt;
    &lt;div class="form-group"&gt;
        &lt;label for="email"&gt;Email Frequency:&lt;/label&gt;
        	  
	    &lt;select class="form-select" id="email_frequency" name="email_frequency"&gt;
		  &lt;option value="12_hrs"&gt;Every 12 hr&lt;/option&gt;
		  &lt;option value="24_hrs"&gt;Every 24 hr&lt;/option&gt;
		  &lt;option value="48_hrs"&gt;Every 48 hr&lt;/option&gt;
		  &lt;option value="1_month"&gt;Every 1 Month&lt;/option&gt;
		&lt;/select&gt;
	  
    &lt;/div&gt;       
    &lt;button type="submit" class="btn btn-default"&gt;Submit&lt;/button&gt;
  &lt;/form&gt;
&lt;/div&gt;

&lt;/body&gt;
&lt;/html&gt;
</code></pre>



<p><strong>File 5: </strong>process_form.php</p>



<pre class="wp-block-code"><code>&lt;?php

require_once('connect_to_mysql.php');

//Inserting the MailChimp API key &amp; List ID
	
$sql = "UPDATE `mailchimp_store` SET `mailchimp_api_key` = '".$_REQUEST&#91;'api_key']."', `mailchimp_list_id` = '".$_REQUEST&#91;'list_id']."' WHERE `mailchimp_store`.`id` = 6";

if ($conn-&gt;query($sql) === TRUE) {
  echo "Record updated successfully";
} else {
  echo "Error: " . $sql . "&lt;br&gt;" . $conn-&gt;error; 
}

$conn-&gt;close();
</code></pre>



<p><strong>Mysql Table Query</strong>: Make sure to create mysql table. We are not creating here.</p>



<p>All the above files to be present on your server. </p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="221" src="https://purchasetheme.com/wp-content/uploads/2023/09/image-14-1024x221.png" alt="" class="wp-image-457" srcset="https://purchasetheme.com/wp-content/uploads/2023/09/image-14-1024x221.png 1024w, https://purchasetheme.com/wp-content/uploads/2023/09/image-14-300x65.png 300w, https://purchasetheme.com/wp-content/uploads/2023/09/image-14-768x166.png 768w, https://purchasetheme.com/wp-content/uploads/2023/09/image-14.png 1166w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<p>This is how it will look when you start the intallation:</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="355" src="https://purchasetheme.com/wp-content/uploads/2023/09/image-16-1024x355.png" alt="" class="wp-image-461" srcset="https://purchasetheme.com/wp-content/uploads/2023/09/image-16-1024x355.png 1024w, https://purchasetheme.com/wp-content/uploads/2023/09/image-16-300x104.png 300w, https://purchasetheme.com/wp-content/uploads/2023/09/image-16-768x266.png 768w, https://purchasetheme.com/wp-content/uploads/2023/09/image-16-1536x533.png 1536w, https://purchasetheme.com/wp-content/uploads/2023/09/image-16.png 1883w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<hr class="wp-block-separator has-alpha-channel-opacity"/>



<p>You are now done with the &#8220;<strong>Shopify APP Development</strong>&#8221; using PHP &amp; Mysql</p>



<p></p>
<p><a class="a2a_button_facebook" href="https://www.addtoany.com/add_to/facebook?linkurl=https%3A%2F%2Fpurchasetheme.com%2Fhow-to-create-shopify-app-and-earn-recurring-payment%2F&amp;linkname=%5B%F0%9F%A4%91%5DHow%20To%20Create%20Shopify%20APP%20%7C%20Start%20Making%20Money%202023" title="Facebook" rel="nofollow noopener" target="_blank"></a><a class="a2a_button_twitter" href="https://www.addtoany.com/add_to/twitter?linkurl=https%3A%2F%2Fpurchasetheme.com%2Fhow-to-create-shopify-app-and-earn-recurring-payment%2F&amp;linkname=%5B%F0%9F%A4%91%5DHow%20To%20Create%20Shopify%20APP%20%7C%20Start%20Making%20Money%202023" title="Twitter" rel="nofollow noopener" target="_blank"></a><a class="a2a_button_email" href="https://www.addtoany.com/add_to/email?linkurl=https%3A%2F%2Fpurchasetheme.com%2Fhow-to-create-shopify-app-and-earn-recurring-payment%2F&amp;linkname=%5B%F0%9F%A4%91%5DHow%20To%20Create%20Shopify%20APP%20%7C%20Start%20Making%20Money%202023" title="Email" rel="nofollow noopener" target="_blank"></a><a class="a2a_button_whatsapp" href="https://www.addtoany.com/add_to/whatsapp?linkurl=https%3A%2F%2Fpurchasetheme.com%2Fhow-to-create-shopify-app-and-earn-recurring-payment%2F&amp;linkname=%5B%F0%9F%A4%91%5DHow%20To%20Create%20Shopify%20APP%20%7C%20Start%20Making%20Money%202023" title="WhatsApp" rel="nofollow noopener" target="_blank"></a><a class="a2a_button_linkedin" href="https://www.addtoany.com/add_to/linkedin?linkurl=https%3A%2F%2Fpurchasetheme.com%2Fhow-to-create-shopify-app-and-earn-recurring-payment%2F&amp;linkname=%5B%F0%9F%A4%91%5DHow%20To%20Create%20Shopify%20APP%20%7C%20Start%20Making%20Money%202023" title="LinkedIn" rel="nofollow noopener" target="_blank"></a><a class="a2a_button_pinterest" href="https://www.addtoany.com/add_to/pinterest?linkurl=https%3A%2F%2Fpurchasetheme.com%2Fhow-to-create-shopify-app-and-earn-recurring-payment%2F&amp;linkname=%5B%F0%9F%A4%91%5DHow%20To%20Create%20Shopify%20APP%20%7C%20Start%20Making%20Money%202023" title="Pinterest" rel="nofollow noopener" target="_blank"></a><a class="a2a_button_facebook_messenger" href="https://www.addtoany.com/add_to/facebook_messenger?linkurl=https%3A%2F%2Fpurchasetheme.com%2Fhow-to-create-shopify-app-and-earn-recurring-payment%2F&amp;linkname=%5B%F0%9F%A4%91%5DHow%20To%20Create%20Shopify%20APP%20%7C%20Start%20Making%20Money%202023" title="Messenger" rel="nofollow noopener" target="_blank"></a><a class="a2a_button_google_gmail" href="https://www.addtoany.com/add_to/google_gmail?linkurl=https%3A%2F%2Fpurchasetheme.com%2Fhow-to-create-shopify-app-and-earn-recurring-payment%2F&amp;linkname=%5B%F0%9F%A4%91%5DHow%20To%20Create%20Shopify%20APP%20%7C%20Start%20Making%20Money%202023" title="Gmail" rel="nofollow noopener" target="_blank"></a><a class="a2a_button_snapchat" href="https://www.addtoany.com/add_to/snapchat?linkurl=https%3A%2F%2Fpurchasetheme.com%2Fhow-to-create-shopify-app-and-earn-recurring-payment%2F&amp;linkname=%5B%F0%9F%A4%91%5DHow%20To%20Create%20Shopify%20APP%20%7C%20Start%20Making%20Money%202023" title="Snapchat" rel="nofollow noopener" target="_blank"></a><a class="a2a_button_telegram" href="https://www.addtoany.com/add_to/telegram?linkurl=https%3A%2F%2Fpurchasetheme.com%2Fhow-to-create-shopify-app-and-earn-recurring-payment%2F&amp;linkname=%5B%F0%9F%A4%91%5DHow%20To%20Create%20Shopify%20APP%20%7C%20Start%20Making%20Money%202023" title="Telegram" rel="nofollow noopener" target="_blank"></a><a class="a2a_button_outlook_com" href="https://www.addtoany.com/add_to/outlook_com?linkurl=https%3A%2F%2Fpurchasetheme.com%2Fhow-to-create-shopify-app-and-earn-recurring-payment%2F&amp;linkname=%5B%F0%9F%A4%91%5DHow%20To%20Create%20Shopify%20APP%20%7C%20Start%20Making%20Money%202023" title="Outlook.com" rel="nofollow noopener" target="_blank"></a><a class="a2a_button_blogger" href="https://www.addtoany.com/add_to/blogger?linkurl=https%3A%2F%2Fpurchasetheme.com%2Fhow-to-create-shopify-app-and-earn-recurring-payment%2F&amp;linkname=%5B%F0%9F%A4%91%5DHow%20To%20Create%20Shopify%20APP%20%7C%20Start%20Making%20Money%202023" title="Blogger" rel="nofollow noopener" target="_blank"></a><a class="a2a_button_copy_link" href="https://www.addtoany.com/add_to/copy_link?linkurl=https%3A%2F%2Fpurchasetheme.com%2Fhow-to-create-shopify-app-and-earn-recurring-payment%2F&amp;linkname=%5B%F0%9F%A4%91%5DHow%20To%20Create%20Shopify%20APP%20%7C%20Start%20Making%20Money%202023" title="Copy Link" rel="nofollow noopener" target="_blank"></a><a class="a2a_dd addtoany_share_save addtoany_share" href="https://www.addtoany.com/share#url=https%3A%2F%2Fpurchasetheme.com%2Fhow-to-create-shopify-app-and-earn-recurring-payment%2F&#038;title=%5B%F0%9F%A4%91%5DHow%20To%20Create%20Shopify%20APP%20%7C%20Start%20Making%20Money%202023" data-a2a-url="https://purchasetheme.com/how-to-create-shopify-app-and-earn-recurring-payment/" data-a2a-title="[&#x1f911;]How To Create Shopify APP | Start Making Money 2023"></a></p><p>The post <a href="https://purchasetheme.com/how-to-create-shopify-app-and-earn-recurring-payment/">[🤑]How To Create Shopify APP | Start Making Money 2023</a> first appeared on <a href="https://purchasetheme.com">PurchaseTheme</a>.</p>]]></content:encoded>
					
					<wfw:commentRss>https://purchasetheme.com/how-to-create-shopify-app-and-earn-recurring-payment/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
			</item>
	</channel>
</rss>
