?> </span> </div> </div> <!-- .property-meta --> </div> <!--.title-and-meta --> <div class="action-buttons"> <?php /* * Payment Stuff */ $payment_status = $my_property->get_payment_status(); if ($payment_status == "Completed") { echo '<h4>'; _e('Payment Completed', 'inspiry'); echo '</h4>'; } else { if (class_exists('AngellEYE_Paypal_Ipn_For_Wordpress')) { if ($paypal_payment_enabled && !empty($paypal_ipn_url) && !empty($paypal_merchant_id) && !empty($paypal_currency_code) && !empty($paypal_payment_amount)) { $paypal_button_script = get_template_directory_uri() . "/js/paypal-button.min.js"; ?> <script src= "<?php echo esc_url(add_query_arg(array('merchant' => $paypal_merchant_id), $paypal_button_script)); ?> " <?php if ($paypal_sandbox) {