<div class="wb-store-pay-btns"><div class="wb-store-pay-btn"><div id="wb_element_instance7_1_paypal_btn_0" class="" data-plugin="BuyNow"><form action="https://www.paypal.com/cgi-bin/webscr" method="post" data-gateway-id="Paypal" style="width: 100%; height: 100%;">
	<input type="hidden" name="cmd" value="_xclick"><input type="hidden" name="business" value="example@yourmail.com"><input type="hidden" name="amount" value="<?php echo (isset($payPrice) ? htmlspecialchars($payPrice) : '{price}'); ?>"><input type="hidden" name="currency_code" value="USD"><input type="hidden" name="button_subtype" value="services"><input type="hidden" name="no_note" value="0"><input type="hidden" name="shipping" value=""><input type="hidden" name="bn" value="JSCProfis_SP"><input type="hidden" name="custom" value="<?php echo htmlspecialchars($payTransactionId); ?>"><input type="hidden" name="notify_url" value="<?php echo htmlspecialchars(str_replace(array('__GATEWAY_ID__', '__TRANSACTION_ID__'), array('Paypal', $payTransactionId), $payCallbackUrl)); ?>"><input type="hidden" name="return" value="<?php echo htmlspecialchars(str_replace(array('__GATEWAY_ID__', '__TRANSACTION_ID__'), array('Paypal', $payTransactionId), $payReturnUrl)); ?>"><input type="hidden" name="cancel_return" value="<?php echo htmlspecialchars(str_replace(array('__GATEWAY_ID__', '__TRANSACTION_ID__'), array('Paypal', $payTransactionId), $payCancelUrl)); ?>"><?php global $pluginData; $pluginData = json_decode('{"store":true,"business":"example@yourmail.com","demo":"","amount":null,"currencyCode":"USD","button_label":"","button_color":"transparent","font_family":"Arial,Helvetica,sans-serif","font_size":14,"label_color":"#333333","button_border":{"differ":false,"differRadius":false,"color":["#eeeeee","#eeeeee","#eeeeee","#eeeeee"],"style":["none","none","none","none"],"weight":[1,1,1,1],"radius":null,"css":{"border":"1px none #eeeeee"},"cssRaw":"border: 1px none #eeeeee;"},"logo":"buy-now","showlogo":true,"logo_width":107,"border_radius":{"lt":0,"rt":0,"rb":0,"lb":0,"differ":false,"css":{"border-radius":"0px 0px 0px 0px","-moz-border-radius":"0px 0px 0px 0px","-webkit-border-radius":"0px 0px 0px 0px"},"cssRaw":"border-radius: 0px 0px 0px 0px; -moz-border-radius: 0px 0px 0px 0px; -webkit-border-radius: 0px 0px 0px 0px;"},"button_padding":0,"logo_src":"https:\\/\\/www.paypalobjects.com\\/en_US\\/i\\/btn\\/btn_buynow_LG.gif","paymentGatewayButton":"<button type=\\"submit\\" id=\\"wb_element_instance7_1_paypal_btn_0_payment_gateway_button\\" class=\\"btn btn-default btn-sm\\" style=\\"width: 107px; height: 54px; white-space: normal; overflow: hidden;padding: 0px;background-color: transparent;border: 1px none #eeeeee;border-radius: 0px 0px 0px 0px; -moz-border-radius: 0px 0px 0px 0px; -webkit-border-radius: 0px 0px 0px 0px;\\"><img src=\\"https:\\/\\/www.paypalobjects.com\\/en_US\\/i\\/btn\\/btn_buynow_LG.gif\\" alt=\\"BuyNow\\" style=\\"width: 107px; max-width: 100%;\\" \\/><\\/button>","itemName":"Cart contents"}'); $pluginData->_extReferenceId = ''; $pluginData->elemId = 'wb_element_instance7_1_paypal_btn_0'; $pluginData->currLang = 'en'; $pluginData->currLangLocale = 'en_US'; $pluginData->isPreview = ''; require dirname(__FILE__).'/../../../main_BuyNow.php'; ?></form>
</div></div>
<div class="wb-store-pay-btn"><div id="wb_element_instance7_1_cash_on_delivery_btn_0" class="" data-plugin="cash_on_delivery"><form data-gateway-id="CashOnDelivery" action="" method="post" style="width: 100%; height: 100%;" id="wb_element_instance7_1_cash_on_delivery_btn_0_cash_on_delivery_form" onsubmit="return false;">
	<input type="hidden" name="invoiceUrl" value=""><button class="btn btn-default btn-raised" style="vertical-align: middle; height: 47px; font-weight: bold;"><i class="fa fa-money"></i> Cash on Delivery</button>
</form>

<script type="text/javascript">
	(function() {
		$('#wb_element_instance7_1_cash_on_delivery_btn_0_cash_on_delivery_form').on('beforesend', function(e, checkoutData) {
			e.preventDefault();
			$('#wb_element_instance7_1_cash_on_delivery_btn_0_cash_on_delivery_invoice_link').attr("href", checkoutData.orderData.invoiceUrl);
			$('#wb_element_instance7_1_cash_on_delivery_btn_0_cash_on_delivery_modal')
				.appendTo("body")
				.modal({
					backdrop: 'static',
					keyboard: false
				})
				.on('hide.bs.modal', function() {
					window.location.href = checkoutData.backUrl;
				})
			;
			return false;
		});
	})();
</script><div class="modal fade" id="wb_element_instance7_1_cash_on_delivery_btn_0_cash_on_delivery_modal" tabindex="-1" role="dialog">
    <div class="modal-dialog" role="document">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
                <h4 class="modal-title">Cash on Delivery</h4>
            </div>
            <div class="modal-body">
				<p><span style="color:rgb(0,0,0);">Your order was successfully placed.<br>
You will be contacted shortly about your order confirmation.</span></p>

				<div>
					<a id="wb_element_instance7_1_cash_on_delivery_btn_0_cash_on_delivery_invoice_link" href="" target="_blank" class="btn btn-success"><i class="fa fa-file-pdf-o"></i> Download invoice</a>
				</div>
			</div>
			<div class="modal-footer">
                <button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
            </div>
		</div>
	</div>
</div>
</div></div>
</div>