1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

How to re-direct after a user upgrade purchase subscription?

Discussion in 'XenForo Questions and Support' started by surfsup, Aug 5, 2012.

  1. surfsup

    surfsup Well-Known Member

    After someone purchases a user upgrade subscription, how can I set it that it will take them to a certain landing page with a break down of the features we offer them?
     
  2. Blue

    Blue Well-Known Member

    I think Paypal has a place to enter a redirect page. I use the notice system instead of a redirect.
     
  3. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    Admin CP -> Appearance -> Templates -> account_upgrades

    This form field defines the return URL:

    Code:
    <input type="hidden" name="return" value="{$requestPaths.fullBasePath}{xen:link account/upgrade-purchase}" />
    
    The content of that return page is defined by this template:

    Admin CP -> Appearance -> Templates -> account_upgrade_purchase
     
  4. melbo

    melbo Well-Known Member

    Hi Jake,
    I don't see any return page defined in account_upgrade_purchase:

    Code:
    <xen:title>{xen:phrase account_upgrade_purchased}</xen:title>
     
    <p>{xen:phrase thank_you_for_purchasing_this_upgrade}</p>
     
    <p>{xen:phrase when_payment_has_been_approved_your_account_will_be_upgraded}</p>
    Not sure what I'm missing but I'm sure i am!
     
  5. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    The URL of the return page is defined in the account_upgrades template. See my previous post.

    Code:
    <input type="hidden" name="return" value="{$requestPaths.fullBasePath}{xen:link account/upgrade-purchase}" />
    
     

Share This Page