#danielcaze
1 messages ยท Page 1 of 1 (latest)
Hello! We'll be with you shortly. Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.
- danielcaze, 5 hours ago, 2 messages
Hi ๐ at first glance, that looks right. Do you get an error when you run it? Can you also elaborate what you mean by "how does the stripe deals with the diff on the prices", is there something you're seeing in your testing that is unclear?
I didn't get any error, but I didnt saw a log on stripe or a update, it just says that the subscription was created (before I updated) and said nothing after I updated (called the above code)
About the difference in prices I mean, if a user pays 20$ for a subscription and on the same month (after the first charge of the subscription) he decides to change the subscription to another one, for a subscription that costs 10$, will he receive the 10$ back or what?
That depends on what you set for proration_behavior
https://stripe.com/docs/api/subscriptions/update#update_subscription-proration_behavior
https://stripe.com/docs/billing/subscriptions/billing-cycle#prorations
If you don't see any request log for an update, I would recommend refreshing what you're looking at. If it's stil not there, then it sounds like maybe the request wasn't made and I would recommend double checking for errors.
You can also retrieve the Subscription again and check what Price it is using now.
The log that I am seeing is at this endpoint on stripe dashboard '/test/balance' is this correct?
Here it just says it was created
No. The full list of request logs for your account can be found here:
https://dashboard.stripe.com/test/logs
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
I think the operation was successfull, is there a way I can check that?
Ok found it, thanks!!
The status of 200 OK indicates the request was made successfully.
Also toby, where can I find my payment methods (the ones that shows up on the checkout)
I found it once on the dashboard but can find it again
On the page for the Customer it's attached to. If it wasn't attached to a Customer, then I don't think you can see them from the dashboard, but we aren't as familiar with the dashboard in this forum (we focus on the API).
Thanks again!