...
Create directories, UnityTest and UnityProd. These can be created anywhere but we typically create in c:\inetpub\wwwroot
In IIS, create new Application Pools using all defaults
UnityTest
UnityProd
In IIS, under the website entry being used (typically Default Web Site) convert UnityTest/UnityProd to an application. Right click on UnityTest/UnityProd and select, ‘Convert to Application’.
Update Application Pool to match newly created application pool
Accept all other defaults
If you don’t you don’t see UnityTest listed in IIS, refresh the website list or create manually by right clicking on Default Web Site (or the website name being used) and selecting ‘Add Application’
Define Alias as UnityTest or UnityProd
Define Application Pool as UntiyTest or UnityProd
Define Physical Path as C:\inetpub\wwwroot\UnityTest or C:\inetpub\wwwroot\UnityProd
Click OK
In File Explorer, right click on UnityTest and select Properties
Give Full Control of directory to new IIS Application Pool user.
Go to Properties / Security tab on directory and click Edit
Go to Properties / Security tab on directory and click Edit
Click Add
Add new security user and define the Location to be the local machine. Enter object name in the format, IIS AppPool\<newapppoolname> (i.e. IIS AppPool\UnityTest)
If entered correctly, the user will be found after clicking ‘Check Names’:
Click OK and then give Full Control
Update the Unity app pool Advanced setting IIS App Pool Advanced Settings
Update “Start Mode” to OnDemand to AlwaysRunning
Update “Idle Time-out (minutes)” from 20 to 0
Update “Idle Time-out Action” from Terminate to Suspend
Update "Maximum Worker Processes" from 1 to equal to or greater than the number of logical processors (Minimum 4).
Run this Powershell to check:
(Get-CimInstance Win32_ComputerSystem).NumberOfLogicalProcessors
...
...
2. Configure Unity
Several configuration files need to be updated after the Unity install. Typically these files are located in, C:\inetpub\wwwroot\UnityTest (or UnityProd). Always recycle the IIS app pool after making changes.
...
| Set to either, 2014.2.0.14 or 2016.1.1.7 depending on the version of RTP being used. This determines how credit cards are saved into RTP. | ||
---|---|---|---|
| Used to create the RTP Alternate ID Profile. Update ‘PK’ to whatever makes sense for each resort. Do not change after customers start logging in. | ||
| Set value to match the RTP RoleCode for a ‘relative'. This value can be found in RTP admin or the database in the Role table. | ||
| Set value to a newly created ProfileType code in RTP (always set these two settings to the same value). AW recommends creating a new Profile Type rather than using an existing on. After this is created, a new entry in RTP admin needs to be created in Profile Type for Profiles. | ||
| Set value to the Sales Channel Code being used by the Commerce site. | ||
| Set Value to the IPTypeCode for the Temporary Customer entry in the IPType table (usually 3010 but some customers are different) | ||
| No longer used. This setting can be removed. | ||
| Set value to the RTP Inventory Location Code being used for RTP retail inventory sync. | ||
| Set value to Base is using Unity for Order Processing or Connect is using RTPConnect for Order Processing. | ||
| These settings are only used if the above setting, “OrderProcessor” is set to Connect. If set to Connect, define the RTP Connect URL in the RTPConnectURL field and set SSLEnabled accordingly. | ||
| Set value to true if AW Payment Plans are being used. If AW payment plans are not being used, this setting can be left as true or could be omitted from file. | ||
| Typically this should be set to false as the performance of RTP’s inventory stored procedure was improved in 2020. This setting was created to allow Unity to use an alternate version of RTP’s stored procedure which helped increase performance until RTP’s version was improved. Set to true if an alternate stored procedure is being used for RTP inventory pool inquires (i.e. AW_proc_publicGetProductInventoryPoolInventory.sql). Set to false (or remove setting) if the standard RTP inventory pool stored procedure is being used. | ||
| These settings are used in conjunction with AW Additional Payments. Define the general product header codes created for AW additional payment functionality along with the RTP Payment Method codes for voucher payments, gift cards and stored value. | ||
| Define an RTP UserID that will be added as the OperatorID for anything created from the site (Customer Manager Profiles, Orders, Transactions, etc.) | ||
| Define the RTP Currency Code being used by the site. Typically this is set to 1 | ||
| Set PaymentMethodCodeOrder to a newly created AW Clearing Payment Method code from RTP and set the PaymentMethodCodeFulfillment code to the RTP Deposit Applied Payment Method Code (typically 9999). | ||
| If using RTPConnect, set SupplierCode to 1 and DistributorCode to the DisctributorCode being used by RTPConnect for Aspenware. | ||
| Set to the shipping fee product header code being used by the site (**This setting may not be used anymore) | ||
| If using AW Guest Check-out, set value to the IPTypeCode for the Guest Checkout Customer Type entry in the IPType table | ||
| If selling RTP Activities, these settings are used to determine if the RTP Activity lock has expired. So if the lock expires at 4:30:00 and it's set to 10 secs, then it will consider the lock is expired at 4:29:50 and try to get a new lock. This is to account for the amount of time after the order completes in AW but before it is processed into RTP by Unity. | ||
| Set Value to true. This allows a merged customer in RTP to get an updated Alternate ID Profile value. | ||
| Leave this Value set to 1000. This is used to lookup the RTP Sale Location Code for various purposes. | ||
| Define database settings. There are three connection strings.
| ||
| Define Aspenware Commerce Store settings. There can be more than one Store in this section if there are multiple Stores on the same Nop instance (i.e. Peak Mountain, Peak Highlands, Peak Golf, etc.) Define values as follows.
| ||
| Set Value to false to prevent Unity from creating Address Profiles in RTP that do not contain full address information. This prevents Address Profiles from being created with only periods. Set to true to allow Address Profiles to be created with just a period in the address fields. | ||
| Set Value to true to enable linked refunds for Square and Windcave. These are the only credit providers that supports this settings as of May of 2024. Set Value to false for other credit providers or do not have the setting added. | ||
| Set Value to true if customer is using RTPConnect to process orders. This allows for a faster search of activity availability on the PDP so recommend setting to true for all customers using Connect. The setting is ignored if using Base/Unity for order processing. | ||
| When the MatchTaxCalculation setting is set to true, tax calculations in Unity will align with RTP calculations. RTP uses bankers rounding in most cases (see “Add a Penny Logic” exceptions below). This ensures a $0 balance when comparing orders in Unity and tax calculations in RTP. | ||
| Optional setting that allows defining the RTP Order Header description for rental orders (orders that use a rental location). Without this setting, order descriptions will be the same as non-rental orders which is, ‘Aspenware Commerce Ecommerce Order’. |