summaryrefslogtreecommitdiff
path: root/src/components/Scotsoun.astro
diff options
context:
space:
mode:
authorJoe Carstairs <65492573+Sycamost@users.noreply.github.com>2023-11-29 18:15:14 +0000
committerJoe Carstairs <65492573+Sycamost@users.noreply.github.com>2023-11-29 18:15:14 +0000
commit9ced895772ebecb2fa330ae2eecd42060abf2a7b (patch)
treeb08b6a08fd39a11eaef2a2e2b92a661ad00247b0 /src/components/Scotsoun.astro
parent960b019a018c2faf8da1c4a4ade6c12b3c21e5bd (diff)
Diffstat (limited to 'src/components/Scotsoun.astro')
-rw-r--r--src/components/Scotsoun.astro4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/components/Scotsoun.astro b/src/components/Scotsoun.astro
index bbf9730..8252e71 100644
--- a/src/components/Scotsoun.astro
+++ b/src/components/Scotsoun.astro
@@ -4,7 +4,7 @@ import translate from '$i18n/translate';
import tSite from '$i18n/translations/site';
import tComponent from '$i18n/translations/components/scotsoun';
import type Scotsoun from '$types/Scotsoun';
-import PayPalButtons from './PayPalButtons.astro';
+import ProductPayPalButtons from './ProductPayPalButtons.astro';
import relativePath from '$lib/relativePath';
import { getLocaleFromPathOrThrow } from '$lib/getLocaleFromPath';
@@ -27,7 +27,7 @@ const t = translate(locale);
</header>
<div class="product__action-block">
<Image src={scotsoun.img.width192} alt="" />
- <PayPalButtons
+ <ProductPayPalButtons
successPageUrl={relativePath(Astro.url.pathname, `payment-success-confirmation`)}
productDescription={`SSCD${scotsoun.scotsounId} | ${scotsoun.longName}`}
shortDescription={`SSCD${scotsoun.scotsounId}`}