List of topics

  1. pre-requisites
  2. introduction
  3. creation of the payment type and activation of online payments
  4. configuration of tax and document template

 

1. Pre-requisites

Before reading this manual, the following concepts must be familiar:


2. Introduction

  • In order to allow payments via the E-Commerce, it is necessary to configure a payment type. There are two options available for online payments: PAYPAL or NEXI, therefore it will be necessary to create an account with one of the two providers and collect the information the SPORTRICK requests for payment configuration 
  • please note that payments can be only be transferred to a single company account
  • it is mandatory to create a document template for E-Commerce payments and assign a tax to every item sold online. This will also be helpful should the need arise to discern earnings in case of multiple service providers within the same facility (please refer to the tax manual for more info).


3. Creation of the payment type and activation of online payments

To add payment types click on Settings -> Payment Method -> Add

 

You will need to specify:

  • name: name of the payment method: e.g. E-Commerce, online payments...
  • order: leave the field blank

before clicking on OK, click on Integrations 

select the desired payment method (Nexi or PayPal):

  • PayPal: fill in the required fields with the details that you can find in your PayPal account (you will have to register on the PayPal website if you don't have an account yet) 
  • Nexi/Xpay: after selecting XPay in the Integrations section, select paga_multi as service type*, then insert the Alias and the Secret Key of your account.

  

*should an error occur during payment, it can be fixed by leaving the "service type" field empty (click on x to empty it).


Please be careful not to leave spaces when inserting the corresponding parameters of the payment provider. Spaces resulting from copy/pasting can trigger errors during payment procedures!

 

The last step before clicking on OK is to copy the payment ID (see image below). Then click on OK to save.

 

In order to activate online payments, it is necessary  to log into the VAR portal (if you don't have access to the VAR, please contact support@sportrick.com). 

Click on Managed Environments -> View More -> Configurations -> Settings and insert the number 10057 in the Search field and then click on Modify. Click on the box to untick it and then paste the payment ID you have previously copied. Then save. 


Additional Optional VAR Settings

  • number 10019: it is possible to specify an interval in minutes, during which items will be kept in the shopping basket waiting for payment (the default value is 60 minutes). If payment doesn't take place within this interval, the system will automatically empty the basket. Please be careful if you decide to change the default value: if it is too short, the customer might conclude the payment too late and in the meantime the basket got automatically emptied. If this happens, no sale will be recorded in the system although the customer has actually paid;
  • number 10128: ID of the item created in SPORTRICK in order to charge a fee for each E-Commerce payment. To get this ID it is necessary to create an item (Planning -> ProShop -> Items) with the price corresponding to the fee. Once created, click on Edit to find the ID (as shown in the example below) that needs to be pasted in the afore-mentioned configuration of the VAR portal.


4. Configuration of tax and document template

Online payments will only work if a document has been configured:

  1. if there is only one document template to configure for all payments, you can either create a new one or use an existing document template, which can follow an existing numeration or a different one (in this case you will have to create a new numerator). The document template has to be selected in the appropriate field from Settings -> Main Settings -> Social Booking  
  2. if, on the contrary, there are different document templates according to the VAT of the items sold, it will be necessary to make sure that:
  • the correct numerators and document templates have been configured 
  • each tax assigned to items sold online is linked with the necessary document template, as described in the below procedure:
    1. in the item's details, the tax field mustn't be left blank (the item can be VAT free as well, as long as there is a value in the tax field);
       
    2. the tax must be linked with a document template, so that the system can generate it automatically after every payment:
      1. from Settings -> Taxes open the Advanced-Management section and click on Edit
         
      2. click again on Edit  
      3. select the corresponding document template in the Automatic field and click on OK. Then save the changes.