diff options
| author | Joe Carstairs <65492573+Sycamost@users.noreply.github.com> | 2023-08-12 12:25:48 +0100 |
|---|---|---|
| committer | Joe Carstairs <65492573+Sycamost@users.noreply.github.com> | 2023-08-12 12:25:48 +0100 |
| commit | 0fd3bf89c81a50573a78a16408af5af332a097c1 (patch) | |
| tree | bcea0740b2ec427d30080ab8efaf1c817e36f6ba /api | |
| parent | 6549313a54e7fede18cfa170df82c29f511d76d7 (diff) | |
PayPal capture request sends Content-Type header
Diffstat (limited to 'api')
| -rw-r--r-- | api/_paypal.ts | 1 |
1 files changed, 1 insertions, 0 deletions
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}`, }; } |
