Page tree

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 42 Next »

TIXnGO is the leading secure mobile wallet solution provided by the SecuTix company.

Please refer to this page for the functionalities of the product.

To set up product that can use this interface, please refer this page 

The document describes the features and the setup steps of the interface between SecuTix 360 and TIXnGO

Data streams

Ticket Injection: External printing. When executing this function, the ticket will pass to "printed" status on Secutix, and it will be injected on TIXnGO

Cancelled ticket: Push that has been cancelled in Secutix into TIXnGO. So the new status of the processed ticket will be cancelled on TIXnGO

Controlled ticket: 

Global setup of the interface

As for SecuTix 360, the TixNGo system is perceived as an external printing system. Tickets injected into TIXnGO are considered as printed.

To set it up:

1.) In Organization/Tools/Interfaces create a new External Printing Interface of type "TIXnGO" or "TixnGO with ticket template" (If you want to use the Ticket Template Editor to custom the data send to TIXNGO TIXnGO Customization of the data injected by SecuTix)

2.) Fill in the API URL provided by TIXnGO in the URL field. It must end by organizer/tickets

3.) Fill in the username provided by TIXnGO (I guess the value does not matter)

4.) In the password field, fill in the API key provided by TIXnGO

5.) Inject some test tickets.

The field "Email notification...." allows you to receive emails when one of the asynchronous processes described below is failing.

Ticket injection / Tickets external printing (both names designates the same thing)

The ticket injection process pushes the designated tickets to the TIXnGO system, then to the wallets of the final users.

To activate it, create a schedule to choose which tickets to process.

Recommended frequency

Every 5 minutes.

Batch size

Recommended value: 1000

Comfort variables affecting TIXnGO data.

Comfort variable codeFormatExampleInjected field inside TIXnGONotes
TIXAct

start_of_season
end_of_season
+1d/-1w
dd/mm/yy hh:mm

start_of_season
end_of_season
2w
22/10/23 21:15
activationParameters.time

If not defined, nothing special happens

Parts in blue will be implemented with : STX-128539 - Getting issue details... STATUS

TIXStart

start_of_season
end_of_season
+1d/-1w
dd/mm/yy hh:mm

start_of_season
end_of_season
2w
22/10/23 21:15

event.startTime

If comfort variable is not defined, then the value is taken from the start time of the performance or the start validity date of the ticket.

Parts in blue will be implemented with : STX-128539 - Getting issue details... STATUS

TIXExp

start_of_season
end_of_season
+1d/-1w
dd/mm/yy hh:mm

start_of_season
end_of_season
2w
22/10/23 21:15

event.expirationDate

If comfort variable is not defined, then the value is taken from the end date of the performance + duration (or +24 hours if duration not defined), or the end validity date of the ticket.

Parts in blue will be implemented with : STX-128539 - Getting issue details... STATUS

Further information and more detail:

Point of sales configuration

As this schedule must mark some tickets as printed, as if it had been done by a point of sales, you must set up (once) the sales channel and point of sales codes that will be used for that task.

Filtering

Many filtering options exist by-product(s), by performance(s), by tariff or category code... They are all cumulative (AND logical relation)

Barcode format

Allows adding a prefix/post-fix to the barcode

File number filtering

This one is exclusive to all the other ones. If a file number (file id) is provided, it will exclude all the other fields.

Mandatory ticket holder fields

Please enter here one or many of the following values, separated by commas

FIRSTNAME,LASTNAME,BIRTHDATE,ID_NUMBER,COUNTRY_CODE,BIRTH_REGION,BIRTH_PLACE

Only the tickets having those beneficiary values filled will be sent to TIXnGO.

Main Applicant

Will send the mainApplicant flag to true to TIXnGO only when the beneficiary's first name, last name and email  (and NOT the cultural contact's) are matching those of the buyer.

Simulation mode

If this box is checked, the tickets won't be sent to TIXnGO.

File and contact filter

If file or contact filter are selected, only the tickets associated to the file (resp. tickets associated to the contact) are exported.

Customization of data sent to TIXnGO using the template editor

If you use the ticket template editor to inject tickets, you must configure the following on the Technical tab.

Check the custom ticket details and put {"":""} in the fields.

Please refer to that specific page on how to use the ticket template editor for TIXnGO.

To which contacts are the tickets assigned?

  1. The tickets are assigned to the person defined in the spectatorDetails data pushed to TIXnGO, identified through its email.
  2. By default, the tickets are assigned to the cultural contact, with fallback to the purchaser contact..
  3. But, IF the tickets has been reprinted, it will be assigned to its last known holder, as retrieved from TIXnGO.

In which orders are the ticket pushed?

The tickets are pushed ordered by ticket id. This likely means that ticket from a same order will come together.

Push cancelled and invalidated tickets

This batch pushes the cancelled and invalidated tickets to TIXnGO.

It does not offer a lot of filtering possibilities.

The tickets extracted are all the ones updated (cancelled/invalidated) since the last execution ending OK or Warning.

Recommended frequency

Every 5 minutes.

Date from

This value allows to override the date of the last execution OK or Warning. If you keep it defined in a regular execution, the same tickets will be extracted and pushed over and over.

Batch size

Put a very high value (like 100'000)

What if tickets appears to be missing?

Create another schedule with a Date from defined before the cancellation and run it once.

Push controlled tickets

This batch pushes the controlled status of the tickets to TIXnGO

The tickets extracted are all the ones updated (controlled) since the last execution ending OK or Warning.

Only tickets associated to a shipment mode with shipment mode type BLOCKCHAIN will be pushed.

Only tickets for which the method retrieve ticket status has successfully been executed will be pushed.

Recommended frequency

Every 5 minutes.

Date from

This value allows overriding the date of the last execution OK or Warning. If you keep it defined in a regular execution, the same tickets will be extracted and pushed over and over.

Batch size

Put a very high value (like 10'000)


Retrieve ticket status from TIXnGO

This function retrieves information from TIXnGO about the ticket holder and stores it inside SecuTix.

Only the batch size not already handled tickets are retrieved from TIXnGO.

Only one function "retrieve ticket status from TIXnGO" must run for a given organizer, regardless if tickets are injected from multiple organizations.

Recommended frequency

Every 5 minutes.

Pagination key

Do not touch this value if you do not know what you are doing.

Skip ticket

A non-mandatory parameter in which you can add all the ticket IDs that you want to skip.

Batch size

Recommended value:  500

For max speed outside operational periods, we recommend: batch size = 3000 (with batchSplitSize = 300)

Custom parameters

Custom parametersPurpose 
ticketIterationSize

This custom parameter is used for the Tickets external printing/ Push cancelled and validate tickets/ Push controlled tickets. To support larger batch sizes, split them into smaller calls to blockchain to send smaller batches, one after the other inside the same execution. The default split size is 50

Note: The TIXnGO side supported only 50 tickets/times, so that should be kept as default.

batchSplitSize

This custom parameter is used for the Retrieve tickets status from TIXnGO batch. To support larger batch sizes, split them into smaller calls to blockchain to retrieve smaller batches, one after the other inside the same execution. The default split size is 1000

Example: Batch size in the Retrieve tickets status from TIXnGO = 5000, batchSplitSize = 1000. It will split 5000 to 5 calls in the same execution with 1000 per call

resetInjectionInvalidationReasons

This custom parameter is used for the Tickets external printing to allow injecting mobile tickets to the latest ticket holder contact or cultural contact based on the invalidation reason, i.e., reseating

Example: After injecting ticket into TnG for contact A (cultural contact) then contact A open mobile app and transfer the ticket to contact B (latest mobile owner). On the STX side, the operator reprinted that ticket with invalidation reason THEFT and reinject it into TnG, this ticket will reinject back to contact A. If there is no invalidation reason here, the new ticket will be reinjected back to contact B

Note: All the cancellation reasons are those which appear on the list of values in the BO [Institution > Initialisation > List of values > Ticket (Cancellation cause)]. With validation reason Theft , rESEATING will work too because the invalidation causes will be modified in order to remove the spaces and to be all set in upper cases

excludeTicketResale
overrideVisibilityFlagForInvalidationReasons

Both custom parameters are used for putting blockchain tickets into the resale platform and specified for Push cancelled and validate ticket batch. The purpose of those parameters is to update the invalidation reason to TnG after putting the ticket on the resale platform or tickets is resold.

Example: excludeTicketResale=true, overrideVisibilityFlagForInvalidationReason=RESALE_PENDING, RESOLD

After putting the ticket on the resale platform, the old ticket is invalidated and the validation reason will be updated into TnG side by the Push cancelled and validate ticket with invalidation set at overrideVisibilityFlagForInvalidationReason

For more information, please refer to the US STX-110559

dumpTnPRvariables=trueTo generate tnPRVariables file ticket detail after injecting ticket into TnG. To check the variable and its value as well
enforceMandatoryParametersThe interface fails with a proper error message before calling TixNGo if the mandatory parameters of the tickets to inject are not present.
Default value : true. Do not change if you don't know what you are doing.
dumpDataModifiedByTemplateDefault value: false. Set it to true to log the values modified by the template associated to the export.
overlaySpectatirDetailsWithLastOwner
Default value: true. Set it to false to skip the rule: But, IF the tickets has been reprinted, it will be assigned to its last known holder, as retrieved from TIXnGO.
TIXNGO_LIFECYCLE_MODE

Only possible value lifecycle. Activates ticket status feature related to STX-122715 - Getting issue details... STATUS

FAQ

Invalid values are injected into TIXnGO. What can we do?

There is likely a template overriding the values. Please check the content of the template.

I checked it, there are still invalid values!

Set parameter dumpDataModifiedByTemplate to true, execute your injection again and check the values modified by the template.

You can also check if Towhichcontactsaretheticketsassigned? is not in cause (it changes the spectatorDetails values)






  • No labels