From 4f23f539851e276417edcabd3c8bb0940b76c5bf Mon Sep 17 00:00:00 2001
From: Joe Carstairs <65492573+Sycamost@users.noreply.github.com>
Date: Sat, 12 Aug 2023 13:42:04 +0100
Subject: Defines PayPalButtons component
---
src/components/PayPalButtons.astro | 121 +++++++++++++++++++++++++++++++++++++
1 file changed, 121 insertions(+)
create mode 100644 src/components/PayPalButtons.astro
(limited to 'src')
diff --git a/src/components/PayPalButtons.astro b/src/components/PayPalButtons.astro
new file mode 100644
index 0000000..0d9b606
--- /dev/null
+++ b/src/components/PayPalButtons.astro
@@ -0,0 +1,121 @@
+---
+import env from '../lib/env';
+
+const PAYPAL_CLIENT_ID = env.ENVIRONMENT === 'prod'
+ ? env.PAYPAL_LIVE_CLIENT_ID
+ : env.PAYPAL_SANDBOX_CLIENT_ID;
+---
+
+
+
+
+
+
\ No newline at end of file
--
cgit v1.2.3