#lucas_reddy

1 messages · Page 1 of 1 (latest)

eternal driftBOT
stone sluice
#

hi! what's the issue exactly?

sharp elk
#

okay for testing i add "start_date" just before 10 minutes in update subscription API
then i call subscriptionSchedule api then after 10 minutes you can see in image

#

its stripe invoice image

stone sluice
#

and what is the issue exactly? were you not expecting a payment failure and you want to know why the payment failed? something else?

sharp elk
#

i don't what happen can i share webhook call

stone sluice
#

anything you can share would be useful!

#

right now I'm completely lost.

sharp elk
#

i am also 🥹

stone sluice
#

what did you expect to see and what did you see happen instead?

what is the ID in_xxxx of the Invoice you're looking at?

sharp elk
#

i have two plans
const subscriptionSchedule = await stripe.subscriptionSchedules.create({

  customer: customerID,
  start_date: 1675770221,
  end_behavior: "release",
  phases: [
    {
      items: [
        { price: "price_1LSJlRBataYFhNKgp94qsExJ" },
        { price: "price_1LhvOxBataYFhNKgIvS7UsEu" },

      ],
    },
  ],
});

here is my subscription update api

stone sluice
#

what did you expect to see and what did you see happen instead?

what is the ID in_xxxx of the Invoice you're looking at?

sharp elk
stone sluice
#

makes sense

sharp elk
#

After Updating subscription schedules
stripe shows "charged after 1 hour" after 1 hour payment failed

#

sorry my english is so weak

stone sluice
sharp elk
#

yes 🙂

stone sluice
sharp elk
#

in_1MYpc2BataYFhNKgUCDRW8Zi

#

it happens with all users

stone sluice
#

it's because the customer does not have any default payment method set on them, so the subscription can not charge anything

sharp elk
#

so what can i do

sharp elk
#

i already pass method on create subscription

#

got it

stone sluice
sharp elk
#

ok thank you