Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter techsolsint

    (@techsolsint)

    I found solution for the plugin.
    Can you please change

    if ( ! defined( 'ABSPATH' ) )
        exit; //Exit if accessed directly
    
    if ( version_compare( PHP_VERSION, '5.4.0' ) >= 0 ) {
        if ( session_status() == PHP_SESSION_NONE ) {
    	session_start();
        }
    } else {
        if ( session_id() == '' ) {
    	session_start();
        }
    }

    to

    if ( ! defined( 'ABSPATH' ) )
        exit; //Exit if accessed directly
    
    if ( version_compare( PHP_VERSION, '5.4.0' ) >= 0 ) {
        if ( session_status() == PHP_SESSION_NONE ) {
    	session_start(['read_and_close' => true]);
        }
    } else {
        if ( session_id() == '' ) {
    	session_start(['read_and_close' => true]);
        }
    }

    And send plugin update so I can keep my plugin upto date with your SVN Repository

    Plugin Support mbrsolution

    (@mbrsolution)

    Hi, thank you for reaching out to us.

    Please use the new WP Express Checkout plugin which has been created to handle the PayPal API for both digital and normal products.

    Kind regards.

    Thread Starter techsolsint

    (@techsolsint)

    Can you please confirm if this plugin isn’t going to have any future updates?

    Plugin Author mra13

    (@mra13)

    Hi, Yes, we are transitioning the users of this plugin to instead use the following paypal plugin:
    https://wordpress.org/plugins/wp-express-checkout/

    That plugin has the better architecture, features and we are going to be actively developing it. The github repository for it is here:
    https://github.com/Arsenal21/wp-express-checkout

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[NSFW] “REST API encountered an error” after activating plugin on site’ is closed to new replies.