Hi all,
Im implementing stripe into ERPNext.
I have set a Subscription plan with a cost of 10 Sterling.
Here is the payment request:
But I get the following error:

I dont understand why its calculating the subscription plan as 0, if its set to 10.
Any help is greatly appreciated.
Thanks
I found the error in the code:
function validate_subscription_details(self) in payment_request.py calls the function get_plan_rate in subscription_plan.py.
Even though the cost is calculated correctly in get_plan_rate, when validate_subscription_details(self) calls get_plan_rate the function returns 0 always.
Made a small change and the function get_plan_rate returns the actual rates now and not always 0.