Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: update readme #3

Merged
merged 8 commits into from
Feb 2, 2024
Merged
Show file tree
Hide file tree
Changes from 6 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 6 additions & 3 deletions Co-Badged Cards/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ To run the example app:
git clone https://github.com/primer-io/checkout-examples-ios.git
```

2. Change directory into the repo
2. Change the directory into the repo
jnewc marked this conversation as resolved.
Show resolved Hide resolved

```sh
cd "checkout-examples-ios/Co-Badged Cards/SwiftUI"
Expand All @@ -26,19 +26,22 @@ open "Co-Badged Cards Example.xcodeproj"

4. Run the project from Xcode 🚀

----

This project requires a server to communicate with Primer's API. To get started quickly, we encourage you to use the [companion backend](https://github.com/primer-io/example-backend).

## Trying it out

This example app allows you to:

- Generate a client token (requires local server, see here TODO)
- Generate a client token
- Make a payment using a card
- Select a co-badged network when making a payment with a co-badged card

We support several test cards for different test cases, which you can find in our docs:

📄 **[Primer Payments Testing](https://primer.io/docs/payments/testing)**


## Understanding the integration

### PrimerDataService
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# Checkout Examples for Primer iOS SDK
![Primer Banner](./images/primer-banner.png)

This repo contains examples of how to try out and how to integrate Primer's iOS SDK.
# 💳 Checkout Example for Primer iOS SDK

Each example is focused on one aspect of the integration path.
This repository contains examples of how to integrate [Primer's iOS SDK](https://primer.io/docs/sdk/ios/2.x.x/).

| Example | Description |
| ------- | ----------- |
| 💳 [Co-Badged Cards](/Co-Badged%20Cards) | This example demonstrates how to integrate co-badged card support if you are offering support to your customers for a relevant network, such as Cartes Bancaires |
| [Co-Badged Cards on Headless Checkout](/Co-Badged%20Cards) | This example demonstrates how to integrate a simple card form using Headless Checkout that handles co-badged cards. |
Binary file added images/primer-banner.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading