Skip to content

Commit

Permalink
Update documentation for 3DSecure (#76)
Browse files Browse the repository at this point in the history
  • Loading branch information
Minishlink authored and kraffslol committed Dec 20, 2017
1 parent cbf4def commit 0b73665
Showing 1 changed file with 11 additions and 7 deletions.
18 changes: 11 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -153,19 +153,23 @@ BTClient.showPaymentViewController(options).then(function(nonce) {
//error handling
});
```
**Options (iOS only)**
- bgColor - Background color for the view.
- tintColor - Tint color for the view.
- barBgColor - Background color for the navbar.
- barTintColor - Tint color for the navbar.
- callToActionText - Text for call to action button. (Works for both Android and iOS)
**Options**
- [iOS] bgColor - Background color for the view.
- [iOS] tintColor - Tint color for the view.
- [iOS] barBgColor - Background color for the navbar.
- [iOS] barTintColor - Tint color for the navbar.
- [iOS] callToActionText - Text for call to action button. (Works for both Android and iOS)
- threeDSecure - If you want to enable [3DSecure](https://developers.braintreepayments.com/guides/3d-secure/client-side/android/v2), pass an object with an `amount` key that takes a number value

Example:
```js
const options = {
bgColor: '#FFF',
tintColor: 'orange',
callToActionText: 'Save'
callToActionText: 'Save',
threeDSecure: {
amount: 1.0
}
}
```

Expand Down

0 comments on commit 0b73665

Please sign in to comment.