#wiiim
1 messages · Page 1 of 1 (latest)
Can you share an example Invoice of what you're describing?
Sure, in this receipt it would need to say 49€ payed on 21th March 2023 instead of 39€. Additionally the list should contain the subscription's price item with a value of 49€ and the "Wechselprämie (10,00 € Rabatt)" says 0€ instead 0f -10€.
Sorry, the Receipt is in German. I hope that's fine.
Can you share the in_xxx ID of that Invoice?
Taking a look
I suspect the issue is because you're passing backdate_start_date on creation
Normally the discount would be a specific line item
But because you're backdating the Subscription on creation, it's technically a prorated line item so we calculate those differently
Hmm, but we definitely need the backdate_start_date property. I've quickly created a subscription without the property, The receipt still seems similar to the one I provided earlier, so it didn't seem like it made a difference. in_1MoOCYBedPgr0Zv22Sm6MqNn is the new invoice I just created without the property.
Well you're still passing billing_cycle_anchor on creation too, which will also prorate: https://stripe.com/docs/billing/subscriptions/billing-cycle#:~:text=To create a subscription with a billing cycle anchor in the future and a prorated invoice until the anchor takes effect%2C you can use the API or Checkout.
I see. in_1MoOJzBedPgr0Zv2RyFNGkis now shows the coupon being applied in the invoice as -10€ and the listing is correctly shown as 49€.
I have some follow-up questions on that.
First one is the application fee when using connected accounts. For subscriptions this is a percentage, not a fixed cent value.
For the subscription we always want to take 10€ as an application fee. So we calculated the percentage accordingly. If a user now uses a coupon, the gross price drops which results in the application fee being lower than 10€. Is there somewhat a way to have the gross price still be the full price, or are coupons just working that way? I think we can calculate a different application fee if the user uses a coupon code to come back up to the 10€ again.
Second one is the Invoice Number in a Receipt: Is it possible to remove that number from the just the Receipt?
Yeah you can only use a % fee with recurring payments unfortunately, which will obviously vary if a discount is applied. One way to counter that would be to manually transfer the amounts, instead of using application_fee_percent. But that would require development overhead on your part.
Second one is the Invoice Number in a Receipt: Is it possible to remove that number from the just the Receipt?
You'll need to share an example here
For example this is the header of a receipt:
Under the headline there is "Rechnungsnummer" which means Invoice Number. We don't want to share that on the receipt, only on the actual invoice. We normally don't send the whole invoice to the customer, but rather just the receipt.
Hmm, I think that is the invoice. That doesn't look like a receipt to me
I copied the url from hosted_invoice_url and paid the bill and then clicked on the blue primary button saying "Zahlungsbeleg herunterladen"
I don't know what that means. But maybe that can be removed, but I doubt it: https://stripe.com/docs/invoicing/customize
"Zahlungsbeleg herunterladen" basically means "Download receipt"
The downloaded file is also named "Receipt-XXX-XXX" instead of "Invoice-XXX-XXX". But I highly doubt it too.
Hi! I'm taking over this thread.
Unfortunately I don' think this can be removed from the receipt.
Hey 🙂 alright, thanks for confirming it.
All questions resolved now, thanks to both of you guys!