Plugin Directory

Changeset 2548281


Ignore:
Timestamp:
06/15/2021 02:39:53 PM (5 years ago)
Author:
freshlightlab
Message:

Update Readme and PHP

Location:
payments-stripe-gateway/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • payments-stripe-gateway/trunk/payments-stripe-gateway.php

    r2542675 r2548281  
    11<?php
    22/**
    3  * Plugin Name: Payments Stripe Gateway
    4  * Description: Sell your products with Stripe in 5 minutes
    5  * Version: 1.0
     3 * Plugin Name: Pay With Stripe
     4 * Description: Sell your products with Stripe in 5 minutes. Using the Stripe checkout and Stripe checkout was never easier.
     5 * Version: 1.0.1
    66 * Author: Freshlight Lab
    77 * Tested up to: 5.7
     
    1616}
    1717
     18if ( ! function_exists( 'pws_fs' ) ) {
     19    // Create a helper function for easy SDK access.
     20    function pws_fs() {
     21        global $pws_fs;
     22
     23        if ( ! isset( $pws_fs ) ) {
     24            // Activate multisite network integration.
     25            if ( ! defined( 'WP_FS__PRODUCT_8498_MULTISITE' ) ) {
     26                define( 'WP_FS__PRODUCT_8498_MULTISITE', true );
     27            }
     28
     29            // Include Freemius SDK.
     30            require_once dirname(__FILE__) . '/freemius/start.php';
     31
     32            $pws_fs = fs_dynamic_init( array(
     33                'id'                  => '8498',
     34                'slug'                => 'payments-stripe-gateway',
     35                'type'                => 'plugin',
     36                'public_key'          => 'pk_c09f03949c3efba9dc87cce85230a',
     37                'is_premium'          => false,
     38                'has_addons'          => false,
     39                'has_paid_plans'      => false,
     40                'menu'                => array(
     41                    'slug'           => 'pay-with-stripe-options',
     42                ),
     43            ) );
     44        }
     45
     46        return $pws_fs;
     47    }
     48
     49    // Init Freemius.
     50    pws_fs();
     51    // Signal that SDK was initiated.
     52    do_action( 'pws_fs_loaded' );
     53}
     54
    1855// Define constant with the plugin version.
    19 define( 'PAY_WITH_STRIPE_VERSION', '1.0' );
     56define( 'PAY_WITH_STRIPE_VERSION', '1.0.1' );
    2057
    2158// Require options logic.
  • payments-stripe-gateway/trunk/readme.txt

    r2547364 r2548281  
    55Tested up to: 5.7
    66Requires PHP: 5.6
    7 Stable tag: 1.0
     7Stable tag: 1.0.1
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    1313
    1414== Description ==
    15 Pay with Stripe will allow you to sell your products on your WordPress website without any other complex e-commerce plugin.
     15Sell your products with Stripe in 5 minutes. Using the Stripe checkout and Stripe checkout was never easier.
    1616
    1717Just grab the price ID in Stripe and use it like in the shortcode below.
     
    4141== Changelog ==
    4242
     43= 1.0.1 =
     44Include Freemius SDK
     45
    4346= 1.0 =
    4447Initial Version
Note: See TracChangeset for help on using the changeset viewer.