Editing a description of positions in a Stripe line

At my employer, the client has just been baffled by the email invoice sent by Stripe, on a regular subscription with proportional goods:

Unused time on Silver plan after 27 Aug 2015      -$48.13
Remaining time on Gold plan after 27 Aug 2015     $240.63
Subscription to Gold plan                         $250.00

She thought she was being paid for an extra month. We really would like to make it more obvious what these allegations mean, for example, by specifying the exact time period to which each element belongs - something like what the bar in the toolbar shows:

Unused time on Silver plan    Aug 27, 2015 — Sep 26, 2015    -$48.13
Remaining time on Gold plan   Aug 27, 2015 — Sep 26, 2015    $240.63
Subscription to Gold plan     Sep 26, 2015 — Oct 26, 2015    $250.00

However, I see no way to customize emails with invoice delimiters outside the header, and although we can edit the description of invoice elements in the webhook callback, I see no way to edit the description of the subscription element. According to the API documentation , a position identifier is either an identifier of an account element or a subscription identifier, therefore the position itself can’t be received or edited directly, and I don’t want to edit the description of the subscription itself, only an element of this account.

Is this the only way to do this, to send our own invoices from scratch and not use Stripe billing at all, or have I not found any way?

+4
source share

Source: https://habr.com/ru/post/1610019/


All Articles