#awais_webhooks

1 messages ยท Page 1 of 1 (latest)

severe belfryBOT
#

๐Ÿ‘‹ 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.

steel wharf
severe belfryBOT
analog glade
#

๐Ÿ‘‹ happy to help

steel wharf
#

thanks

#

did you read the problem?

analog glade
#

yes I'm looking into it, please bear with me while I do so

steel wharf
#

sure

analog glade
#

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?

steel wharf
#

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

analog glade
#

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

steel wharf
#

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

analog glade
#

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?

steel wharf
#

because when customer started trial he was out of columbia where columbian currency was not supported

analog glade
#

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

steel wharf
#

cancled sub= sub_1SInRPA7OA4LjbBpRHvydQOm
new sub = sub_1SJ9vLA7OA4LjbBpidC1tlEZ

analog glade
#

looking into it

steel wharf
#

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

analog glade
#

this is the invoice in_1SJ9vHA7OA4LjbBpXocVk7oB

steel wharf
#

yes

#

you will see Applied balance
-$20.00 in this

#

in_1SKyK2A7OA4LjbBpmiBKrR2c

analog glade
#

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?

steel wharf
#

correct

analog glade
#

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

steel wharf
#

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

analog glade
#

because we consider any finalized invoice to be paid at some point in the future

steel wharf
#

can you connect me to more technical resource please?

analog glade
#

sure but they will tell you the same thing

#

I'll connect you with a colleague

steel wharf
#

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

severe belfryBOT
steel wharf
#

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

woven smelt
#

hey there ๐Ÿ‘‹ taking over for my colleague, just getting caught up on this thread

steel wharf
#

๐Ÿ‘

#

waiting

woven smelt
#

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)?

steel wharf
#

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

woven smelt
#

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

steel wharf
#

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?

woven smelt
#

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)

steel wharf
#

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

#

what is minimum amount to charge? is it currency based or stripe converts local currency to usd and then compares to minimum amount?

woven smelt
#

'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

steel wharf
#

ok great!

#

cop it not listed on the link you gave

severe belfryBOT
woven smelt
#

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)