Need Paypal code for iDEV affialites plugin & Membership 2 Pro

We're unable to get the iDEV affiliates plugin for M2P working. https://blog.idevaffiliate.com/affiliate-plugin-for-membership-2-pro-by-wpmu-dev/

We would like to get the Paypal code that M2P generates, so we can follow the instructions provided here:

https://www.screencast.com/t/PhHX098eEk0

I realise iDEV is not your product, but we've been struggling to get this working for months.

  • James Morris

    Hello Pavel Reyes Jiménez

    I hope you are well today.

    Here's the code output that Membership 2 Pro generates. Please note that you will need to update the form values appropriately. Membership 2 Pro doesn't use a Button for subscription based memberships, but rather a form that passes several bits of data on to PayPal.

    <form action="https://www.sandbox.paypal.com/cgi-bin/webscr" method="post" id="ms-paypal-form">
            <input class="wpmui-field-input wpmui-hidden " type="hidden" id="_wpnonce" name="_wpnonce" value="6787ab9329">
            <input class="wpmui-field-input wpmui-hidden " type="hidden" id="charset" name="charset" value="utf-8">
            <input class="wpmui-field-input wpmui-hidden " type="hidden" id="business" name="business" value="**********_api1.*****.com">
            <input class="wpmui-field-input wpmui-hidden " type="hidden" id="cmd" name="cmd" value="_xclick-subscriptions">
            <input class="wpmui-field-input wpmui-hidden " type="hidden" id="bn" name="bn" value="incsub_SP">
            <input class="wpmui-field-input wpmui-hidden " type="hidden" id="item_name" name="item_name" value="Wholesale">
            <input class="wpmui-field-input wpmui-hidden " type="hidden" id="no_shipping" name="no_shipping" value="1">
            <input class="wpmui-field-input wpmui-hidden " type="hidden" id="item_number" name="item_number" value="60">
            <input class="wpmui-field-input wpmui-hidden " type="hidden" id="currency_code" name="currency_code" value="USD">
            <input class="wpmui-field-input wpmui-hidden " type="hidden" id="return" name="return" value="http://ss.**********.com/registration-complete/?ms_relationship_id=250">
            <input class="wpmui-field-input wpmui-hidden " type="hidden" id="cancel_return" name="cancel_return" value="http://ss.**********.com/register/">
            <input class="wpmui-field-input wpmui-hidden " type="hidden" id="notify_url" name="notify_url" value="http://ss.**********.com/ms-payment-return/paypalstandard">
            <input class="wpmui-field-input wpmui-hidden " type="hidden" id="country" name="country" value="US">
            <input class="wpmui-field-input wpmui-hidden " type="hidden" id="no_note" name="no_note" value="1">
            <input class="wpmui-field-input wpmui-hidden " type="hidden" id="invoice" name="invoice" value="251">
            <input type="image" class="wpmui-field-input wpmui-input-image " id="submit" name="submit" border="0" src="https://www.paypal.com/en_US/i/btn/btn_subscribe_LG.gif" alt="PayPal - The safer, easier way to pay online">
            <input class="wpmui-field-input wpmui-hidden " type="hidden" id="p3" name="p3" value="5">
            <input class="wpmui-field-input wpmui-hidden " type="hidden" id="t3" name="t3" value="Y">
            <input class="wpmui-field-input wpmui-hidden " type="hidden" id="a3" name="a3" value="999.00">
            <input class="wpmui-field-input wpmui-hidden " type="hidden" id="amount" name="amount" value="999.00">
            <input class="wpmui-field-input wpmui-hidden " type="hidden" id="src" name="src" value="0">
            <input class="wpmui-field-input wpmui-hidden " type="hidden" id="modify" name="modify" value="0">
            <input class="wpmui-field-input wpmui-hidden " type="hidden" id="custom" name="custom" value="2018-06-05 05:27:42 | 999.00 | permanent (5Y) | ms_id 60 ">
            <input class="wpmui-field-input wpmui-hidden " type="hidden" id="rm" name="rm" value="2">
            <img alt="" border="0" width="1" height="1" src="https://www.paypal.com/en_US/i/scr/pixel.gif">
    </form>

    I hope this clarifies a bit. Let us know if you have any further questions. We'll be happy to help! :slight_smile:

    Best regards,

    James Morris

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.