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. - diff --git a/src/content/docs/terminal-payments/cloud-api.mdx b/src/content/docs/terminal-payments/cloud-api.mdx index 34e229b1..b8deed79 100644 --- a/src/content/docs/terminal-payments/cloud-api.mdx +++ b/src/content/docs/terminal-payments/cloud-api.mdx @@ -10,8 +10,6 @@ import Video from '@components/content/Video.astro'; import SoloScreen from '@components/content/SoloScreen.astro'; import { cloudapiname } from '@lib/productnames.ts'; -## About Payments with Cloud API - The { cloudapiname } lets you start a transaction from a Point of Sale (POS) running on any platform (Windows, iOS, Linux, Android, Web-based, etc.) capable of sending HTTPS requests and complete that transaction via a Solo reader. Key advantages include: @@ -353,7 +351,7 @@ Read the [Get Reader Status endpoint documentation](/api/readers/get-status) for ### Update Reader -Update the data of a specific reader. +Update the data of a specific reader. Check the [Update a Reader endpoint documentation](/api/readers/update) for details on the API request, examples, and parameter descriptions. diff --git a/src/content/docs/terminal-payments/payment-switch.mdx b/src/content/docs/terminal-payments/payment-switch.mdx index 7406e7e9..bc71b21c 100644 --- a/src/content/docs/terminal-payments/payment-switch.mdx +++ b/src/content/docs/terminal-payments/payment-switch.mdx @@ -5,8 +5,6 @@ sidebar: order: 3 --- -## Overview - SumUp API Payment Switch is a light integration where your app opens the SumUp app to request and execute a payment. This integration approach has been the go-to solution for web аpplications before the platform-agnostic [Cloud API](/terminal-payments/cloud-api) was released. Your app initiates a request to charge a card, opens the SumUp app on the merchant's mobile device, and we handle the rest. Once the payment has been processed, the transaction result is communicated back, and the merchant is returned to your app.