summaryrefslogtreecommitdiff
path: root/api/_paypal.ts
diff options
context:
space:
mode:
Diffstat (limited to 'api/_paypal.ts')
-rw-r--r--api/_paypal.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/api/_paypal.ts b/api/_paypal.ts
index e0447c0..5abb198 100644
--- a/api/_paypal.ts
+++ b/api/_paypal.ts
@@ -38,7 +38,7 @@ function paypalCreateOrderRequestBody(order: Order) {
soft_descriptor: order.shortDescription,
amount: {
currency_code: 'GBP',
- value: order.totalPrice.toFixed(2),
+ value: order.totalPrice,
},
},
],