membership return url after paypal payment

Hi, i would like to know how is it possible to redirect a new user who just made a payment in paypal (subscriptions) to a a different url, where could see important info. I noticed that users get return to the home page but that could be confusing, more if you just made a payment


  • Tanmay
    • Flash Drive

    u need to use return HTML variable while coding for your paypal button.

    adding this code will works:

    <input type="hidden" name="return" value="">

    Also u can check other useful parameters here.

    Hit thanks if you find it helpful.

  • jhonatan1988
    • Design Lord, Child of Thor

    Hi, thanks, but can i use this in the membership plugin? in which file could it be possible? actually im unsing “PayPal Express – with subscriptions” gateway. I appreciate if you are more specific because i could check several html forms in paypal addons

    thanks in advanced

  • Tanmay
    • Flash Drive


    Yes you can. you have to add this code to your html code of paypal button:

    <input type="hidden" name="return" value="">


    <form method=post action=>
    <input type=hidden name=USER value=API_username>
    <input type=hidden name=PWD value=API_password>
    <input type=hidden name=SIGNATURE value=API_signature>
    <input type=hidden name=VERSION value=XX.0>
    <input type=hidden name=PAYMENTREQUEST_0_PAYMENTACTION
    <input name=PAYMENTREQUEST_0_AMT value=19.95>
    <input type=hidden name=RETURNURL
    <input type=hidden name=CANCELURL
    <input type=submit name=METHOD value=SetExpressCheckout>

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.