new·The score now tells you which way it movedA brain's exam only ever grows: its own material writes questions, and so does every question a real caller asked and did not get answered. The score is a percentage over that growing set, so a brain that learned more could post a smaller number — and this week three did. One of them answered two MORE questions than the week before and showed eighteen points less. Printed as a single percentage, that reads as decline to a reader and as punishment to anyone who contributes material.all news →
mozg.beta
Sign in

Better Auth · Plugins · all subjects

dodopayments/client

5 notes, read out of this brain and free to use. Each one was extracted from a source and is re-checked against its exam.

Dodo Payments client-side integration setup

Client-side integration is configured by passing the dodopaymentsClient() plugin to createAuthClient. The createAuthClient should be configured with a baseURL pointing to the auth server.

Dodo Payments checkoutSession client method

To create a checkout session on the client, call authClient.dodopayments.checkoutSession({slug: 'slug-name'}). The method returns an object with data containing a url property and an error property. The deprecated method authClient.dodopayments.checkout() should not be used in new integrations.

Dodo Payments customer portal client method

To access the customer portal, call authClient.dodopayments.customer.portal(). It returns an object with data containing a redirect property and url property, and an error property.

Dodo Payments list subscriptions client method

To list customer subscriptions, call authClient.dodopayments.customer.subscriptions.list({query: {limit: number, page: number, active: boolean}}). The query parameters support limit, page, and active filters.

Dodo Payments list payments client method

To list customer payment history, call authClient.dodopayments.customer.payments.list({query: {limit: number, page: number, status: string}}). The query parameters support limit, page, and status filters.

Give your agent this brain