ERPNext Foundation ERPNext Cloud User Manual Blog Discuss Frappé* Donate

Subscriptions gone wrong?

subscription

#1

I can not seem to get my subscriptions working quite right. It appears to continuously create a new duplicate of any unpaid subscription invoice, every hour.


#2

This also brings up another question. The first invoice in each subscription is paid via a Stripe Payment Request with “Is Subscription” checked. This creates a billing subscription in my Stripe account, but the invoices created by the subscription simply remain unpaid. I understand the two subscriptions systems operate independently, but how am I able to automatically mark my subscription invoices as paid after each billing cycle.


#3

I am a little desperate here. I need to get my subscriptions on the books so I can start collecting from clients for services which I have already started to provide. Any help is appreciated!


#4

If Stripe is managing your subscriptions, then you should let Stripe create an invoice and create an integration to pull it to ERPNext. This feature does not exist out of the box in ERPNext, but would not make sense to use subscription in both systems.


#5

We are trying to use Subscriptions too and it does not seems to work. Same problem, one invoice per hour forever.


#6

I agree, it is redundant to use subscriptions in both systems but this is how the current subscription integration appears to have been developed. I am simply trying to use the subscription system (integrated with Stripe) which is already built into ERPNext out of the box.

I can’t figure out why it constantly creates new invoices every hour. This is my biggest problem.

What was the intended way for handling succeeding invoices after the first subscription invoice? The first invoice is marked paid by the Payment Request, but the others have no automation to mark them as paid, even though Stripe is processing payments every billing period.

Ideally, I would have ERPNext handle all subscription invoicing. Every billing period, ERPNext would make a call to the Stripe API to process payment on a card. This would obviously require ERPNext to store payment card information, requiring an extra level of security. I am sure this is why this route wasn’t used.


#7

I know it may not be a priority, but if anyone is willing to provide some guidance to solving the one invoice per hour issue, it would be greatly appreciated.


#8

Hi!

Assuming you are self-hosted have you checked the logs for details of say a scheduled process?


#9

I’m working in a PR for this and others subscription issues. I will let you know when I create it.


#10

That is great. I appreciate your help. Please do let me know.


#11

subscriptions never worked. We intervened in the first discussions in github and there were no replies even from the people who performed the functionality.

With our team, we are correcting practically all subscription functionalities. The biggest problem is that then it’s bold to make them merge the PR (and we’re talking about corrections), and much less in V11 (it should as it’s a feature that never worked in this version).


How to set subscription expiry in v11?
#12

Fredrico, that is good background. It is interesting that it was accepted as stable in V11 given it never truly functioned as it was intended. I appreciate the work that you and your team are doing. Do you have an idea of how long it will take you to polish up?