[XFA] Forum Sales - XF2

xF2 Add-on [XFA] Forum Sales - XF2 3.0.1

No permission to download

Best223

Well-known member
Registered
Joined
Mar 20, 2021
Messages
51
Points
28

Reputation:

Installed. But nothing appears. how to set it up? when posting there are no additional fields
 

BattleKing

Spirit of darkness
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P Member
Collaborate
Registered
Joined
May 24, 2020
Messages
3,514
Points
523

Reputation:

did you installed the XFA Core Addon as well?
 

Best223

Well-known member
Registered
Joined
Mar 20, 2021
Messages
51
Points
28

Reputation:

Maybe you need to enable it somewhere after installation? Does this plugin work for you?
 

Best223

Well-known member
Registered
Joined
Mar 20, 2021
Messages
51
Points
28

Reputation:

You see, there are no additional fields. Everything remained standard! Please tell me how to solve this?
 

Attachments

  • 333333.png
    333333.png
    14.3 KB · Views: 116

BattleKing

Spirit of darkness
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P Member
Collaborate
Registered
Joined
May 24, 2020
Messages
3,514
Points
523

Reputation:

you need to setup the permissions, if sell or buying is allowed for these user groups

1616673457400.png


1616673425600.png
 

BattleKing

Spirit of darkness
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P Member
Collaborate
Registered
Joined
May 24, 2020
Messages
3,514
Points
523

Reputation:

@Best223 it works wonderful, no problems, just retested it with a fresh installation
 

Best223

Well-known member
Registered
Joined
Mar 20, 2021
Messages
51
Points
28

Reputation:

Thank! That helped! But now when I press this button. See screenshot. The following error appears in the admin panel.

Code:
ErrorException: Fatal Error: XFA\Core\Service\PayPal\AbstractExpressCheckout::__construct(): Failed opening required '/home/n/nbnicmd4/auctioncms.online/public_html/internal_data/PPConfiguration.php' (include_path='.:/usr/share/php') src/addons/XFA/Core/Service/PayPal/AbstractExpressCheckout.php:27
Generated by: Best223 Mar 25, 2021 at 1:00 PM
Stack trace
#0 [internal function]: XF::handleFatalError()
#1 {main}
Request state
array(4) {
  ["url"] => string(300) "/threads/%D0%BA%D0%BF%D1%83%D0%BF%D1%83%D0%BF%D1%83%D0%BA%D0%BF.27/forum-sale-purchase?_xfRequestUri=%2Fthreads%2F%25D0%25BA%25D0%25BF%25D1%2583%25D0%25BF%25D1%2583%25D0%25BF%25D1%2583%25D0%25BA%25D0%25BF.27%2F&_xfWithData=1&_xfToken=1616677241%2Cbd444b713f81a548541ade516612ea43&_xfResponseType=json"
  ["referrer"] => string(92) "https://auctioncms.online/threads/%D0%BA%D0%BF%D1%83%D0%BF%D1%83%D0%BF%D1%83%D0%BA%D0%BF.27/"
  ["_GET"] => array(4) {
    ["_xfRequestUri"] => string(67) "/threads/%D0%BA%D0%BF%D1%83%D0%BF%D1%83%D0%BF%D1%83%D0%BA%D0%BF.27/"
    ["_xfWithData"] => string(1) "1"
    ["_xfToken"] => string(43) "1616677241,bd444b713f81a548541ade516612ea43"
    ["_xfResponseType"] => string(4) "json"
  }
  ["_POST"] => array(0) {
  }
}


Please tell me what does it mean? How to solve it?
 

Attachments

  • 0111.png
    0111.png
    68.5 KB · Views: 128
  • 0333.png
    0333.png
    13.9 KB · Views: 122

BattleKing

Spirit of darkness
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P Member
Collaborate
Registered
Joined
May 24, 2020
Messages
3,514
Points
523

Reputation:

Which version of Xenforo are you using.
 

BattleKing

Spirit of darkness
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P Member
Collaborate
Registered
Joined
May 24, 2020
Messages
3,514
Points
523

Reputation:

@Best223 did you create the PPConfiguration.php file with the right content ? There is a testing mode and a live mode
 

Best223

Well-known member
Registered
Joined
Mar 20, 2021
Messages
51
Points
28

Reputation:

@BattleKing PPConfiguration.php Unfortunately not. I can create this file, but what should I specify inside this file? What content does this file need? Tell me please?
 

BattleKing

Spirit of darkness
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P Member
Collaborate
Registered
Joined
May 24, 2020
Messages
3,514
Points
523

Reputation:

@Best223 in src\addons\XFA\Core there is an example file
Did you created a pp payment in your board?
 

Best223

Well-known member
Registered
Joined
Mar 20, 2021
Messages
51
Points
28

Reputation:

@BattleKing I have made a payment profile yes. And what needs to be done with the file you wrote about? Which is in the folder in src\addons\XFA\Core
 

Attachments

  • 058888.png
    058888.png
    20.6 KB · Views: 120
  • 0599999.png
    0599999.png
    11.2 KB · Views: 130

BattleKing

Spirit of darkness
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P Member
Collaborate
Registered
Joined
May 24, 2020
Messages
3,514
Points
523

Reputation:

@Best223 If i understand the addon, then it will use his own configuration to use the paypal api calls. The file in that folder has the ext. txt and is just an exmaple file, open it and you will see what you have to enter. There is a section for sandbox use, to test the functionality and a live section, here you have to enter your credentials for PP API calls.

The file need then to be placed into the internal_data folder.
 

Best223

Well-known member
Registered
Joined
Mar 20, 2021
Messages
51
Points
28

Reputation:

@BattleKing Sorry, could you show with an example of your file? What should be indicated there? How to correctly point out, I just need to visually look at the example to understand! You can cover up some of the secret keys! it's just that it says sandbox everywhere. But do I understand you need to specify live there?
 

Attachments

  • live333.png
    live333.png
    6.1 KB · Views: 109
  • live.png
    live.png
    23.1 KB · Views: 116

BattleKing

Spirit of darkness
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P Member
Collaborate
Registered
Joined
May 24, 2020
Messages
3,514
Points
523

Reputation:

@Best223 let s try to explain:

the Sandbox Mode can be activated in the configuration of the addon, which will be read by the first circle you marked. the flags in each of the section is just telling if this is a sandbox account or not, like true and false. So first section is a sandbox one and the other one is the live one.

The user and client id and possible signature need to be filled on the top of the file, please check the link at the top of that file
 

BattleKing

Spirit of darkness
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P Member
Collaborate
Registered
Joined
May 24, 2020
Messages
3,514
Points
523

Reputation:

Paypal API credentials retrieval

Two possibilities, either you have a Business account or a Standard account.

Business Account

If you have a business paypal account, connect to your paypal account and go to the tools page:

On the new opening page, select the API credentials:

Then click on the Add or edit API permissions button:

For this tutorial, we will assume that no API credentials are available, so you should be seeing a Request API credentials link on the right side, click it:

As we are using a library that only supports signature, only signature certificates will work with RM MarketPlace.

Once you click on Agree and Submit, you will get a new page with 3 credentials that you have to note, we will see later how to use them:

Standard Account

UPDATE 2019/08/01: Apparently, as of now, API account setting is not available anymore for standard accounts.


If you have a standard paypal account, connect to your paypal account and go to the seller preferences page:

On the new opening page, click on the Update link next to the API access part:

For this tutorial, we will assume that no API credentials are available, so you should be seeing a Request API credentials link on the right side, click it:

As we are using a library that only supports signature, only signature certificates will work with our API.

Once you click on Agree and Submit, you will get a new page with 3 credentials that you have to note, we will see later how to use them:

@BattleKing https://xen-factory.com/index.php?threads/rm-marketplace-forum-sales.3321/ some more information
 

ENXF NET

Administrator
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P.S Member
S.V.I.P Member
V.I.P Member
Collaborate
Registered
Joined
Nov 13, 2018
Messages
19,807
Points
823

Reputation:

ENXF NET updated [XFA] Forum Sales - XF2 with a new update entry:

Bug fixes and new features

Don't forget to backup your data before upgrading.

Corrected bugs:
  • "Manage Sales" button is shown in forums where sales is forbidden
  • Warning: InvalidArgumentException: Accessed unknown getter 'xfa_fss_allow_sales'
  • In centralised mode, impossible to purchase an item with shipping costs
  • Item not put in sold state when quantity reaches 0

New features:
  • Now based on Forum type/Thread type XenForo technology
  • Revamped forum list/thread view depending...

Read the rest of this update entry...
 
Top