What is the best and sensible way to change PPE pricing
One of the problem with PPE pricing is that pricing is tightly coupled with code. It's good feature and gives developer a control to specify what to charge for precisely! However, it's a problem when it comes to changing the pricing of PPE.
Apify as a platform, doesn't allow pricing to be changed immediately (even for PPE actors). With rental it was ok. Because Apify just provides date on which new rental will be effective. Developer can continue focusing on any upgrades meanwhile without worrying about versions and syncing.
With PPE, I have new pricing logic ready in the code but I can't take away old pricing immediately! At the same time syncing with the date Apify provides for new pricing to be effective is tricky part to perform exactly when!
So, there should be sensible way to make new pricing effective without any hassles.
7 Replies
@Lukas Krivka can you pls help here?
Yeah you need to either have both versions in the code or rebuild exactly at the pricing switch. I hope we can make this easier in the future
@Lukas Krivka
Correct! I am facing the same issue! I just had to keep both events and mark old events and now requested support to remove deprceated ones!
Another pain point is that there is no way for me to know current event names of my own actor in Apify anywhere. I am talking about event name string used in code.
Right now, I am getting error from charging manager about event name after changing events. I want to verify for any TYPO in event name but how do I know all my event names to verify!
@Saurav Jain Actually, I just realized that new event pricing is not effective even when Apify says new pricing is effective! This is highly unreliable considering it affects live customers and billing. I am DMing you details
Another pain point is that there is no way for me to know current event names of my own actor in Apify anywhere. I am talking about event name string used in code.I see, you would only see them in the change pricing form that you cannot access often ,right?
Right now, I am getting error from charging manager about event name after changing events. I want to verify for any TYPO in event name but how do I know all my event names to verify!You should be able to find them via API. If you do GET Actor, see https://api.apify.com/v2/acts/compass~crawler-google-places
Actually, I just realized that new event pricing is not effective even when Apify says new pricing is effective! This is highly unreliable considering it affects live customers and billing. I am DMing you detailsIsn't it a timezone issue? It should swap at midnight UTC
Correct. And if price changed in last 1 month, I will not be able to reach that form even!
It got resolved by support team. But I still want to mention in case there is any bug in system. Pricing did not change even after 5 hours post mid night UTC
@Dhrumil just advanced to level 2! Thanks for your contributions! 🎉
This will be fixed soon, the team knows it was a mistake to not have this in JSON primarily