Note: This release is in preview. Features described here don’t become generally available until the latest general availability date that Salesforce announces for this release. Before then, and where features are noted as beta, pilot, or developer preview, we can’t guarantee general availability within any particular time frame or at all. Make your purchase decisions only on the basis of generally available products and features.

What Happens When Members Submit Receipts

After members submit receipts, they can view the submitted receipts and the line items for which they are rewarded from their loyalty management mobile app.
The Loyalty Management mobile app is available in: all editions that have Loyalty Management and Receipt Scanning enabled

Here’s what happens in your Loyalty Management Receipt Scanner Kit unlocked package org after members submit their receipts.

  • The ReceiptStatusUpdate Apex class runs the Receipt Status Updation API, to update the status of the receipt to Processed.
  • The ProcessTransactionJournal Apex class runs the Transaction Journal Execution Business API, which creates and processes transaction journals.
  • The RulesEngineResponseWrapper class deserializes the response from the Rules Engine API that includes transaction journal details. The response provides loyalty points, which are shown in the mobile app.
  • The Receipt Status Updation API creates and processes receipt records for each line item.