Service Introduction for PAF, epic 1271 Please note: These will be uploaded as separate articles on Knowledgebase Article 1 - Business Overview Please note this functionality of integrating with Postcode Anywhere (PCA) changes three main areas: 1. Add address in My Account, Registration, and Non-JS Checkout 2. Store Search (includes search by partial postcode or Town/County) 3. Add address in JS checkout (includes Auto-suggest feature) Article 2 – Solution Design Please note that we implemented Option 2 (connection with PCA via IL, not through an API) Martini will still use the internal PAF (GMO’s resiliency). GMO address found from Postcode Anywhere will be added to Martini and not overridden by internal PAF. Article 3- Technical flow diagrams Add address in My Account, Registration and Non-JS Checkout
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Service Introduction for PAF, epic 1271
Please note: These will be uploaded as separate articles on Knowledgebase
Article 1 - Business Overview
Please note this functionality of integrating with Postcode Anywhere (PCA) changes three main areas:
1. Add address in My Account, Registration, and Non-JS Checkout2. Store Search (includes search by partial postcode or Town/County)3. Add address in JS checkout (includes Auto-suggest feature)
Article 2 – Solution Design
Please note that we implemented Option 2 (connection with PCA via IL, not through an API)
Martini will still use the internal PAF (GMO’s resiliency). GMO address found from Postcode Anywhere will be added to Martini and not overridden by internal PAF.
Article 3- Technical flow diagrams
Add address in My Account, Registration and Non-JS Checkout
Store Search
Add address JS Checkout
Article 4 – Resiliency, performance tracking and switch to turn on/off functionality
Switches
Functionality Turn on Turn off LocationStore Address enable
enablePostCodeAnyWhereStoreSearch (true)
disable enablePostCodeAnyWhereStoreSearch (false)
Component Name : /tesco/ecom/commerce/Configuration
Add address in Registration, My Account and Non-JS checkout
enable enablePostCodeAnywhere ( true)
disable enablePostCodeAnywhere ( false) in
Component Name : /tesco/ecom/commerce/Configuration
Add address in JS checkout
enable enablePCAForJSCheckout (true)
disable enablePCAForJSCheckout (false)
Component Name : /tesco/ecom/commerce/Configuration
Resiliency
Please note that resiliency is automatic upon failure of Postcode Anywhere unless resiliency is switched off. Resiliency is also triggered on timeout which is 1 Minute.
Resiliency switch
Turn on Turn off Locationenable pafResillencyRequired (true)
disable pafResillencyRequired (false)
Component Name : /tesco/ecom/commerce/Configuration
Following Exceptions will be caught in scenario where PCA is down and we hit resiliency. These are found in ATG server Logs.
Below are the resiliency flow error messages, these are not front end.
Store Search - Sorry, collect from store isn't available at the moment. Please select 'Delivery' or call 0845 600 44 11 to order by phone.
My Account add address, checkout add address - Sorry, We are having technical problems finding your address. Please try again later or call 0845 600 44 11.
Performance Tracking
Please note performance tracking is done in ATG layer can be triggered at run time. It gives consolidated time for webservice call from ATG – IL – PCA – IL – ATG.
Performance tracking
Turn on Turn off Location enable logExecTime flag to (true)
The key in the above URLs is generated using a control panel when creating a new product [we use capture+]. This key will act as a unique identifier in our requests to the service. Once the key is generated, add the above code [stylesheet and script] in the head section of checkout.
JS file included sends request to PCA service on every key press in the textbox and the gives the results back as a json response. We use callback functions to parse the JSON response and get the required fields that are required to add an address.
Article 6 – End User License Agreement
Article 7 – Support Model including key contacts from Postcode Anywhere
Support of products is free and for as long as we use the product with no expiry date
Maintenance window - There is no formal maintenance window because the service operates during planned and emergency maintenance and they apply the daily address updates. Current operations allow an entire data centre offline without service being affected and continue to run with the same response times (less than 20 milliseconds).
Capacity and Availability – Availability is 99.9%. Postcode Anywhere is running at around 10% capacity and service, approx. 4.5 million unique web service requests each day. All the equipment is new and they have a rolling programme of updating all kit and infrastructure regularly. As part of accreditation to ISO 27001 they take monthly performance stats across the server estate to check for reduced performance and replacing kit where necessary.
Performance – Live performance can be viewed at http://services.postcodeanywhere.co.uk/
Capture + <1second Measured to the network boundary) Other services < 2 seconds (measured to the network boundary)
Out of office hours: 24 hour call answering and there’s a process for escalating urgent issues out-of-hours. They’re in the process of extending our support hours, which will probably see “normal” support until 11pm during the week.The Support team checks enquiries twice a day at weekend, usually at 10am and 5pm. Enquiries are also checked during evening, up to around 10pm.
In practice, because service is monitored at all times, if there was a problem with their technology, they know about it immediately and would act straight away. If there is a problem with the service they are alerted within 60 seconds with the nature of the problem.
Article 8 – Services and costs of Postcode Anywhere integration
Please note Postcode Anywhere charges per call. Tesco forecasts 8 million add address calls and 16 million store search calls. A call will not be re-made upon refreshing, if it is the same postcode or address the address is from the cache. For Auto-Suggest add address in checkout, the call is after the customer selects the validated address i.e. not counted as a call while typing and getting suggestions.