Skip to content

Commit

Permalink
US1933872: amend SDK README (#127)
Browse files Browse the repository at this point in the history
Co-authored-by: Olivier Chalet <[email protected]>
  • Loading branch information
ochalet-wp and Olivier Chalet authored May 13, 2024
1 parent b378b4b commit d81e308
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions access-checkout-react-native-sdk/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

![](worldpay_logo.png)

Take payments and still qualify for SAQ-A – the lowest PCI compliance level – with our React Native SDK.
Create your own uniquely styled and branded checkout form by integrating our React Native SDK into your native app.

This SDK is the first step to integrate with our Access Worldpay APIs into a React Native app.
Expand Down Expand Up @@ -82,17 +83,15 @@ Validates the format of the CVC entered by a customer to ensure it appears valid

## Hooks

#### useCardValidation()

Use this hook to get a function used to initialize the validation of your card payment form.

#### useCvcOnlyValidation()

Use this hook to get a function used to initialize the validation of your CVC only payment form.
#### useAccessCheckout()

Use this hook to get 2 functions:
- one function used to initialize the validation of payment form
- one function used to generate card and/or cvc session(s)

## Full code samples

- [Creating a session to pay with a card](https://developer.worldpay.com/docs/access-worldpay/checkout/react-native/card-only#full-code-sample)
- [Validating the card details entered by a shopper](https://developer.worldpay.com/docs/access-worldpay/checkout/react-native/card-validator#full-code-sample)
- [Creating a session to pay with cvc only](https://developer.worldpay.com/products/access/checkout/react-native/cvc-only/#full-code-sample)
- [Validating the cvc entered by a shopper](https://developer.worldpay.com/docs/access-worldpay/checkout/react-native/cvc-validator#full-code-sample)

0 comments on commit d81e308

Please sign in to comment.