Make the PrestaShop order has a reference to the Omise charge.
Related information:
Related issue: #24
Related ticket: -
2. Description of change
Save an Omise charge ID to PrestaShop order payment transaction ID. The changing in this pull request has been applied to all current supported 3 payment methods:
Normal charge (non 3-D Secure)
3-D Secure
Internet Banking
Note:
The response from Omise API already contained the Omise charge ID. So, to save an Omise charge ID to PrestaShop order payment transaction ID, it is not need to add more Omise charge retrieval.
3. Quality assurance
Environments:
Platform: PrestaShop 1.6.1.14
Omise plugin: Omise-PrestaShop 1.1
Omise-PHP: 2.6.0
PHP: 5.6.30
Mozilla Firefox: 54.0
Details:
At the front-end
Checkout an order
At the back-end
Go to Orders
View the order that recently created from the above testing step
The screenshot below shows the success order detail at the back-end, it shows an Omise charge ID has been saved and displayed at the order payment transaction ID for the reference.
The screenshot below shows the fail order detail at the back-end, it shows an Omise charge ID has been saved and displayed at the order payment transaction ID for the reference.
4. Impact of the change
This change impact to the charge process for all current supported 3 payment methods.
Normal charge (non 3-D Secure)
3-D Secure
Internet Banking
5. Priority of change
Normal
6. Additional notes
Before change:
At the back-end, order payment detail, the data at the transaction ID is empty. This cause the merchant can not know or refer which PrestaShop order that associate with Omise charge.
After change:
Now, the merchant can refer between PrestaShop order and Omise charge.
1. Objective
Make the PrestaShop order has a reference to the Omise charge.
Related information:
2. Description of change
Save an Omise charge ID to PrestaShop order payment transaction ID. The changing in this pull request has been applied to all current supported 3 payment methods:
Note: The response from Omise API already contained the Omise charge ID. So, to save an Omise charge ID to PrestaShop order payment transaction ID, it is not need to add more Omise charge retrieval.
3. Quality assurance
Environments:
Details:
At the front-end
At the back-end
The screenshot below shows the success order detail at the back-end, it shows an Omise charge ID has been saved and displayed at the order payment transaction ID for the reference.
The screenshot below shows the fail order detail at the back-end, it shows an Omise charge ID has been saved and displayed at the order payment transaction ID for the reference.
4. Impact of the change
This change impact to the charge process for all current supported 3 payment methods.
5. Priority of change
Normal
6. Additional notes
Before change: At the back-end, order payment detail, the data at the transaction ID is empty. This cause the merchant can not know or refer which PrestaShop order that associate with Omise charge.
After change: Now, the merchant can refer between PrestaShop order and Omise charge.