diff --git a/razorpay-payment-buttons.php b/razorpay-payment-buttons.php index 8679080..9a55f9f 100644 --- a/razorpay-payment-buttons.php +++ b/razorpay-payment-buttons.php @@ -3,7 +3,7 @@ * Plugin Name: Razorpay Payment Button for Elementor * Plugin URI: https://github.com/razorpay/payment-button-elementor-plugin * Description: Razorpay Payment Button for Elementor - * Version: 1.2.6 + * Version: 1.2.7 * Author: Razorpay * Author URI: https://razorpay.com */ diff --git a/readme.txt b/readme.txt index 7a3b441..3a0c8ec 100644 --- a/readme.txt +++ b/readme.txt @@ -2,7 +2,7 @@ Contributors: razorpay Tags: Payment gateway, Donate button, UPI/credit/debit card, Payment plugin, India Tested up to: 6.6 -Stable tag: 1.2.6 +Stable tag: 1.2.7 License: GPLv2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html @@ -96,6 +96,9 @@ Connect your WordPress website with your Razorpay account and you're all ready t == Changelog == += 1.2.7 = +* Added security enhancements + = 1.2.6 = * Added security enhancements diff --git a/templates/razorpay-button-view-templates.php b/templates/razorpay-button-view-templates.php index 659e3a3..0518f9f 100644 --- a/templates/razorpay-button-view-templates.php +++ b/templates/razorpay-button-view-templates.php @@ -29,11 +29,9 @@ function razorpay_view_button() $previous_page_url = admin_url('admin.php?page=razorpay_button_elementor&paged='.$pagenum); $button_detail = $this->fetch_button_detail(sanitize_text_field($_REQUEST['btn'])); - $show = "jQuery('.overlay').show()"; - $hide = "jQuery('.overlay').hide()"; echo '
- + Button List '. esc_html($button_detail['title']) . ' @@ -52,12 +50,12 @@ function razorpay_view_button()
Button Status
' . esc_html($button_detail['status']) . ' - +
Total Quantity Sold
-
' . htmlentities($button_detail['total_item_sold']) . '
+
' . esc_html($button_detail['total_item_sold']) . '
Total revenue
@@ -85,10 +83,10 @@ function razorpay_view_button()

' . esc_html($button_detail["modal_body_content"]) . '

diff --git a/widget/RazorpayElementsButton.php b/widget/RazorpayElementsButton.php index b237756..dd843fa 100644 --- a/widget/RazorpayElementsButton.php +++ b/widget/RazorpayElementsButton.php @@ -194,7 +194,7 @@ protected function content_template() <# if ( settings.select_button === 'select') { #>
Please select payment button.
<# } else { #> - Razorpay + Razorpay <# } #>