diff --git a/package-lock.json b/package-lock.json
index 7dea55f8..f70ce15b 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -19,7 +19,7 @@
"@astrojs/starlight-docsearch": "^0.6.1",
"@astrojs/ts-plugin": "^1.10.6",
"@expressive-code/plugin-collapsible-sections": "^0.41.6",
- "@expressive-code/plugin-line-numbers": "0.41.3",
+ "@expressive-code/plugin-line-numbers": "0.41.6",
"@sindresorhus/slugify": "^3.0.0",
"@sumup-oss/circuit-ui": "^10.14.5",
"@sumup-oss/design-tokens": "^9.0.0",
@@ -3497,13 +3497,13 @@
}
},
"node_modules/@expressive-code/plugin-line-numbers": {
- "version": "0.41.3",
- "resolved": "https://registry.npmjs.org/@expressive-code/plugin-line-numbers/-/plugin-line-numbers-0.41.3.tgz",
- "integrity": "sha512-eig82a4CRC3XgVPQ2S/TMDcLiHJokOCD/mAdNVImpD3segVewxfjGgtj5DXQRo0E0q6f0R0EH34YzTFl5CEPqg==",
+ "version": "0.41.6",
+ "resolved": "https://registry.npmjs.org/@expressive-code/plugin-line-numbers/-/plugin-line-numbers-0.41.6.tgz",
+ "integrity": "sha512-YS8oLrGNBjY8qVVl6ZntwPXIh5HGrLEq23R6eyJ0tCJQmq03tCOOiWw9cc2R3J/XobXAI7coAtVbqAiGFB8pXQ==",
"dev": true,
"license": "MIT",
"dependencies": {
- "@expressive-code/core": "^0.41.3"
+ "@expressive-code/core": "^0.41.6"
}
},
"node_modules/@expressive-code/plugin-shiki": {
diff --git a/package.json b/package.json
index 29978fc1..b73d10a5 100644
--- a/package.json
+++ b/package.json
@@ -47,7 +47,7 @@
"@astrojs/starlight-docsearch": "^0.6.1",
"@astrojs/ts-plugin": "^1.10.6",
"@expressive-code/plugin-collapsible-sections": "^0.41.6",
- "@expressive-code/plugin-line-numbers": "0.41.3",
+ "@expressive-code/plugin-line-numbers": "0.41.6",
"@sindresorhus/slugify": "^3.0.0",
"@sumup-oss/circuit-ui": "^10.14.5",
"@sumup-oss/design-tokens": "^9.0.0",
diff --git a/src/components/content/Button.astro b/src/components/content/Button.astro
index 6c303dfe..95e21d97 100644
--- a/src/components/content/Button.astro
+++ b/src/components/content/Button.astro
@@ -1,48 +1,25 @@
---
+import { Button as Default } from "@sumup-oss/circuit-ui";
+import { ArrowSlanted } from "@sumup-oss/icons";
+
const { href, ...props } = Astro.props;
+const isExternal = /^https?:\/\//.test(href);
---
{
href ? (
-
+
-
+
) : (
-
+
)
}
-
-
diff --git a/src/content/docs/online-payments/checkouts/swift-checkout.mdx b/src/content/docs/online-payments/checkouts/swift-checkout.mdx
index a4d2234d..ef5fabfd 100644
--- a/src/content/docs/online-payments/checkouts/swift-checkout.mdx
+++ b/src/content/docs/online-payments/checkouts/swift-checkout.mdx
@@ -8,8 +8,6 @@ sidebar:
import { Aside } from '@astrojs/starlight/components';
-## About Swift Checkout SDK
-
The Swift Checkout SDK enables you to offer a complete and fast checkout experience to your end users, allowing you to collect payment, address, and contact information with a click of a button. Swift Checkout SDK allows for Google Pay and Apple Pay setup.
### Prerequisites
@@ -195,8 +193,8 @@ paymentRequest.onShippingAddressChange(async (newShippingAddress) => {
@@ -241,7 +239,7 @@ buttons
{ id: 'apple_pay' },
{ id: 'google_pay' }
// See `paymentRequest.availablePaymentMethods()` for all available payment methods
- ],
+ ],
container: document.querySelector('#express-checkout-container'),
});
```
@@ -465,4 +463,3 @@ Once the hash has been applied you can proceed with the domain validation steps:
3. Navigate to the **Integrate with your website** and click on **+ Add website**
4. Fill out the form with the requested information (domain name, buyflow screenshots, etc.)
5. At the top of the page click on **Submit for approval**
-
diff --git a/src/content/docs/online-payments/plugins/prestashop.mdx b/src/content/docs/online-payments/plugins/prestashop.mdx
index 43bb2232..f28fbde3 100644
--- a/src/content/docs/online-payments/plugins/prestashop.mdx
+++ b/src/content/docs/online-payments/plugins/prestashop.mdx
@@ -11,7 +11,9 @@ import Button from '@components/content/Button.astro';
To use PrestaShop with SumUp, download the SumUp Payment module plugin, which requires configuration in your SumUp dashboard.
-
+
+
+
## Prerequisites
diff --git a/src/content/docs/online-payments/plugins/woocommerce.mdx b/src/content/docs/online-payments/plugins/woocommerce.mdx
index 490c7a2f..fc0802cb 100644
--- a/src/content/docs/online-payments/plugins/woocommerce.mdx
+++ b/src/content/docs/online-payments/plugins/woocommerce.mdx
@@ -14,7 +14,12 @@ The [SumUp Payment Gateway for WooCommerce](https://wordpress.org/plugins/sumup-
The SumUp WooCommerce plugin is SCA ready and compliant with PCI standards.
-