summaryrefslogtreecommitdiff
path: root/src/components/Scotsoun.astro
diff options
context:
space:
mode:
authorJoe Carstairs <65492573+Sycamost@users.noreply.github.com>2023-08-16 08:16:45 +0100
committerJoe Carstairs <65492573+Sycamost@users.noreply.github.com>2023-08-16 08:16:45 +0100
commit4f1f22aa70723fb77d22cc1237a1b85b1d3ae1bd (patch)
tree59af5bdca7abdefa0b913490f4734c00f9d24253 /src/components/Scotsoun.astro
parent5f76bfe714c74b38019b0cdc316d003729905208 (diff)
Parameterises PayPal product details
Diffstat (limited to 'src/components/Scotsoun.astro')
-rw-r--r--src/components/Scotsoun.astro3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/components/Scotsoun.astro b/src/components/Scotsoun.astro
index a0600d1..c1d8fdf 100644
--- a/src/components/Scotsoun.astro
+++ b/src/components/Scotsoun.astro
@@ -33,6 +33,9 @@ const t = translate(locale);
<img src={`/images/scotsoun/sscd${scotsoun.scotsounId}.jpg`} />
<PayPalButtons
successPageUrl={relativePath(Astro.url.pathname, `payment-success-confirmation`)}
+ productDescription={scotsoun.longName}
+ shortDescription={scotsoun.title}
+ totalPrice={scotsoun.price}
/>
</div>
</div>