What Is Carte Cultura?
Carte Cultura is an Italian government initiative that provides cultural vouchers to 18-year-olds (formerly known as “18app” and “Bonus Cultura”). Each eligible citizen receives a €500 voucher to spend on cultural goods and services: books, music, cinema, theatre, museum tickets, concerts, language courses, and newspaper subscriptions.
For Shopify merchants in Italy, accepting Carte Cultura means opening your store to thousands of young customers with guaranteed spending power. The challenge? The government requires SOAP-based voucher validation — a protocol that Shopify does not natively support.
How ilGhera Carte Cultura Bridges the Gap
The ilGhera Carte Cultura Shopify app is a complete solution that integrates directly with the Italian Ministry of Culture’s voucher system. It handles the entire workflow: voucher validation, discount application, and payment confirmation — all without requiring a Shopify Plus plan.
Key Features
- Checkout UI Extension (Shopify Plus) — A native widget embedded directly in the Shopify checkout page where customers enter their Carte Cultura voucher code. Available on Shopify Plus plans.
- Cart Drawer Widget — An alternative widget for stores using a cart drawer instead of the standard checkout page. Works with any theme.
- Automatic Discount Function — A Shopify Functions-powered discount that automatically applies the voucher amount to eligible products. The discount is calculated in real-time based on the voucher’s remaining balance.
- Product Eligibility by Category — Map your Shopify collections to Carte Cultura categories (Books, Music, Theatre, Cinema, etc.). Only products in mapped collections will be eligible for the discount, ensuring compliance with government rules.
- SOAP Validation via PHP Microservice — The app communicates with the Ministry’s SOAP web services through a dedicated PHP microservice, handling the complex certificate-based authentication required by the Italian government’s IBM DataPower infrastructure.
- Sandbox Mode — Test the entire workflow with a demo certificate before going live. Perfect for development stores and staging environments.
Architecture: Built for Reliability
The app follows a layered architecture designed for production use on Fly.io:
- Checkout Extension (JavaScript) — Collects the voucher code from the customer and sends it to the app backend.
- Node.js Backend (Remix) — Handles authentication, billing, settings management, and routes requests to the PHP microservice.
- PHP Microservice — Performs the actual SOAP calls to the Ministry of Culture’s web services. This separation is necessary because the government’s SOAP implementation requires specific certificate handling that works best with PHP’s native SOAP client.
- Shopify Metafields — All merchant settings (certificates, category mappings, billing status) are stored as Shopify Metafields, ensuring data persistence even on ephemeral cloud environments.
Voucher Validation Flow
Here is how a typical transaction works:
- The customer adds products to their cart and proceeds to checkout.
- In the cart (or checkout on Shopify Plus), they enter their Carte Cultura voucher code in the dedicated widget.
- The app sends the code to the Ministry’s SOAP service for validation (CHECK operation).
- If valid, the app retrieves the voucher’s remaining balance and applies it as a discount via Shopify Functions.
- The customer completes the payment for any remaining amount.
- When the order is paid, the app sends a CONFIRM request to the Ministry to consume the voucher credit.
Billing and Pricing
The app is available with two pricing plans:
- Monthly: $19.99/month
- Annual: $199/year (saves ~$40)
Both plans include a 7-day free trial, full sandbox testing, and access to the ilGhera premium support system. No hidden fees — the only cost is the Shopify transaction fees that apply to all apps.
Getting Started
- Install the app from the Shopify App Store.
- Configure your certificate (or use sandbox mode for testing).
- Map your Shopify collections to Carte Cultura categories.
- Test the workflow in sandbox mode.
- Go live and start accepting Carte Cultura payments!
Works on Every Shopify Plan
Shopify restricts the checkout extensibility API to Shopify Plus only. The ilGhera Carte Cultura app overcomes this limitation by using the Cart UI Extension, which works on every Shopify plan — Basic, Shopify, Advanced, and Plus.
- Cart widget (all plans): The Carte Cultura voucher widget appears in the cart page and cart drawer. Customers enter their voucher code before proceeding to checkout. This is the standard integration that works on every plan without exceptions.
- Checkout widget (Shopify Plus only): On Shopify Plus, the widget can also appear directly in the checkout page for an even more seamless experience.
The cart-based approach is not a limitation — it is a deliberate design choice that ensures every merchant in Italy can accept Carte Cultura, regardless of their Shopify plan. No Plus plan required.
0 Comments