• Hello. I´ve posted this before on the support section of PMPRO and realized afterwards that it may make more sense to have it here.

    I´ve been testing PMPro trying to understand if i can achieve a few things, but with mixed results. Maybe you can help out and tell me if the following is possible to achieve with this plugin.
    I have a WP multisite installation and i want to setup a few monthly memberships (each with their own price and a few days of trial period) allowing users to create their own blog on a sub-domain. Each user must be able to create ONLY one blog. Best case scenario would be to have a different role assigned to the user according to the subscription purchased. So far, so good – i can achieve all this with PMPro and a few of its addons. Perfect!
    But i need to use WooCoomerce, as it allows me to use a few payment gateways which are specific to my country. If i use the PMPro/WooCoomerce addon, is this scenario still possible?
    Any help is appreciatted.

    https://ww.wp.xz.cn/plugins/pmpro-woocommerce/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi ,

    Did you manage to get anywhere with this ?

    I am trying to setup something similar and also have needs for woocommerce as they support a payment gateway specific to my country.

    Regards
    Glen

    Thread Starter mentolnet

    (@mentolnet)

    Hi there. I posted the same question over at the support of the main plugin (PMPro) and got a few answers, although the solution is not easy, if even possible. Check it out here:
    http://ww.wp.xz.cn/support/topic/is-this-possible-to-achieve-with-paid-memberships-pro

    Hey guys,

    It would be complicated to get those fields in the WooCommerce checkout page. However, if “site credits” are set up, users can also create and add their own sites from the “manage sites” page:
    (from the readme.txt)

    `
    To use site credits:

    1. Set the “PMPRO_NETWORK_MANAGE_SITES_SLUG” constant in the pmpro-network.php file.
    2. Add code like this to your main site’s active theme’s functions.php or another custom plugin:

    //set site credits for levels 1-3
    function pmpro_multi_pmpron_site_credits($credits, $user_id, $level_id)
    {
    if($level_id == 1)
    $credits = 1;
    elseif($level_id == 2)
    $credits = 3;
    elseif($level_id == 3)
    $credits = 9999;

    return $credits;
    }
    add_filter(“pmpron_site_credits”, “pmpro_multi_pmpron_site_credits”, 10, 3);
    `

    Note, you will also need to add the shortcode [pmpron_manage_sites] to the Manage Sites page you create.

    This way, your users will be given their site credits the same time they are given a membership level, so you can just direct users to the Manage Sites page to add a site instead of having them create it at checkout. Does that clear things up?

    Thanks,
    Jess

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Help with PMPRO/WooCommerce’ is closed to new replies.