#Cant get the Dodo MCP to work with Claude Code.

1 messages · Page 1 of 1 (latest)

lofty patio
#

It just doesnt automatically trigger the page to authorize with token. It happened once but I accidentally closed it and now no matter how I try - fresh reinstall, etc, it just doesnt trigger it.

viral heathBOT
#

If the authorization page for token authentication is not automatically triggering, here are a few steps you can try to resolve the issue:

  1. Check API Key or Token: Ensure that the API key or bearer token you are using is correct and has not expired. You can verify this by checking the token in your Dodo Payments dashboard or by generating a new one.

  2. Clear Cache and Cookies: Sometimes, old cache or cookies might interfere with the authentication process. Try clearing your browser's cache and cookies, then attempt the authorization process again.

  3. Environment Configuration: Make sure that your environment is set correctly, especially if you are using a test or live mode. Verify the environment settings in your application configuration.

  4. Code Verification: Double-check your implementation code to ensure it correctly sets the bearer token. Here is a sample code snippet for setting up a client with a bearer token:

    import DodoPayments from 'dodopayments';
    
    const client = new DodoPayments({
      bearerToken: 'Your Bearer Token',
    });
    
    // Example of using the client
    const subscription = await client.subscriptions.create({
      billing: { city: 'city', country: 'AF', state: 'state', street: 'street', zipcode: 'zipcode' },
      customer: { customer_id: 'customer_id' },
      product_id: 'product_id',
      quantity: 1,
      payment_link: true,
    });
    
  5. Network Issues: Ensure there are no network issues that might be blocking the authorization page from loading. You can check this by trying to access other secure pages or using a different network.

  6. Browser Extensions: Disable any browser extensions that might interfere with the loading of web pages, particularly those related to security or content blocking.

lucid lintel
#

Remove the Dodo Payments MCP configuration from Claude. Close the application, Open it and add it back again.