From 0fd3bf89c81a50573a78a16408af5af332a097c1 Mon Sep 17 00:00:00 2001 From: Joe Carstairs <65492573+Sycamost@users.noreply.github.com> Date: Sat, 12 Aug 2023 12:25:48 +0100 Subject: PayPal capture request sends Content-Type header --- api/_paypal.ts | 1 + 1 file changed, 1 insertion(+) (limited to 'api') diff --git a/api/_paypal.ts b/api/_paypal.ts index 99e45f7..e0447c0 100644 --- a/api/_paypal.ts +++ b/api/_paypal.ts @@ -55,6 +55,7 @@ function paypalCreateOrderRequestHeaders(accessToken: string) { function paypalCaptureOrderRequestHeaders(accessToken: string) { return { + 'Content-Type': 'application/json', Authorization: `Bearer ${accessToken}`, }; } -- cgit v1.2.3