pinax-stripe-light icon indicating copy to clipboard operation
pinax-stripe-light copied to clipboard

Subscription and Webhooks

Open k2xl opened this issue 7 years ago • 2 comments

I'm pretty new to django in general, but i followed along the video from the google hangouts thing the pinax team did recently. But a bit confused on some stuff regarding webhooks

When i run the stripe demo app, and i hit "delete subscription" it spins for a bit and nothing happens. ngrok shows that a few seconds later some webhook request is made, but the subscription isn't "removed" from the app (entry still exists in database)

Also, when adding subscriptions, the page doesn't seem to wait for the webhook, and will show no new subscriptions until the webhook returns and only then after i refresh the page it shows up. Is this the expected behavior (I know this is more of a demo app, but wanted to confirm I didn't miss a step!)

k2xl avatar Aug 26 '16 20:08 k2xl

@k2xl Would you mind joining our Slack team (http://slack.pinaxproject.com) and pinging @paltman in the #pinax-stripe channel? I think it would be a little easier to help you in Slack than here. Thank you :)

ossanna16 avatar Aug 26 '16 22:08 ossanna16

@k2xl I'll need to look into the spinner for "delete subscription". To be clear you are talking about from within an instance of the Pinax Stripe Starter project right? If I find the issue, I'll file an issue.

Yes, I believe that is the case now that I think about it, in terms of the subscription only updating from the webhook, but we should fix that. I'll look into that and create an issue if necessary to track it.

paltman avatar Aug 26 '16 22:08 paltman