#piq9117

1 messages · Page 1 of 1 (latest)

umbral dustBOT
stoic topaz
#

Hi there, I don't see you pass a from_subscription in this request.

livid hearth
#

oh. woops. i think that's the update request. this is the subscription schedule creation req_qTSZddmqPsJ3xi

stoic topaz
#

Thanks for the ID. What do you mean by it looks like it makes another charge.?

livid hearth
#

currently looking at my setup coz i'm getting confused on where this extra charge is coming from. from what i'm seeing, I have this subscription that I charge customer $0 but it's regular price is $1000. When the customer updates the subscription, I see that they get charged for the $1000. i'll get back to you in a bit

stoic topaz
#

I don't see a charge of $1000, but if you can find one, let me know.

livid hearth
#

am i setting this up correctly? I want the first price to end at a certain date and start the other on that end date

{
  "end_behavior": "release",
  "phases": [
    {
      "end_date": "1675209600",
      "start_date": "1674620728",
      "items": [
        {
          "quantity": "1",
          "price": "price_1MTVb0GJhtMpdHF8BoiE0Yx1"
        }
      ]
    },
    {
      "end_date": "1677801600",
      "start_date": "1675209600",
      "items": [
        {
          "quantity": "1",
          "price": "price_1MTVayGJhtMpdHF8BxGqfahi"
        }
      ]
    }
  ]
}
stoic topaz
#

It looks good to me.