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.

Support Problem to set up the add-on

marremp

New Member
Hello,
I just bought your marketplace add-on for XF1, and I can't manage to put products on sale.

I created a new resource category, set it up for product selling, defined permissions for sellers and created a product for sale.

When a user goes to the product page, the download button is greyed like this :
upload_2018-7-25_11-0-46.png

and if he clicks on the button, this is what he gets :
upload_2018-7-25_11-1-47.png

Is there a permission or an option somewhere to activate to let users purchase products ?

Many thanks !

Marina
 
Hello,

No there is no such option. Perhaps the template modification doesn't get applied as it should.

Are all the template modifications related to Marketplace working ?

Clément
 
I checked template modifications for resource_view_header, they are correctly applied, but it since this condition is not working :
<xen:if is="{$resource}" AND {$resource.showMarketPlace}>
If I remove this condition, the button totally disappear.
 
Did you try with the default style ?

What kind of resource/sale type is it ?

Were you as a visitor or connected ?
 
Hello,

I tested as connected user, with a digital type of product, also with the default style.
I managed today to show the button by modifying the template modification, removing this condition " {$resource.showMarketPlace}". The button disappears for the product owner (normal behaviour I think ?) but is visible now for connected user.
When the connected user tries to purchase, this is what we get now :

Warning: Uncaught exception 'ErrorException' with message 'require_once(PPConfiguration.php): failed to open stream: No such file or directory' in /var/www/xxx/forums/library/XFA/ThirdParty/AngellEye/paypal-php-library/autoload.php:3 Stack trace: #0 /var/www/xxx/forums/library/XFA/ThirdParty/AngellEye/paypal-php-library/autoload.php(3): XenForo_Application::handlePhpError(2, 'require_once(PP...', '/var/www/xxx...', 3, Array) #1 /var/www/xxx/forums/library/XFA/ThirdParty/AngellEye/paypal-php-library/autoload.php(3): require_once() #2 /var/www/xxx/forums/library/XFA/RMMarketPlace/ControllerPublic/Purchase.php(379): require_once('/var/www/lerepa...') #3 /var/www/xxx/forums/library/XenForo/FrontController.php(369): XFA_RMMarketPlace_ControllerPublic_Purchase->actionPurchase() #4 /var/www/xxx/forums/library/XenForo/FrontController.php(152): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch)) #5 /var/www/xxx/forums/index.php(13): XenForo_FrontController->run() #6 in /var/www/xxx/forums/library/XFA/ThirdParty/AngellEye/paypal-php-library/autoload.php on line 3

Fatal error: main(): Failed opening required 'PPConfiguration.php' (include_path='/var/www/xxx/forums/library:.') in /var/www/xxx/forums/library/XFA/ThirdParty/AngellEye/paypal-php-library/autoload.php on line 3

Many thanks for your help

Marina
 
Hello Clément, thanks for your help !
So I followed the FAQ and I managed to get the paypal payment page.

Is it normal that the details of commission appears on the payment page ? I am using paypal sandbox, is it the same in the real process ?

If yes, is there a way to change this ? option in paypal or in your add-on ?

It's not normal that you had to remove the condition, with that modification I believe the button appears everywhere, am I wrong ?
Indeed, the button appears on every resource now. Where this problem could come from ?
 
Hello,

Yes it's normal, it's using parallel payment feature so it's in fact two payments going through.
There is no way to change this.

Regarding the showMarketPlace condition, it's set if a category is set in the response and the category configuration is set to allow sales and the resource is for sale.

Clément
 

From bespoke add-on development to complex integrations and specialized enhancements, we offer a range of XenForo development services designed to help your community thrive.

Start discussing your needs
Back
Top
Cart