1. Overview
Integrating with Avenum’s service is a simple, two-step process. This guide will go straight to the point, detailing each step to quickly set up the integration. For a more detailed breakdown, please refer to the full POS documentation.
2. QR Code Testing and Setup
Use this section to generate and test QR codes, ensuring smooth integration with your POS system.
Importance of Testing
Testing QR codes is essential for verifying that your POS system correctly processes discounts, memberships, and product IDs. This helps prevent disruptions and ensures a seamless checkout experience for customers.
Steps to Generate and Test
- Log in to access the QR Checkout Testing page or register here.
- Enter product IDs, membership ID, and discount ID, then click “Generate QR Code.”
- Once you generate the QR code, a
CHECKOUT_ID
will be created for you to test. - Copy the API URL for testing and integrate it with your POS system to retrieve and calculate shopping cart details.
Below is an example of HTTP response:
{
"ProductIDs": ["UPC123", "UPC456", "UPC789"],
"MembershipId": "MEM123",
"DiscountId": "COUP456"
}
In your POS system, loop through the product IDs to retrieve their respective prices, sum the total, and apply any applicable discounts or memberships for an accurate final amount.
- If you have completed all the steps and everything is functioning correctly, then replace the hardcoded checkout ID in the API request with a value that the POS (Point of Sale) system scans.
For example:
https://avenum.se/api/v1/checkout/?checkoutId={SCANNED_QR_CODE_VALUE}
Once in production, customers can scan their QR code at checkout, allowing the POS system to retrieve the shopping cart information seamlessly.