1. This area is dedicated to the support of our xF1 add-ons. For xF2, please use the dedicated area: HERE.
Dismiss Notice
We have just posted about our product policy for XF2.
Click HERE to view it.

Support Problem to set up the add-on

Discussion in 'RM Marketplace' started by marremp, Jul 25, 2018.

  1. marremp

    marremp New Member

    Joined:
    Feb 6, 2017
    Messages:
    10
    Likes Received:
    1
    Adress:
    Paris, Île-de-France, France
    Country:
    Location on Map:
    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
     
  2. MtoR

    MtoR Freaky Coder
    Staff Member

    Joined:
    Nov 14, 2015
    Messages:
    4,626
    Likes Received:
    726
    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
     
  3. marremp

    marremp New Member

    Joined:
    Feb 6, 2017
    Messages:
    10
    Likes Received:
    1
    Adress:
    Paris, Île-de-France, France
    Country:
    Location on Map:
    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.
     
  4. marremp

    marremp New Member

    Joined:
    Feb 6, 2017
    Messages:
    10
    Likes Received:
    1
    Adress:
    Paris, Île-de-France, France
    Country:
    Location on Map:
    I have checked the template xfa_rmmp_resource_view_header is correctly called
    But no button...
     
  5. MtoR

    MtoR Freaky Coder
    Staff Member

    Joined:
    Nov 14, 2015
    Messages:
    4,626
    Likes Received:
    726
    Did you try with the default style ?

    What kind of resource/sale type is it ?

    Were you as a visitor or connected ?
     
  6. marremp

    marremp New Member

    Joined:
    Feb 6, 2017
    Messages:
    10
    Likes Received:
    1
    Adress:
    Paris, Île-de-France, France
    Country:
    Location on Map:
    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
     
  7. MtoR

    MtoR Freaky Coder
    Staff Member

    Joined:
    Nov 14, 2015
    Messages:
    4,626
    Likes Received:
    726
  8. marremp

    marremp New Member

    Joined:
    Feb 6, 2017
    Messages:
    10
    Likes Received:
    1
    Adress:
    Paris, Île-de-France, France
    Country:
    Location on Map:
    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 ?

    Indeed, the button appears on every resource now. Where this problem could come from ?
     
  9. MtoR

    MtoR Freaky Coder
    Staff Member

    Joined:
    Nov 14, 2015
    Messages:
    4,626
    Likes Received:
    726
    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
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice