Skip to content

Commit

Permalink
Merge pull request #34 from Adyen/release-beta6
Browse files Browse the repository at this point in the history
Release beta6
  • Loading branch information
descorp authored Sep 9, 2022
2 parents 573c600 + 3fb8440 commit 595f22e
Show file tree
Hide file tree
Showing 5 changed files with 990 additions and 1,274 deletions.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,6 @@ const configuration = {
reference: 'React Native', // The reference to uniquely identify a payment. Can be send from your backend
shopperReference: 'Checkout Shopper', // Your reference to uniquely identify this shopper
returnUrl: 'myapp://', // Custom URL scheme of your iOS app. This value is overridden for Android by `AdyenCheckout`. Can be send from your backend
shopperLocale: 'en-US'
};
```

Expand Down Expand Up @@ -186,6 +185,9 @@ const { AdyenDropIn } = NativeModules;

### Handling Actions

> :exclamation: Native components only handling actions after payment was **started**(nativeComponent.open) and before it was **hidden**(nativeComponent.hide)
Handling of actions on its own is not yet supported

Some payment methods require additional action from the shopper such as: to scan a QR code, to authenticate a payment with 3D Secure, or to log in to their bank's website to complete the payment. To handle these additional front-end actions, use `nativeComponent.handle(action)` from `onSubmit` callback.

```javascript
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,12 +75,12 @@ class CardConfigurationParser(config: ReadableMap) {
private val hideCvcStoredCard: Boolean
get() = if (config.hasKey(HIDE_CVC_STORED_CARD_KEY)) {
config.getBoolean(HIDE_CVC_STORED_CARD_KEY)
} else true
} else false

private val hideCvc: Boolean
get() = if (config.hasKey(HIDE_CVC_KEY)) {
config.getBoolean(HIDE_CVC_KEY)
} else true
} else false

private val kcpVisibility: KCPAuthVisibility
get() {
Expand Down
4 changes: 2 additions & 2 deletions example/ios/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ PODS:
- Adyen/Core (= 4.8.0)
- Adyen/DropIn (= 4.8.0)
- Adyen/Encryption (= 4.8.0)
- adyen-react-native (1.0.0-beta.4):
- adyen-react-native (1.0.0-beta.5):
- Adyen (= 4.8.0)
- React-Core
- Adyen/Actions (4.8.0):
Expand Down Expand Up @@ -524,7 +524,7 @@ EXTERNAL SOURCES:

SPEC CHECKSUMS:
Adyen: 7fa295453ebd2c014221e17f24590ec70e886709
adyen-react-native: 704df99608849d08ef87df795c247f9f1603b324
adyen-react-native: 09cef651fb0ca5c11700a454552198ba49b1e3b4
Adyen3DS2: e683a519946e99a78adec8d89459e6eec53b0a4f
AdyenNetworking: 14567bd00c00ba2e2580a904708c7ba5f010b1f9
boost: a7c83b31436843459a1961bfd74b96033dc77234
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@adyen/react-native",
"version": "1.0.0-beta.4",
"version": "1.0.0-beta.5",
"description": "Wrapps Adyen Checkout SDKs for iOS and Android for convinient use on React Native.",
"license": "MIT",
"author": "Adyen",
Expand Down
Loading

0 comments on commit 595f22e

Please sign in to comment.