#danielcaze

1 messages ยท Page 1 of 1 (latest)

fierce crowBOT
#

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.

slate jacinth
#

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?

bleak island
#

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?

slate jacinth
#

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.

Learn how to set the billing date for subscriptions.

bleak island
#

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

slate jacinth
bleak island
#

I think the operation was successfull, is there a way I can check that?

#

Ok found it, thanks!!

slate jacinth
#

The status of 200 OK indicates the request was made successfully.

bleak island
#

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

fierce crowBOT
slate jacinth
#

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

bleak island
#

Thanks again!