#ekta

1 messages ยท Page 1 of 1 (latest)

modern hearthBOT
astral citrus
#

Hi there!

#

Can you clarify what you are trying to do?

rough tangle
#

let subscriptionData = {
// customer: inputs.customer,
customer: "34",
currency: "inr",
price: "sdfs",
};

  // create subscription
  const subscription = await stripe.subscriptions.create({
    customer: subscriptionData.customer,
    items: [
      { price: subscriptionData.price}
    ],
    description: "hello",
  });
#

but memo is not display in invoice

astral citrus
#

we want text in yellow area in suscription
I'm sorry I still don't understand what you are trying to do. Do you want to add some custom text to the invoices created by the subscription?

rough tangle
#

yes... just like memo

#

we want to add this memo in api

astral citrus
rough tangle
#

this can not help because it is for customer... can you help me with add this description as memo in subscription?

astral citrus
#

this can not help because it is for customer...
Each subscription is for a specific customer. And if you set custom_fields for the customer (as mentioned above), then all invoices for the subscription will contain the message.

#

I don't think you can directly change the memo using the API.

#

That's why I recommend using custom_fields

rough tangle
#

it allows only 30 charcters

ripe aurora
#

๐Ÿ‘‹ taking over for my colleague. Let me catch up.

ripe aurora
rough tangle
#

memo is not display in invoice while create in subscription

ripe aurora
#

the description field doesn't appear in the invoice

#

as my colleague explained you need to use the custom_fields

rough tangle
#

how to add memo in subscription invoice?

ripe aurora
rough tangle
#

no we dont want data in custom feilds as it dispay in customer info ..in invoice

#

i want data that feel in this memeo

ripe aurora
rough tangle
#

we create subsription at instant payment so that we can not update invoice

#

is there any way?

ripe aurora
#

let me double check for you plaese

rough tangle
#

we are facing this issue since very long...

ripe aurora
#

yeah I'm terribly sorry about that

lone wagon
#

Hi there ๐Ÿ‘‹ apologies for the delay. I'm jumping in to lend a hand, please bear with me a moment while I catch up on the context here.

#

As my colleague mentioned above the only option is to use custom_field that's the only option to display custom fields in the invoice

rough tangle
#

cant we add memo in subscription?

lone wagon
#

Using API no, the memo you are seeing the dashboard, is a Dashboard only feature

rough tangle
#

so when we create checkout session and customer pay that, and generate invoice, at that time can i add time preriod

#

i attached sample file how can we add time period in checkout session

lone wagon
#

That's generated automatically by the Subscription, you can't override it or set it using API

rough tangle
#

ok...

#

have other issue, we are creating payment using checkout session and generate invoice, at that time can i add time rang.

#

we want to add like this but not able to add time... can you help

lone wagon
#

@rough tangle please let's keep talking in this thread.

rough tangle
#

ave other issue, we are creating payment using checkout session and generate invoice, at that time can i add time rang.
we want to add like this but not able to add time... can you help

#

not subscription

#

๐Ÿ˜ซ

lone wagon