#zlf_api

1 messages · Page 1 of 1 (latest)

barren gyroBOT
#

👋 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/1349267069773942797

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

dense ledge
#

Hi! Looking into your query.

#

Do you have the subscription ID of the subscription you updated?

void dagger
#

Yes, but for the test environment

dense ledge
#

That's fine. Can I get the ID?

void dagger
#

sub_1QzY6aHiYvn8ZIkem42CBDkn

dense ledge
#

This will be charged in the future invoice on 6 Apr.

void dagger
#

Based on the current business, I want to use the update feature of the subscription to add, delete, and modify products within a subscription. However, I am unsure about the potential outcomes after performing these actions, for example:

  1. Modification: If I change a product in the subscription from 10$ to 30$, will the user be charged 30 yuan during the next renewal?
  2. Addition: If there is originally a 10$ product and I add a 30$ product, will the user be charged 10 + 30 = 40$ during the next renewal?
  3. Addition with Monthly Subscription: Suppose the subscription cycle is monthly. On the 1st, I create a subscription that includes a 10$ product. Now it’s the 10th, and I add a 30$ product. This 30$ will be charged during the next renewal on the 1st of next month. How should I account for the charge for the period from the 10th to the end of the month?
  4. Deletion: If a subscription contains two products, one costing 10$ and the other 30$, and I delete the 10$ product, will the charge for the next cycle only be 30$?
dense ledge
#

Regarding the modifications, it's always best for you to test it out first because you know your business requirements. You can check in with us if someting doesn't work as expected or you want to check for a different outcome.

void dagger
#

Can I understand it this way? For the modification of the goods in the subscription, the default payment will be deducted in the next cycle, and when it is added, the next cycle will include the amount during this period, as shown in the figure:

dense ledge
#

I am not sure what you mean by default payment. But as you can see in the screenshot, the next invoice on Apr 6 will include 3 items:

  • Mar 12 - Apr 6, 2025 → Remaining time on Deluxe after 12 Mar 2025: $24.15 (Prorated amount from the time it was added till the end of the current period of the subscription)
  • Apr 6 - May 6, 2025
  • Deluxe: $29.90 (Full duration for a month)
  • Ultimate: $19.90 (Full duration for a month)
void dagger
#

OK,OK

#

tks u

void dagger