I’ve set up a Stripe Webhook to get notified when a subscription is successfully charged with the event " invoice.payment_succeeded" (as advised in this post by @yusaney1 ).
You can try to see what really happened with https://webhook.site
You can redirect your request and see exactly whats going on (as secondary backup test).
I got the same problem, but for description in subscribe action (field is empty).
Still investigating… any news from your last post?
Bubble’s support team required a test workflow, which wasn’t easy to provide since it was using a webhook triggered by Stripe itself…
So instead I provided a workflow retrieving the invoice ID via two different methods (via a custom API call and via Bubble’s plugin) to demonstrate the bug. This was in itself a workaround. And since that workaround works, Bubble didn’t think it was worth investigating further (they have to prioritise our numerous requests ).
I’m fairly certain I’m missing something, but I can’t figure out where I’m going wrong. When the user registers, they begin a subscription, and so Bubble stores their customer ID by default.
All I want to do, is show each user, what next month’s subscription cost will be, using “upcoming.invoice” (Retrieve an upcoming invoice | Stripe API Reference). All I should need is the customer ID and “amount due”. The webhook initializes successfully, and sends tests successfully, but I can’t figure out a simple way to display this to the user.
It should be able to, since when I log into my Stripe dashboard, I can see an upcoming invoice (even if free trial is enabled) for every subscriber.
Thanks @Lucien , that’s what I might end up using to pull all the misc. invoice data I want to display. I feel really stupid, but I found Bubble’s built-in solution for showing next invoice due and it’s actually working for me.
If anyone reads this, it’s found under User:
I will likely run an API call (or try and get the webhook working, since I think that’s what it’s meant for - catching data only when things change) to show them more details that Bubble’s built in features don’t catch