Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Subscription and Webhooks #274

Open
k2xl opened this issue Aug 26, 2016 · 2 comments
Open

Subscription and Webhooks #274

k2xl opened this issue Aug 26, 2016 · 2 comments

Comments

@k2xl
Copy link

k2xl commented Aug 26, 2016

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!)

@ossanna16
Copy link
Contributor

@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 :)

@paltman
Copy link
Contributor

paltman commented Aug 26, 2016

@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 added a commit that referenced this issue Oct 3, 2016
Previously, we had to wait on webhook response to have subscription data to show users. Now it syncs instantly.

Closes #284
Related to #274
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants