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

Paid Subscriptions

Discussion in 'XenForo Questions and Support' started by hally, Apr 1, 2012.

  1. hally

    hally Member

    I have been running the paid subscription system in our XF installation without issue and it is upgrading users etc. when it is supposed to.

    The only issue I have is that we send an item out to users who upgrade, and the users address is not coming through on Paypal. On VB I am sure there was a setting to require an address.

    I have trawled through the Paypal setting and cant seem to find anything to make sure an address comes through with the payment.

    Has anyone overcome this issue?

    Thanks in advance.

    Chris
     
  2. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    Try this:

    Admin CP -> Appearance -> Templates -> account_upgrades

    There is a shipping option there:

    Code:
    						<input type="hidden" name="business" value="{$xenOptions.payPalPrimaryAccount}" />
    						<input type="hidden" name="currency_code" value="{$upgrade.currency}" />
    						<input type="hidden" name="item_name" value="{xen:phrase account_upgrade}: {$upgrade.title} ({$visitor.username})" />
    						<input type="hidden" name="quantity" value="1" />
    						<input type="hidden" name="no_note" value="1" />
    						<input type="hidden" name="no_shipping" value="1" />
    						<input type="hidden" name="custom" value="{$visitor.user_id},{$upgrade.user_upgrade_id},token,{$visitor.csrf_token_page}" />
    						
    						<input type="hidden" name="charset" value="utf-8" />
    						<input type="hidden" name="email" value="{$visitor.email}" />
    
    You can change the value. See this document:

    https://merchant.paypal.com/us/cgi-...howto_html_Appx_websitestandard_htmlvariables

    Screen shot 2012-04-01 at 3.23.32 AM.png
     
    ArnyVee and hally like this.
  3. hally

    hally Member

    Legend.

    Thanks for the help!
     

Share This Page