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

XF 1.1 PayPal Integration problems - step by step guide

Discussion in 'Troubleshooting and Problems' started by snoopy5, Jul 8, 2013.

  1. snoopy5

    snoopy5 Well-Known Member

    Hi

    I use XF 1.1.3 and I have problems with the PayPal integration while running several XF-installation with one PayPal account.

    I thought it might be a good idea and collect a kind of step by step guide for the newest PayPal technology, so others with the same problems can benefit of it. With the search function, I found this:

    http://xenforo.com/help/user-upgrades/

    The main problem is, that this:

    does not work as soon as you have more than one site with a single paypal account.

    I called PayPal support and they said that I need to disable the IPN function (actually I have to - this is mandatory to be able to work with API) within my PayPal account to be able to use this account for more than one xf-installation and different domainnames.

    I should rather use the API function. Otherwise PayPal will not work, the usrs will not get upgraded although they paid for it.

    It seems that this is not possible with XF. At least I do not know where to put the API data into XF, such as:

    API-username
    API-Password

    If I only work with IPN settings and the callback.php URL, the paypal function will not work with my second XF-installation, since this has another domainname and therfore another callback.php URL.

    So how can I resolve this problem?

    Thanks in advance
     
  2. Mike

    Mike XenForo Developer Staff Member

    You can only use IPNs.

    The URL you enter there doesn't really matter. It's just to enable the IPN callback system in PayPal as we pass the IPN URL along with the request. There shouldn't be an issue using a PP account with 2 XF installs.

    However, if PP is telling you that you have to disable IPNs to use a different PP system, you would need to create a separate PP account.
     
  3. snoopy5

    snoopy5 Well-Known Member

    Does that mean that the user will automatically be upgraded in XF even if there is no IPN in PayPal?

    As far as I know, I am not allowed to have different PayPal accounts.
     
  4. Mike

    Mike XenForo Developer Staff Member

    You must enable IPNs, but the actual URL entered doesn't matter.
     
  5. snoopy5

    snoopy5 Well-Known Member

    o.k., thanks. Just tested it. This works.

    Just one question to clarify. How does paypal know after completing the transaction where to guide the user?

    As an example:

    I have now in the IPN URL field within PayPal the URL of domain 1. just "www.mydomain1.com" without subdomians. PayPal guides me to "www.xfforum.domain1.com" where the XF forum is really located. How does Paypal know this subdomain?
     
  6. Mike

    Mike XenForo Developer Staff Member

    You can specify these when sending the user to PayPal.
     
  7. snoopy5

    snoopy5 Well-Known Member

    How and where?
     

Share This Page