Product orders are a vital part of the determining the relevance of a products and must be notified upon completion. The payment notification is to be sent immediately when the visitor has placed an order of one or more products and completed the payment. For security reasons this must be made as a server side operation.
Market identifiers and key conventions
Market identifiers and product key conventions must be consistent across the data feed, the order notifications, and the order history. Ensure this is consistent.
For payment notification request specification and example, see Payment.
customerKey can be retrieved from the Component Library API:
const sessionKey = esales.session.sessionKey; const customerKey = esales.session.customerKey;