Hi there
Can you check the datatype of 'price' at your end? We tried using the same script and it worked for us.
which type it must be?
I'm discussing this with my Engineers and I'll update you tomorrow.
Can you try passing it like this "plan_unit_price": int(price) * 100,?
ohh. Now it's good. Thank you for your reply.
Pavel Lankmiler
Hello there. I'm using your service and your api. I'm using create subscription for customer function(python ver.)
https://apidocs.chargebee.com/docs/api/subscriptions#subscription_plan_unit_price
I'm trying to change default plan price using this attribute and it gives me an error - wrong format.
I recieve a number from my site - for example 1600, it's not in cents, so i must make *100.
so finally it looks like :
How can i fix it? or there is limit for it?