added user it for prod test - to remove later
This commit is contained in:
parent
565378f845
commit
841900e781
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user