AutumnA
Autumn5mo ago
12 replies
konte

Hi there,

Hi there,

I'm getting a "product_id is not provided" error when trying to use the checkout functionality, even though:

My products are properly configured in autumn.config.ts and synced via npx atmn push

Frontend and backend are connecting properly (state is being pulled successfully)
Using the latest autumn-js v0.1.27
Following the React + Node.js setup guide exactly

The error occurs when:
Clicking "Upgrade to Pro" button with productId: 'small'
Selecting any option from the PricingTable component

My setup:
Frontend: AutumnProvider with backendUrl pointing to my server
Backend: autumnHandler mounted at /api/autumn with proper identify function
Products: small, medium, large with IDs matching the config

Any idea what might be causing this? The products are definitely available in the sandbox environment.
Was this page helpful?