#kboy_silvergym

1 messages · Page 1 of 1 (latest)

pine canopyBOT
#

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.

pale trail
#

hi, what exact error do you get?

jaunty elm
#

I couldn't pass the metadata to phases.

#

If I do so, the error occure.

pale trail
#

what error exactly, what is the message/stack trace?

jaunty elm
#

This is just aTypescript interface's error.

No overload matches this call.
  Overload 1 of 2, '(params?: SubscriptionScheduleCreateParams | undefined, options?: RequestOptions | undefined): Promise<Response<SubscriptionSchedule>>', gave the following error.
    Object literal may only specify known properties, and 'metadata' does not exist in type 'Phase'.
  Overload 2 of 2, '(options?: RequestOptions | undefined): Promise<Response<SubscriptionSchedule>>', gave the following error.
    Object literal may only specify known properties, and 'customer' does not exist in type 'RequestOptions'.ts(2769)
#

Apparently, there is no metadata parameter in the "Phase" interface.

pale trail
#

you need to update the version of the stripe-node dependency that you're using so you get a more recent version that has newer Typescript definitions that match updates made to the API

#

or just use @ts-ignore on the line

jaunty elm
#

Ok! Thanks! I'll try.

#

I see.

#

It has resolved!

#

Thank you.