#awais_webhooks
1 messages ยท Page 1 of 1 (latest)
๐ 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/1430826178478084126
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
๐ happy to help
yes I'm looking into it, please bear with me while I do so
sure
I'm getting a hard time understanding the state of your subscription
would you mind just creating a new one and reproduce the effect and describe what you did please?
i have this problem on multi account basically i am starting a trial subscription with 0.00 amount in usd then after canceling that subscription starting a new one with new currency which is cop. this problem starts with account. let me know what you else need to know to understand it well
evt_1SKyKBA7OA4LjbBpBXh1LUuP
also have same problem
but why are you canceling that subscription and start a new one?
what's happening here is that the customer is getting applied balance from the canceled susbcription
because that was a trial started in usd, now user has changed the region and want to buy subscription in Columbian currency and if you have usd subscriptions bonded with customer you can not continue same with any other price.
question is why stripe applying balance it self while customer have added a card stipe should charge from card instead of applying balance
why not just create the subscription in Columbian currency in the first place?
I need to take a look at the canceled subscription first to see how it applied the balance
would you mind sharing the subscription ID?
because when customer started trial he was out of columbia where columbian currency was not supported
then just create a new customer
in that case the new customer won't have any applied balance
but in all cases that's not the underlying issue
it's the proration that's happening on the susbcription cancellation
cancled sub= sub_1SInRPA7OA4LjbBpRHvydQOm
new sub = sub_1SJ9vLA7OA4LjbBpidC1tlEZ
looking into it
it can not be proration because when trial start we do not take any card information, i believe proration starts applying when strip have over charged or customer bought lets say yearly plan then shifted to monthly and now we have customers balance. just want to make sure you start thinking and investigating in right direction
this is the invoice in_1SJ9vHA7OA4LjbBpXocVk7oB
yes because the subscription is no longer in trial
wait
let's focus on the first subscription for a second
so you'd understand why the customer got accrued the balance
the subscription is on a daily price
and has 1 day of trial right?
correct
so even though the next invoice (period 17-18) has not been paid, when you cancel the subscription on that same day we consider the invoice to be paid and return the money to the customer
but when we have not charge any thing yet nor we have customer's card details, why would we send money back to customer, this is very common problem there should be a solution for that.
also let say what you are saying is correct one time balance should be applied to very next subscription, right now onwards all intervals are free for that customer
if you see this cus_TFI1Fff6KLeYdn customer it has -$140.00 COP which again i would sy is not understandable
because we consider any finalized invoice to be paid at some point in the future
can you connect me to more technical resource please?
sure! when user has already attached a payment method what are we waiting for? we have payment method why we are not starting charging that user why still waiting? these are some question which are still to be cleared
and if i have not charged any thing to user what is the way to cancel that subscription and start new one without applying any balance as we have not deducted any thing yet
hey there ๐ taking over for my colleague, just getting caught up on this thread
hey sorry for the delay, it's taking some time to review the subscription details to track down the balance
just to confirm, is your question related to (a) why the balance was created for the customer, or (b) why the balance was applied to their invoices (instead of Stripe charging their card)?
yes i need to clear both the questions, most important is why the balace was created? it it was not created it would not have been applied
ok thanks for confirming! the reason it was created is because 20.00 COP is less than the minimum charge amount, so each time you try to create an invoice for that amount, since Stripe can't charge an amount that small, the amount gets added to the customer as a balance (i.e. an amount the customer owes you)
this means that Stripe will then add that amount to their next invoice
this is happening each time you try to create a 20.00 COP invoice: https://dashboard.stripe.com/acct_1PITwOA7OA4LjbBp/test/customers/cus_TFI1Fff6KLeYdn/balance_transactions
according to your reasoning it will happen every time on 20Cop amount right?
and this will be charges automatically by stripe at some point right?
yes, this will happen every time you try to invoice for this amount - this behaviour is documented here: https://docs.stripe.com/invoicing/customer/balance#:~:text=Marking an invoice as paid and moving the amount owed to the credit balance as a debit. This happens when the amount due on an invoice is less than the minimum chargeable amount
Stripe won't automatically create a charge for the customer's balance, but the balance will be applied to future invoices (adjusting the amount the customer is charged)
make sense thank you, one last thing this if this ever happend on production account stripe will charge amount automatically when it will be good enough to charge?
if you see this
https://dashboard.stripe.com/acct_1PITwOA7OA4LjbBp/test/customers/cus_TFI1Fff6KLeYdn/balance_transactions
here debit mean that customers owes me $160 right?
i am sorry if questoins are so basic because its confusing for me stripe applying balance it self for a customer which paid nothing to me yet
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
what is minimum amount to charge? is it currency based or stripe converts local currency to usd and then compares to minimum amount?
it's currency-based: https://docs.stripe.com/currencies#minimum-and-maximum-charge-amounts
'debit mean that customers owes me $160 right?'
yes exactly! ๐
'one last thing this if this ever happend on production account stripe will charge amount automatically when it will be good enough to charge?'
not exactly - Stripe won't charge automatically, but if the customer is ever invoiced for an amount above the minimum amount (i.e. an invoice that will actually charge their card), then the balance amount will be added to that invoice
I'm afraid I'm not sure what the minimum amount is for COP currency, looking into this now
ah it's because COP isn't an available settlement currency
the charge needs to be above the minimum charge amount for your settlement currency (i.e. the currency you receive payouts in)