hotfix(payment-klarna): refund amount in minor unitS
This commit is contained in:
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
|
||||||
|
|||||||
Reference in new issue
Block a user