OTP (One Time Password) Process
Last updated
Was this helpful?
Last updated
Was this helpful?
The OTP (One Time Password) process secures Click & Collect orders by verifying that only the rightful customer can collect their package. This tutorial provides a detailed, step-by-step guide to managing the OTP process for Click & Collect orders within the Instore and OMS systems.
Enable OTP Feature:
Ensure that the OTP feature is enabled in your system. Check that the IS_OTP_ENABLED
value in the ApplicationSettings
is set to true
for OTP functionality to be active. Please refer to the document.
Confirm Order Type:
Access the package table and verify the package’s details.
Check the Delivery From Store column. It should be marked as Yes.
Check the Delivery Type column. It should be set to In_store.
Package Status:
Ensure that the package status is Ready For Customer.
Locate the Package:
The store employee should find the package with the status Ready For Customer in the system.
Click & Collect Pack Item Button:
To deliver the package to the customer; begin the verification process with the "Delivered" button for the package in the "Ready for Customer Pickup" status.
Check OTP Feature Status:
Determine if the is_enabled_otp
setting is active.
If is_enabled_otp
is active:
The SelfServisPackageDelivery command will trigger a modal window.
Enter the SMS verification code received from the customer into this modal for validation.
After successful verification:
A success message will be displayed on the screen.
The package status will be automatically updated to Delivered.
If is_enabled_otp
is not active:
The SelfServisPackageDelivery command will execute without sms verification code.
The package status will be updated to Delivered without requiring a verification code.
Order Creation:
Ensure that a Click & Collect order is created in the Omnitron application.
Package Management:
A package is generated in the stock location of the order.
Initially, the package status is set to Waiting.
To move the package through various states, execute the following commands:
Command Name: Complete Packaging Without Shipment
Source State: Waiting
Destination State: Packed All Items
Command Code: COMPLETE_PACKAGING_WITHOUT_SHIPMENT
Visibility: OMS WEB, INSTORE
Configuration: {}
Procedure:
Execute this command to change the package status from Waiting to Packed All Items.
Command Name: Ready For Customer Pickup
Source State: Packed All Items
Destination State: Ready for Customer Pickup
Command Code: READY_FOR_PICKUP
Visibility: OMS WEB, INSTORE
Configuration: {}
Procedure:
Execute this command to generate an OTP for the package. The OTP is sent to the Extension application via the PackageReadyForCustomerPickupWhispererEvent
event.
The OTP is then included in the SMS sent to the customer.
The package status will be updated to Ready for Customer Pickup.
Command Name: Self Service Package Delivery
Source State: Ready for Customer Pickup
Destination State: Delivered
Command Code: SELF_SERVICE_PACKAGE_DELIVERY_COMMAND
Visibility: OMS WEB, INSTORE
Configuration: {}
Procedure:
When the customer arrives to pick up the package, the store staff locates the package in the OMS/Instore application.
Execute this command and request the OTP from the customer.
Enter the provided OTP. If it matches the OTP generated for the package, the package status will be updated to Delivered, completing the process.
If the OTP is incorrect, an error message will be displayed, and the package status will remain as Ready for Customer Pickup.
Issue: If the OTP provided by the customer does not match the generated OTP, an error message will be displayed.
Resolution: The package status will remain as Ready for Customer Pickup, and the customer will need to retry with the correct OTP.