Skip to content

Commit

Permalink
remove v3 from README
Browse files Browse the repository at this point in the history
  • Loading branch information
mmroz committed Aug 15, 2024
1 parent f5fe495 commit 5d25973
Showing 1 changed file with 0 additions and 20 deletions.
20 changes: 0 additions & 20 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,26 +11,6 @@
# Documentation
Documentation for usage can be found [here][docs], including the [getting started][docs-getting-started] guide and [UI component][docs-ui] docs.

# Checkout V3

```swift
Afterpay.presentCheckoutV3Modally(over:consumer:total:items:animated:configuration:requestHandler:completion:)
```

Checkout version 3 returns a unique single use card for you to use in your existing checkout flow.

The configuration object may be set using `setV3Configuration`, or passed into the checkout call.

## Configuration

```swift
Afterpay.fetchMerchantConfiguration(configuration:requestHandler:completion:)
```

As v3 removes the need for merchant integration with the Afterpay API, the `Configuration` — providing information about minimum and maximum order amounts — is now available through the SDK.

The configuration object may be set using `setV3Configuration`, or passed into the checkout call.

# Contributing

Contributions are welcome! Please read our [contributing guidelines][contributing].
Expand Down

0 comments on commit 5d25973

Please sign in to comment.