#Mitsaki

1 messages · Page 1 of 1 (latest)

viscid pierBOT
lofty elm
#

👋 happy to help

nova fiber
#

hello!

lofty elm
#

would you mind sharing the payment method IDs where you think this has happened?

nova fiber
#

cus_LgpTZmWRPAZOay This is the customer ID, does that help?

#

Card removal happend on may first

lofty elm
#

let me take a look

nova fiber
#

thank you!

lofty elm
nova fiber
#

oh okay, thats interesting, thank you!

#

can I ask another question which is more of a problem we are seeing with credit note previews?

lofty elm
#

yes sure

nova fiber
#
Request req_YQvVT0ThlY6RVS: The credit note amount ($274.89) must be less than the invoice amount ($274.88).
lofty elm
#

that's normal

nova fiber
#

when asking for preview we only provide the line item deltas we wanna refund, but seems like the calculation, leads to the "cent off" on stripe side

lofty elm
#

let me take a look at the request then

nova fiber
#

Thank you!

#
{
invoice: 'in_1NBIzaC8l6n3Jm54fk59ixHu', 
lines: [
{
invoice_line_item: 'ii_1NBIzZC8l6n3Jm5466nNXiQ0', 
quantity: 9, 
type: 'invoice_line_item'
}
], 
reason: 'order_change'
}

params provided if that helps

lofty elm
#

basically you did a partial credit note for the invoice and then you're trying to credit note the rest right?

nova fiber
#

yes

#

essentially this guy did reduce their order items and then wanted to cancel, so we tried to refund the remainder

lofty elm
#

I guess this is what made the whole "cent off" mess.

nova fiber
#

yeah, we tried in the past to calculate it ourselves and on partial refunds there was very often the case of the cent off

#

hence why we went the preview route

lofty elm
#

I think the best solution here is to just specify the invoice

#

without anything else

nova fiber
#

oh for full cancellations you mean

lofty elm
#

yes

nova fiber
#

yeah that could work

lofty elm
#

since it is a full refund

nova fiber
#

I would assume in partial refunds this shouldn't be an issue as we don't surpass the invoice total

#

That helps a lot thank you very much

lofty elm
#

no worries, glad I was able to help