|
8 | 8 | import { Aside } from '@astrojs/starlight/components'; |
9 | 9 |
|
10 | 10 |
|
11 | | -## About Swift Checkout SDK |
12 | | - |
13 | 11 | 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. |
14 | 12 |
|
15 | 13 | ### Prerequisites |
@@ -195,8 +193,8 @@ paymentRequest.onShippingAddressChange(async (newShippingAddress) => { |
195 | 193 |
|
196 | 194 | <Aside type="note"> |
197 | 195 | To protect user privacy, browsers might hide non-essential and sensitive details from the shipping address, and only provide data required for shipping cost estimation. |
198 | | -The extent of information provided can vary based on the chosen browser and payment method, leading to certain fields being absent. |
199 | | -For example, the displayed shipping address might be limited to the city, state, country, and ZIP code. |
| 196 | +The extent of information provided can vary based on the chosen browser and payment method, leading to certain fields being absent. |
| 197 | +For example, the displayed shipping address might be limited to the city, state, country, and ZIP code. |
200 | 198 |
|
201 | 199 | The full shipping address is disclosed only in the `PaymentResponse` object after the payment is authorized by the account holder. |
202 | 200 | </Aside> |
@@ -241,7 +239,7 @@ buttons |
241 | 239 | { id: 'apple_pay' }, |
242 | 240 | { id: 'google_pay' } |
243 | 241 | // See `paymentRequest.availablePaymentMethods()` for all available payment methods |
244 | | - ], |
| 242 | + ], |
245 | 243 | container: document.querySelector('#express-checkout-container'), |
246 | 244 | }); |
247 | 245 | ``` |
@@ -465,4 +463,3 @@ Once the hash has been applied you can proceed with the domain validation steps: |
465 | 463 | 3. Navigate to the **Integrate with your website** and click on **+ Add website** |
466 | 464 | 4. Fill out the form with the requested information (domain name, buyflow screenshots, etc.) |
467 | 465 | 5. At the top of the page click on **Submit for approval** |
468 | | - |
0 commit comments