Overview
Checkout integration is a ClearLine app integrated into the POS system checkout flow. Customers receive marketing interactions via QR codes and templates shown immediately after completing a transaction. The interaction can be initiated manually by staff or automatically based on configured rules.Integration Flow
Apply Customer Coupon (Optional)
If the customer has a coupon, the sales person searches for it using one of these parameters:
- Coupon code
- Phone number
Apply Location Coupon (Optional)
If the customer doesn’t have a previously received coupon, but their shopping cart matches a current promotion, the sales person can add any coupon active at the location.API: Get Active Coupons by Location
Calculate Discount
POS automatically calculates the discount corresponding to the coupon applied to the shopping cart.
Post-Purchase Processing
After payment is received, the POS system performs the following actions:
1. Send Transaction Data
POS system sends post-purchase transaction data to ClearLine.API: Post-Purchase Transaction to CMC2. Validate Coupon (If Used)
If a coupon was used with this order, call the coupon validation endpoint.API: Validate Coupon via Transaction3. Get Receipt QR Codes (Optional)
Retrieve QR codes to print on the receipt. You can configure what the QR code should be generated for in the account manager panel.API: POS Receipt Promotion4. Check Flow Settings
POS system checks if Manual or Automated flow is enabled.API: Get POS System SettingsFlow Modes
- Manual Flow
- Automated Flow
- POS Rules
When Manual Flow is enabled: - POS system allows the sales person to continue manual interaction - Show marketing actions (e.g., display a pop-up window with offers) - Sales person controls when and how to engage the customer
Next Steps
Coupon Integration
Learn how to integrate coupon functionality
POS Settings
Configure POS system settings
Receipt Promotions
Add QR codes to receipts
Transaction API
Submit transaction data