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

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