Vexoa
Vexoa
BABetter Auth
Created by dD0K on 3/2/2025 in #help
Beta testing stripe plugin
oh no clue then
21 replies
BABetter Auth
Created by dD0K on 3/2/2025 in #help
Beta testing stripe plugin
is required too
21 replies
BABetter Auth
Created by dD0K on 3/2/2025 in #help
Beta testing stripe plugin
STRIPE_WEBHOOK_SECRET
21 replies
BABetter Auth
Created by dD0K on 3/2/2025 in #help
Beta testing stripe plugin
u got the env variables set?
21 replies
BABetter Auth
Created by Vexoa on 3/2/2025 in #bug-reports
Stripe Plugin | Webhook Event Failure
This doesn't work at all
199 replies
BABetter Auth
Created by Vexoa on 3/2/2025 in #bug-reports
Stripe Plugin | Webhook Event Failure
Also:
onSubscriptionDeleted: async ({ event, subscription, stripeSubscription }) => {
// Called when a subscription is deleted
console.log(`Subscription ${subscription.id} deleted`);
}
onSubscriptionDeleted: async ({ event, subscription, stripeSubscription }) => {
// Called when a subscription is deleted
console.log(`Subscription ${subscription.id} deleted`);
}
199 replies
BABetter Auth
Created by Vexoa on 3/2/2025 in #bug-reports
Stripe Plugin | Webhook Event Failure
Yeah latest version has the same issues:
2025-03-02T17:18:47.591Z ERROR [Better Auth]: Stripe webhook failed. Error: Stripe: Argument "subscription_exposed_id" must be a string, but got: undefined (on API request to `GET /v1/subscriptions/{subscription_exposed_id}`)
2025-03-02T17:18:47.591Z ERROR [Better Auth]: Stripe webhook failed. Error: Stripe: Argument "subscription_exposed_id" must be a string, but got: undefined (on API request to `GET /v1/subscriptions/{subscription_exposed_id}`)
199 replies
BABetter Auth
Created by Vexoa on 3/2/2025 in #bug-reports
Stripe Plugin | Webhook Event Failure
i gave u the repo to test it
199 replies
BABetter Auth
Created by Vexoa on 3/2/2025 in #bug-reports
Stripe Plugin | Webhook Event Failure
cuz its literally not giving me enough info
199 replies
BABetter Auth
Created by Vexoa on 3/2/2025 in #bug-reports
Stripe Plugin | Webhook Event Failure
I cant even tell
199 replies
BABetter Auth
Created by Vexoa on 3/2/2025 in #bug-reports
Stripe Plugin | Webhook Event Failure
Yeah it should be
199 replies
BABetter Auth
Created by Vexoa on 3/2/2025 in #bug-reports
Stripe Plugin | Webhook Event Failure
No description
199 replies
BABetter Auth
Created by Vexoa on 3/2/2025 in #bug-reports
Stripe Plugin | Webhook Event Failure
onSubscriptionComplete: async ({ event, subscription, stripeSubscription, plan }) => {
// Called when a subscription is successfully created
console.log(`Subscription ${subscription.id} created, event: ${event}`);
},
onSubscriptionUpdate: async ({ event, subscription }) => {
// Called when a subscription is updated
console.log(`Subscription ${subscription.id} updated, event: ${event}`);
},
onSubscriptionCancel: async ({ event, subscription, stripeSubscription, cancellationDetails }) => {
// Called when a subscription is canceled
console.log(`Subscription ${subscription.id} canceled, event: ${event}, cancellationDetails: ${cancellationDetails}, stripeSubscription: ${stripeSubscription}`);
// await sendCancellationEmail(subscription.referenceId);
},
onSubscriptionDeleted: async ({ event, subscription, stripeSubscription }) => {
// Called when a subscription is deleted
console.log(`Subscription ${subscription.id} deleted, event: ${event}, stripeSubscription: ${stripeSubscription}`);
},
onSubscriptionComplete: async ({ event, subscription, stripeSubscription, plan }) => {
// Called when a subscription is successfully created
console.log(`Subscription ${subscription.id} created, event: ${event}`);
},
onSubscriptionUpdate: async ({ event, subscription }) => {
// Called when a subscription is updated
console.log(`Subscription ${subscription.id} updated, event: ${event}`);
},
onSubscriptionCancel: async ({ event, subscription, stripeSubscription, cancellationDetails }) => {
// Called when a subscription is canceled
console.log(`Subscription ${subscription.id} canceled, event: ${event}, cancellationDetails: ${cancellationDetails}, stripeSubscription: ${stripeSubscription}`);
// await sendCancellationEmail(subscription.referenceId);
},
onSubscriptionDeleted: async ({ event, subscription, stripeSubscription }) => {
// Called when a subscription is deleted
console.log(`Subscription ${subscription.id} deleted, event: ${event}, stripeSubscription: ${stripeSubscription}`);
},
199 replies
BABetter Auth
Created by Vexoa on 3/2/2025 in #bug-reports
Stripe Plugin | Webhook Event Failure
its not console logging at all
199 replies
BABetter Auth
Created by Vexoa on 3/2/2025 in #bug-reports
Stripe Plugin | Webhook Event Failure
but in the onSubscriptionDeleted
199 replies
BABetter Auth
Created by Vexoa on 3/2/2025 in #bug-reports
Stripe Plugin | Webhook Event Failure
2025-03-02T13:21:18.146Z ERROR [Better Auth]: Stripe webhook failed. Error: Stripe: Argument "subscription_exposed_id" must be a string, but got: undefined (on API request to `GET /v1/subscriptions/{subscription_exposed_id}`)
POST /api/auth/stripe/webhook 400 in 16ms
2025-03-02T13:21:18.146Z ERROR [Better Auth]: Stripe webhook failed. Error: Stripe: Argument "subscription_exposed_id" must be a string, but got: undefined (on API request to `GET /v1/subscriptions/{subscription_exposed_id}`)
POST /api/auth/stripe/webhook 400 in 16ms
this is the prolbem
199 replies
BABetter Auth
Created by Vexoa on 3/2/2025 in #bug-reports
Stripe Plugin | Webhook Event Failure
I found out another problem too
199 replies
BABetter Auth
Created by Vexoa on 3/2/2025 in #bug-reports
Stripe Plugin | Webhook Event Failure
invited you to the repo
199 replies
BABetter Auth
Created by Vexoa on 3/2/2025 in #bug-reports
Stripe Plugin | Webhook Event Failure
want access to my repo to see if i done anything wrong?
199 replies
BABetter Auth
Created by Vexoa on 3/2/2025 in #bug-reports
Stripe Plugin | Webhook Event Failure
etc
199 replies