What's new
Xen Factory

Register today to become a member! Once signed in, you'll be able to start purchasing our products, ask questions, request support and suggest new ideas!

  • This area is dedicated to the support of our xF1 add-ons. For xF2, please use the dedicated area: HERE.

Bug Not a bug Blank Page when clicking Buy Button

Freelancer

Member
When I click on the "Buy for XXX" button, the script forwards me to a blank page where the URL looks like that:

https://www.mywebsite.com/threads/selling-item-example.1212/xfa-fss-purchase

But nothing happens...

...except for a Server Error:

Code:
Error Info
Fatal Error: XFA_ForumSales_Extends_ControllerPublic_Thread::main(): Failed opening required 'PPConfiguration.php' (include_path='/var/www/clients/client180/web812/web/library:.') - library/XFA/ThirdParty/Paypal/PPBootStrap.php:8

Stack Trace
#0 [internal function]: XenForo_Application::handleFatalError()
#1 {main}

Request State
Array
(
    [url] => https://www.mywebsite.com/threads/selling-item-example.1212/xfa-fss-purchase
    [_GET] => Array
        (
            [/threads/selling-item-example_1212/xfa-fss-purchase] =>
        )

    [_POST] => Array
        (
        )

)

I have [bd] Paygates installed...
 
Okay... I came till the PHP config and when I click the buy button, XF Shows and Error, but there is no "marketplace_paypal.log" generated in Forum Root...
 
I skipped the "marketplaxe_paypal.log" thing and did go directly to configure the App API, which brought me to the "Live App ID". That I pasted into the config file PPConfiguration.php and put both debug lines from "FINE" to "ERROR" back again but the Error "We couldn't initialize the communication with Paypal, please contact our staff." still remains...

Don't I have to put anything here below?

credentials.jpg
 
You do, it's explained in the manual on page 3 and the previous page explains how to get those.

Did you read the whole FAQ I pointed out ?
 
Okay, filled in the credentials. Now Credentials, APP ID and debug is as it should be... still getting the Error...

By the way, if I click "sandbox activated" in the options in acp, it works.
 
Last edited:
It means there is an issue with your setup.
Do you have a verified paypal account ?

Otherwise you can wait for the next release as I am moving to the same API than I did for Marketplace (under development).
 
What do you mean with verified? I have real business account.

When will the new version come? I really need a solution fast.
 
Last edited:
Verified is a status of paypal.

Anyways, perhaps you misconfigured the application also.

I should be releasing the new forum sales update by the end of the week, so if that's fine I suggest for you to wait.
 
Yeah, the setup will be easier as it only needs the configuration of the API authorization, no application creation anymore.
 
With version 1.2 it works now! :) ( ... at least it forwards directly to PayPal without error, but I haven't made a real transaction yet...)

By the way, I deleted the entire "PayPal" folder in the /library/XFA/ThirdParty/ . I guess it is not needed anymore because of "AngellEye"...
 
Top