AutumnA
Autumn6mo ago
25 replies
fynn

Yes, right

Yes, right

Just did this:

    const { checkout } = useCustomer(); 
        await checkout({
          productId: "pro",
      dialog: CheckoutDialog,
        })


And got this error - while the url is definitely right:
[Autumn] Fetch failed: POST http://localhost:9999/api/auth/autumn/checkout

1. Check that backendUrl in <AutumnProvider/> is correctly set.
2. Check that autumnHandler is correctly registered on your backend.


with attach, everything's working fine
Was this page helpful?