• 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?

surfsup

Well-known member
#1
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?
 

Blue

Well-known member
#2
I think Paypal has a place to enter a redirect page. I use the notice system instead of a redirect.
 

Jake Bunce

XenForo moderator
Staff member
#3
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
 

melbo

Well-known member
#4
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!
 

Jake Bunce

XenForo moderator
Staff member
#5
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}" />