#Edi-minimum-charge-NOK

1 messages ยท Page 1 of 1 (latest)

opal flame
#

Hello ๐Ÿ‘‹
So if I understand the ask correctly, you want to know what the minimum charge amount is in NOK?

lime vapor
#

I know that the minimum "charge" amount is 3 for NOK, and 0.5 for EUR

#

Problem is ... when I try a partial capture, of a higher charge

#

I am being given the following:

Amount must be at least kr3.00 nok

#

Which is weird because, I want to do a partial capture of 2.5 NOK from a charge of 50 NOK

#

The API says "Amount must be at least kr3.00 nok", whereas, if I do the very same thing in the Dashboard, it's possible, down to 0.5 NOK

#

I think this maybe just a bug in the admin, and you can't capture less than 3 ... because I am typing 2 NOK, but it says can't capture less than 0.5 NOK (which sounds a lot like 0.5 EUR)

#

To my understanding, this breaks up into two things:

  1. Admin panel has a visual bug, when it comes to the minimum capturable amount

  2. It's not possible to capture less than the minimum charge, even if it's from a bigger charge?

opal flame
#

Hmm give me a moment to think this through

lime vapor
#

Let's talk about it in EUR, if it's easier for you, or USD ?

opal flame
#

Oh if you have an example in USD that'd be awesome!

lime vapor
#

I understand there is a minimum charge we can take from a card, like 0.5 USD, but should we not be able to charge more, and capture less?

#

So, let's take it like this

#

We can also have a call

#

if it's easier for you ๐Ÿ™‚

opal flame
#

I'm actually juggling between a few threads so let's chat

lime vapor
#

Alright

#

So. There is a lower limit of what can be charged from a user, which is 0.5 USD right?

opal flame
#

yup

lime vapor
#

We offer a pay as you go feature, where we charge you 5 USD, and when you're done, we refund you the rest (eg. we capture only what has been used)

#

So you ride our scooters for 2 USD, therefore we do a partial capture of 2 USD, so the remainder of 3 USD is refunded back to you

#

Correct?

opal flame
#

yup go on

lime vapor
#

So, one minute costs 0.25 USD

#

You ride for 1 minute only, and you're done.

#

Then I would capture just 0.25 USD out of 5 USD

#

right?

opal flame
#

yup

lime vapor
#

Ok, so, our API tries that, but Stripe API says "Amount must be at least 0.50 USD"

opal flame
#

Okay so what APIs are you using here?
Are you using PaymentIntents and then creating refunds based on the usage?

lime vapor
#

So, it seems like we could only do partial captures, equal or greater than the minimum charge, which doesn't really make sense .. as we already charged more.

#

Yes, we have an uncaptured paymentintent

#

and we charge based on usage

#

PHP Api

#

PHP SDK**

opal flame
#

Gotcha so you're basically doing authorizations and capture, correct?

lime vapor
#

correct

opal flame
#

Okay! Thanks for going into such details ๐Ÿ˜„ currencies are hard

#

Let me take a look

lime vapor
#

No probs

opal flame
#

AFAIK the charge needs to be the minimum amount
So we'd have to look for alternatives

lime vapor
#

Yeah, I'm wondering if .. the minimum capturable amount, must be always >= than the minimum charge amount

#

For now, it seems like it is.

#

Basically, my issue is that, capturing an amount smaller than the minimum charge amount does not seem to be possible, which is kind of weird if you ask me.

opal flame
#

Yeah, I'm wondering if .. the minimum capturable amount, must be always >= than the minimum charge amount
That is correct

Basically, my issue is that, capturing an amount smaller than the minimum charge amount does not seem to be possible, which is kind of weird if you ask me.
Yeah I think that is not supported by the API currently.
A workaround would be to issue a partial refund whenever you come across this edge case

lime vapor
#

That means, capturing the entire auth, and then doing a partial refund

#

Right?

opal flame
#

you could capture the minimum amount and then do a partial refund on that

#

you don't have to capture the whole $5

lime vapor
#

Hm

#

That sounds, interesting.

opal flame
#

if you want $0.25 then capture $0.50 and partially refund $0.25

#

that flow works using the dashboard

lime vapor
#

Yeah, understood

#

Guess it's just an API limitation afterall, and no actual reasoning behind it, since you can partially refund the minimum capturable amount

#

I could also just capture the minimum amount, and simply add the difference to the user's wallet, which might, or might not be used, up to him.

#

Anyhow, if you can report that bug to your colleagues, at least something good can come up out of it.

#

There's a bug in the minimum capturable amount (per currency) when you want to do a partial capture, lower than the minimum charge amount.

#

See here, i'm trying to capture 2 NOK (less than 3, which is the minimum for nOK).

Still, error message says must be greater than 0.5 NOK

#

2 > 0.5 but gives an error anyhow

#

it's like trying to capture 0.3 USD, when the min is 0.5 USD, but the error says it must be at least 0.15 USD

opal flame
#

Yeah that seems to be a bug

lime vapor
#

The currency is shown correctly, but the value isn't (based on the currency), I think it just show's the account's default (which is 0.5 for EUR)

#

Anyway, have a great one!