Plugin Directory

Changeset 3232736


Ignore:
Timestamp:
01/31/2025 02:49:01 PM (14 months ago)
Author:
amitwpdeveloper
Message:

2.3.0 update

Location:
wp-payment/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • wp-payment/trunk/readme.txt

    r3193269 r3232736  
    11=== WP Payment ===
    2 Contributors: WPSuperiors, amitwpdeveloper
     2Contributors: WPSuperiors
    33Donate link: http://www.wpsuperiors.com/donate/
    44Tags: paypal onsite payment, paypal pro, Stripe payment, credit card payment, recurring billing, recurring donation, authorize.net, recurring, paypal
    55Requires at least: 3.0.1
    6 Tested up to: 6.7
     6Tested up to: 6.7.1
    77Stable tag: 6.4.2
    88Get recurring and onetime payments with PayPal, Authorize.NET and Stripe.
     
    2626- API Key retrival tutorial at admin screen.
    2727
    28 = Premium Version Features =
     28= Premium Version Features (@ 19 USD) =
    2929- Available widget for Elementor Page Builder and Gutenberg block.
    3030- Shortcode *[WP_PAYMENT_FORM]* place any pages/posts to display form.
     
    5858
    5959Do you need Recurring Donation? OR Recurring Payments?
    60 Go for premium version [WP Payment Premium](https://www.wpsuperiors.com/wp-payment-details/)
     60Go for premium version [WP Payment Premium @ 19 USD](https://www.wpsuperiors.com/wp-payment-details/)
    6161
    6262In our Premium you can also customize the settings for recurring. Like Monthly, Yearly, Daily etc.
     
    7373= Is Recurring Donation supported bythis plugins ? =
    7474
    75 Yes, its supported, but it is only available in premium version. [WP Payment Premium](https://www.wpsuperiors.com/shop/wp-payment/)
     75Yes, its supported, but it is only available in premium version. [WP Payment Premium @ 19 USD](https://www.wpsuperiors.com/shop/wp-payment/)
    7676
    7777= Need CSS Changes ? =
     
    8181= Where I Can Buy Premium Version ? =
    8282
    83 Go here, [WP Payment Premium](https://www.wpsuperiors.com/shop/wp-payment/)
     83Go here, [WP Payment Premium @ 19 USD](https://www.wpsuperiors.com/shop/wp-payment/)
    8484
    8585= What is addiitonal features for Premium Version ? =
     
    128128
    129129== changelog ==
     130= 2.3.0 - 31st Jan, 2025 =
     131*WordPress 6.7.1 compatibility update. *
     132
    130133= 2.2.9 - 20th Nov, 2024 =
    131134*WordPress 6.7 compatibility update. *
  • wp-payment/trunk/wp-payment.php

    r3193269 r3232736  
    44Plugin URI: https://www.wpsuperiors.com/wp-payment-details/
    55Description: On site payments through Authorize.NET, PayPal Pro and Stripe with Email Notification. Use shortcode '[WP_PAYMENT_FORM]'.
    6 Version: 2.2.9
     6Version: 2.3.0
    77Author: WPSuperiors
    88Author URI: https://www.wpsuperiors.com
     
    262262    $plugin_links = array(
    263263                '<a href="' . admin_url( 'admin.php?page=payment' ) . '">' . __( 'Payment Gateway') . '</a>',
    264                 '<a href="https://www.wpsuperiors.com/wp-payment-details/">' . __( 'Premium') . '</a>',
     264                '<a href="https://www.wpsuperiors.com/wp-payment-details/">' . __( 'Premium @ 19 USD') . '</a>',
    265265                '<a href="https://www.wpsuperiors.com/wp-payment-layouts/">' . __( 'Layouts') . '</a>',
    266266                '<a href="https://www.wpsuperiors.com/wp-payment/">' . __( 'Documentation') . '</a>',
     
    268268            return array_merge( $plugin_links, $links );
    269269}
     270
     271
     272add_action( 'admin_notices', 'show_premium_buy_notice_wp_payment' );
     273add_action( 'admin_init', 'show_premium_buy_notice_dismissed_wp_payment' );
     274
     275function show_premium_buy_notice_wp_payment() {
     276    $user_id = get_current_user_id();
     277    if ( !get_user_meta( $user_id, 'wps_premium_buy_notice_wp_payment' ) ){
     278        echo '<div class="notice notice-success is-dismissible" style="display:flex;">
     279                <img src="https://wpsuperiors-media.s3.amazonaws.com/wp-content/uploads/2025/01/30163651/limited.png" />
     280                <span style="padding-top:4%; font-size:20px;">Don\'t miss the deal, WP Payment PREMIUM plugin at <b style="font-weight:700;">19 USD</b> only.
     281                <a class="button button-primary" href="?wps-dismissed3" style="margin-top:-5px;">Click To Grab</a></span>
     282            </div>';
     283    }
     284}
     285
     286function show_premium_buy_notice_dismissed_wp_payment() {
     287    $user_id = get_current_user_id();
     288    if ( isset( $_GET['wps-dismissed3'] ) ){
     289        add_user_meta( $user_id, 'wps_premium_buy_notice_wp_payment', 'true', true );
     290        wp_redirect( "https://www.wpsuperiors.com/wp-payment-details/", 301 );
     291        exit();
     292    }
     293}
Note: See TracChangeset for help on using the changeset viewer.