WaspW
Wasp12mo ago
sachdva

Stripe Problem! Everything works on dev, but not on prod

Classic, everything works on my end but not on prod.
I highly suggest everyone to make a 100% coupon before your customers complain!

When running on dev with the stripe webhook everything is fine and dandy.
When running on prod with stripe and fly, I get 200s and delivered.

They thing I don't understand is that I've updated the webhook.ts to give these logs so I can debug and understand them
console.log('Processing customer.subscription.updated:', {
subscriptionId: updatedSubscription.id,
customerId: updatedSubscription.customer,
status: updatedSubscription.status,
cancelAtPeriodEnd: updatedSubscription.cancel_at_period_end
});

on dev I see the logs with the stripe webhook running

on prod (on flys server) I don't see them! Is that the clue?

Anyone had such an issue?
Was this page helpful?