Specify the Omise PrestaShop version and PrestaShop version to be the detailed request information on Omise dashboard. (The request such as charge request.)
These information, Omise PrestaShop version and PrestaShop version, are useful, for examples, when technical problems occur, these information can help to identify the cause of problem easier or these information can be historical data that may be used as analytical data.
Related information:
Related issue: -
Related ticket: -
2. Description of change
Define a constant, OMISE_USER_AGENT_SUFFIX. The value of constant is Omise PrestaShop version and PrestaShop version.
The constant has been defined for the front office part only. The back office part does not need this constant.
3. Quality assurance
Environments:
Platform: PrestaShop 1.6.1.17
Omise plugin: Omise PrestaShop 1.2
PHP: 5.6.31
Details:
Before change
The screenshot below shows the Omise dashboard. In the red box, the user agent information has only Omise PHP version.
After change
The screenshot below shows the Omise dashboard. In the red box, the Omise PrestaShop version and PrestaShop version have been added to the user agent information.
1. Objective
Specify the Omise PrestaShop version and PrestaShop version to be the detailed request information on Omise dashboard. (The request such as charge request.)
These information, Omise PrestaShop version and PrestaShop version, are useful, for examples, when technical problems occur, these information can help to identify the cause of problem easier or these information can be historical data that may be used as analytical data.
Related information:
2. Description of change
Define a constant,
OMISE_USER_AGENT_SUFFIX
. The value of constant is Omise PrestaShop version and PrestaShop version.The constant has been defined for the front office part only. The back office part does not need this constant.
3. Quality assurance
Environments:
Details:
Before change The screenshot below shows the Omise dashboard. In the red box, the user agent information has only Omise PHP version.
After change The screenshot below shows the Omise dashboard. In the red box, the Omise PrestaShop version and PrestaShop version have been added to the user agent information.
4. Impact of the change
-
5. Priority of change
Normal
6. Additional notes
More information about user agent.