
<div class="form-group">
    <label>Subscription Plan:</label>
    <select onchange="getSubscrPrice(this);">
            </select>
</div>
<div class="form-group">
    <p><b>Payable Amount:</b> <span id="subPrice">$ USD</span></p>
</div>

<!-- PayPal Sunscription payment button -->
<form action="https://www.sandbox.paypal.com/cgi-bin/webscr" method="post">
    <!-- Identify your business so that you can collect the payments -->
    <input type="hidden" name="business" value="Insert_PayPal_Business_Email">
    <!-- Specify a subscriptions button. -->
    <input type="hidden" name="cmd" value="_xclick-subscriptions">
    <!-- Specify details about the subscription that buyers will purchase -->
    <input type="hidden" name="item_name" id="item_name" value="">
    <input type="hidden" name="item_number" id="item_number" value="">
    <input type="hidden" name="currency_code" value="USD">
    <input type="hidden" name="a3" id="item_price" value="">
    <input type="hidden" name="p3" id="interval_count" value="">
    <input type="hidden" name="t3" id="interval" value="">
    <input type="hidden" name="src" value="1">
    <input type="hidden" name="srt" value="52">
    <!-- Custom variable user ID -->
    <!-- <input type="hidden" name="custom" value=""> -->
    <!-- Specify urls -->
    <input type="hidden" name="cancel_return" value="https://online.gomonkeyapp.com//cancel.php">
    <input type="hidden" name="return" value="https://online.gomonkeyapp.com//success.php">
    <input type="hidden" name="notify_url" value="https://online.gomonkeyapp.com//paypal_ipn.php">
    <!-- Display the payment button -->
    <input class="buy-btn" type="submit" value="Buy Subscription">
</form>

<script>
function getSubscrPrice(obj){
	var rowData = obj.options[obj.selectedIndex].getAttribute('rowData');
	rowData = JSON.parse(rowData);
	
	document.getElementById('subPrice').innerHTML = '$'+rowData.price+' USD';
	document.getElementById('item_name').value = rowData.name;
	document.getElementById('item_number').value = rowData.id;
	document.getElementById('item_price').value = rowData.price;
	document.getElementById('interval').value = rowData.interval;
	document.getElementById('interval_count').value = rowData.interval_count;
}
</script><?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="https://online.gomonkeyapp.com/wp-sitemap-index.xsl" ?>
<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"><sitemap><loc>https://online.gomonkeyapp.com/wp-sitemap-posts-post-1.xml</loc></sitemap><sitemap><loc>https://online.gomonkeyapp.com/wp-sitemap-posts-page-1.xml</loc></sitemap><sitemap><loc>https://online.gomonkeyapp.com/en/wp-sitemap-posts-page-1.xml</loc></sitemap><sitemap><loc>https://online.gomonkeyapp.com/wp-sitemap-taxonomies-category-1.xml</loc></sitemap><sitemap><loc>https://online.gomonkeyapp.com/wp-sitemap-users-1.xml</loc></sitemap><sitemap><loc>https://online.gomonkeyapp.com/en/wp-sitemap-users-1.xml</loc></sitemap></sitemapindex>
