From d81e308d6f53f7fce3e89d334d9a00754ddd766b Mon Sep 17 00:00:00 2001 From: ochalet-wp <59016148+ochalet-wp@users.noreply.github.com> Date: Mon, 13 May 2024 11:33:08 +0100 Subject: [PATCH] US1933872: amend SDK README (#127) Co-authored-by: Olivier Chalet --- access-checkout-react-native-sdk/README.md | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/access-checkout-react-native-sdk/README.md b/access-checkout-react-native-sdk/README.md index ce10b07..df929e0 100644 --- a/access-checkout-react-native-sdk/README.md +++ b/access-checkout-react-native-sdk/README.md @@ -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. @@ -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)