#naveed-web3auth_api

1 messages ¡ Page 1 of 1 (latest)

frozen cipherBOT
#

👋 Welcome to your new thread!

⏲️ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.

⏱️ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.

🔗 This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1372154457755881574

📝 Have more to share? Add more details, code, screenshots, videos, etc. below.

Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.

crimson basin
#

I meant reducing from 2 items to 1

#

Technically the proration should credit the unused flat fee portion to the user. So if growth plan was 60USD, downgrading mid-month should credit 30USD to the user.

#

Each subscription basically consists of two things

  1. a metered item
  2. a flat fee item

For base plan however, it is only a metered item

#

So I need to support Growth > Base or Scale > Base etc.

#

I think pending updates may not be needed in downgrade scenario since we are crediting users so there's no need for any action on their credit card e.g. 3ds

#

I think downgrading from Scale > Growth should also be similar

#

ok I've tested that Scale > Growth works fine. So I guess the only thing not working is Scale/Growth > Base

#

due to the unsupported deleted flag

hallow kite
#

In your request, you should simply remove pending_if_incomplete in payment_behavior

crimson basin
#

Ok so I can just detect if it is a downgrade to base plan and remove that flag

#

but keep it for other cases

hallow kite
#

Yeah that's an option.