hotfix(payment-klarna): refund amount in minor unitS

This commit is contained in:
Sebastian Rindom
2020-09-17 17:28:28 +02:00
parent 322366ca93
commit 71f9bdf603
@@ -385,7 +385,7 @@ class KlarnaProviderService extends PaymentService {
await this.klarna_.post(
`${this.klarnaOrderManagementUrl_}/${order_id}/refunds`,
{
refunded_amount: amount,
refunded_amount: amount * 100,
}
)
return order_id