Additional Configuration
Order Status Mapping
Tamara Order Status | SFCC Order Status | SFCC Payment Status | SFCC Shipping Status |
---|---|---|---|
approved | CREATED | NOT_PAID | NOT_SHIPPED |
authorised | NEW/OPEN | NOT_PAID | NOT_SHIPPED |
cancelled | CANCELLED | NOT_PAID | NOT_SHIPPED |
captured | NEW/OPEN | PAID | SHIPPED |
fully_refunded | NEW/OPEN | NOT_PAID | SHIPPED |
expired | declined | FAILED | NOT_PAID | NOT_SHIPPED |
updated | NEW/OPEN | PAID | NOT_SHIPPED |
partially_refunded | NEW/OPEN | PAID | SHIPPED |
Order Custom Attributes
These additional custom attributes are defined and stored in the Order object, and will be sent as a part of Order XML, so that the OMS [Order Management System] can use them for further processing.
Attribute ID | Type | Description |
---|---|---|
tamaraOrderReferenceID | String | Order ID on Tamara Payment |
tamaraPaymentStatus | String | The payment status from Tamara |
tamaraOrderDetail | String | The order information synced from Tamara for every action |
tamaraCheckoutURL | String | The Checkout URL return back from Tamara Payment |
tamaraSuccessNotification | String | The success notification URL when place order |
tamaraFailureNotification | String | The failure notification URLwhen place order |
tamaraCancelNotification | String | Tamara cancel notification URL when place order |
TamaraPaymentTypes Custom Object
The information about Payment Types from Tamara are defined and stored in the TamaraPaymentTypes object, and will be utilised to display the available payment methods and widget on the storefront.
Attribute ID | Type | Description |
---|---|---|
ID | String | ID of payment type |
custom.content | String | Content of the payment type, this is a JSON object |
Exception Log
You can get the related exception message for Tamara Payment, in the log file by running the following command:
custom-tamarapayment- - appserver - .log
Possible Log | Description |
---|---|
total_amount_invalid_limit | The total amount has reached the min/max limit |
consumer_empty_first_name | First name of the customer is missing |
consumer_invalid_phone_number | Phone number of the customer is invalid |
consumer_invalid_email | Email ID of the customer is invalid |
consumer_empty_email | Email ID of the customer is empty |
total_amount_invalid_currency | Most likely, the customer is buying from a non-supported country with a non-supported currency and Tamara does not support cross-currencies. |
not_supported_delivery_country | Delivery country is not supported |
Updated 7 months ago