@ismcagdas
The link you sent doesn't work.
Hello,
I am doing this from the Tenant admin account, users don't have an option for subscription update, only tenants do.
Hello, I have switched the "await _subscriptionPaymentRepository.GetLastCompletedPaymentOrDefaultAsync" to "await _subscriptionPaymentRepository.GetLastPaymentOrDefaultAsync" and there is no more error. When new tenant is registered it creates external id with the subscription ID that is created by the "Stripe" and everything works fine but when I am trying to Upgrade subscription from "Pro" to another it creates some external ID that is different from the subscription ID so the stripe service cannot find this id to make changes on the existing subscription
I am not sure that this is the proper way to do this, can you explain me in short how the stripe subscription works, do I have to make changes on the existing subscription or everytime when users manage their subscription plan should create new stripe subscription ID.
Thanks,
Hello
This happens when trying to upgrade from lets say "Pro" to "Enterprise". And also i have integrated the new customer portal that "Stripe" released 2-3 months ago and when i make new WebHook for (customer.subscription.update) it gives the same error because it doesnt create the SubscriptionPayment any suggestion how can i integrate this customer portal easily ?
In the process of extending "Stripe" payment system i figured out that when trying to change(upgrade) subscription i am getting error "LastPayment was null". I will be very happy if you help me solve this problem.