Skip to content

Info / FYI: Deno.core.runMicrotasks() is not supported in this environment -> enable billing portal in your stripe #101

@adamcohenhillel

Description

@adamcohenhillel

If you are getting this kind of error from trying to get the portal URL:

event loop error: Error: Deno.core.runMicrotasks() is not supported in this environment
    at core.runMicrotasks (https://deno.land/std@0.177.1/node/_core.ts:23:11)
...

It is probably due to the error below, which is not propagated back correctly to the API, and took me a while to figure this out:

Error: No configuration provided and your test mode default configuration has not been created. Provide a configuration or create your default by saving your customer portal settings in test mode at https://dashboard.stripe.com/test/settings/billing/portal.

You basically have to enable billing portal in your stripe, which make sense but wasn't written anywhere!

love,
Adam

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions