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.
  • We are aware that a no permission error was shown when you tried to purchase in the last 2 days, this is now fixed.

Support Resolved Add on not working

Hello,

I have set up the PPC.configuration.php.txt as instructed, also set up my PayPal business account as instructed, gave myself permissions (administrator) and allowed sales in a particular form, but when attempting to buy the product, clicking the button directs me to a blank page. Also the button is in an odd place, can it be positioned elsewhere like in the thread perhaps?

Screen Shot 2017-03-11 at 9.28.45 AM.png

Screen Shot 2017-03-11 at 9.31.02 AM.png
 
You have removed the .txt extension ?
I didn't see that in the instructions, so now I have removed the extension, but there are 2 files of the same name, do I delete the .txt version? Also, after the change and trying to purchase the item I get this - see screen shot.

Screen Shot 2017-03-11 at 11.09.02 AM.png

Screen Shot 2017-03-11 at 11.12.55 AM.png
 
Yes indeed you have to remove the .txt file.

Do you have any error in the error logs of xf ?
 
Yes indeed you have to remove the .txt file.

Do you have any error in the error logs of xf ?
Yes.
Code:
ErrorException: Undefined index: usd - library/XFA/ForumSales/Extends/ControllerPublic/Forum.php:37
Generated By: admin, 24 minutes ago
Stack Trace
#0 /home/admin/public_html/community/library/XFA/ForumSales/Extends/ControllerPublic/Forum.php(37): XenForo_Application::handlePhpError(8, 'Undefined index...', '/home/admin/pub...', 37, Array)
#1 /home/admin/public_html/community/library/XenForo/FrontController.php(351): XFA_ForumSales_Extends_ControllerPublic_Forum->actionAddThread()
#2 /home/admin/public_html/community/library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
#3 /home/admin/public_html/community/index.php(13): XenForo_FrontController->run()
#4 {main}
Request State
array(3) {
  ["url"] => string(70) "https://sphynxlair.com/community/forums/sphynxlair-store.62/add-thread"
  ["_GET"] => array(0) {
  }
  ["_POST"] => array(20) {
    ["title"] => string(5) "test "
    ["message_html"] => string(11) "<p>test</p>"
    ["_xfRelativeResolver"] => string(73) "https://sphynxlair.com/community/forums/sphynxlair-store.62/create-thread"
    ["xfa_sell"] => string(1) "1"
    ["xfa_fss_quantity"] => string(1) "1"
    ["xfa_fss_price"] => string(4) "1.00"
    ["xfa_fss_currency"] => string(3) "usd"
    ["xfa_fss_paypal_email"] => string(22) ""
    ["tags"] => string(0) ""
    ["attachment_hash"] => string(32) ""
    ["use_own_style"] => string(1) "1"
    ["watch_thread"] => string(1) "1"
    ["watch_thread_state"] => string(1) "1"
    ["discussion_open"] => string(1) "1"
    ["_set"] => array(2) {
      ["discussion_open"] => string(1) "1"
      ["sticky"] => string(1) "1"
    }
    ["poll"] => array(5) {
      ["question"] => string(0) ""
      ["responses"] => array(2) {
        [0] => string(0) ""
        [1] => string(0) ""
      }
      ["max_votes_type"] => string(6) "single"
      ["change_vote"] => string(1) "1"
      ["view_results_unvoted"] => string(1) "1"
    }
    ["_xfToken"] => string(8) "********"
    ["_xfRequestUri"] => string(51) "/community/forums/sphynxlair-store.62/create-thread"
    ["_xfNoRedirect"] => string(1) "1"
    ["_xfResponseType"] => string(4) "json"
  }
}
Delete...Close
 
Hum would be odd that the code produces error with that version.
Would it be possible to get access to your ftp + an admin account to try to find the error on your setup as I am not able to reproduce ?

Or try to guide you through debugging live ?

Clément
 
Hum would be odd that the code produces error with that version.
Would it be possible to get access to your ftp + an admin account to try to find the error on your setup as I am not able to reproduce ?

Or try to guide you through debugging live ?

Clément
I'm sure that the files were uploaded correctly. If needed I guess I could give you FTP access. I will give you admin access for now on the site and perhaps you can see something there. I will send the info via conversation to you.
 
Surely but this is to perform some live debug so I really need them.
Will be off as we go for lunch to friends but will check when back home.
 
Each new thread I make with a sale item gives me this server error.
Code:
ErrorException: Undefined index: usd - library/XFA/ForumSales/Extends/ControllerPublic/Forum.php:37
Generated By: admin, 2 minutes ago
Stack Trace
#0 /home/admin/public_html/community/library/XFA/ForumSales/Extends/ControllerPublic/Forum.php(37): XenForo_Application::handlePhpError(8, 'Undefined index...', '/home/admin/pub...', 37, Array)
#1 /home/admin/public_html/community/library/XenForo/FrontController.php(351): XFA_ForumSales_Extends_ControllerPublic_Forum->actionAddThread()
#2 /home/admin/public_html/community/library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
#3 /home/admin/public_html/community/index.php(13): XenForo_FrontController->run()
#4 {main}
Request State
array(3) {
  ["url"] => string(70) "https://sphynxlair.com/community/forums/sphynxlair-store.62/add-thread"
  ["_GET"] => array(0) {
  }
  ["_POST"] => array(21) {
    ["title"] => string(10) "Test 2 Pay"
    ["message_html"] => string(11) "<p>test</p>"
    ["_xfRelativeResolver"] => string(73) "https://sphynxlair.com/community/forums/sphynxlair-store.62/create-thread"
    ["xfa_sell"] => string(1) "1"
    ["xfa_fss_quantity"] => string(1) "1"
    ["xfa_fss_price"] => string(4) "1.00"
    ["xfa_fss_currency"] => string(3) "usd"
    ["xfa_fss_paypal_email"] => string(22) "tom.com"
    ["xfa_fss_require_address"] => string(1) "1"
    ["tags"] => string(0) ""
    ["attachment_hash"] => string(32) "376d84c0dfdbc"
    ["use_own_style"] => string(1) "1"
    ["watch_thread"] => string(1) "1"
    ["watch_thread_state"] => string(1) "1"
    ["discussion_open"] => string(1) "1"
    ["_set"] => array(2) {
      ["discussion_open"] => string(1) "1"
      ["sticky"] => string(1) "1"
    }
    ["poll"] => array(5) {
      ["question"] => string(0) ""
      ["responses"] => array(2) {
        [0] => string(0) ""
        [1] => string(0) ""
      }
      ["max_votes_type"] => string(6) "single"
      ["change_vote"] => string(1) "1"
      ["view_results_unvoted"] => string(1) "1"
    }
    ["_xfToken"] => string(8) "********"
    ["_xfRequestUri"] => string(51) "/community/forums/sphynxlair-store.62/create-thread"
    ["_xfNoRedirect"] => string(1) "1"
    ["_xfResponseType"] => string(4) "json"
  }
}
 
I will try to debug (hoping the credentials you gave me are still active) on your site as I can't reproduce.
 
Top