added user it for prod test - to remove later

This commit is contained in:
Mitchell Magro 2026-01-14 15:36:28 +01:00
parent 565378f845
commit 841900e781

View File

@ -129,8 +129,7 @@ export function getCashierConfig(): ICashierConfig {
const userId = params.get('userId');
if (userId) {
// Use userId from URL remove for production
config.userId = '12345';
config.userId = userId;
} else if (import.meta.env.DEV) {
// Development fallback: use a default numeric userId for testing
// The API expects customer ID to be a numeric value