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.