Skip to content

Commit

Permalink
Merge pull request #7 from tranzzo/release/v3.5.2
Browse files Browse the repository at this point in the history
Release v3.5.2
  • Loading branch information
marazmone authored Dec 4, 2024
2 parents 1dcbcc0 + c578cdb commit a8bae98
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 1 deletion.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,12 @@ All notable changes to this project will be documented in this file.

---

## [3.5.2] - 04.12.2024

### Added

- params `googlePlayEnabled` and `cardFormEnabled` to `AmountType.ConstantAmount` and `AmountType.FreeAmount`

## [3.5.0] - 05.08.2024

### Added
Expand Down
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ constructed parts and some can't.
#### 1) Add the dependency in the project:
Add following dependency in `build.gradle`:

```implementation 'com.tranzzo.android:payment_merchant:3.5.0'```.
```implementation 'com.tranzzo.android:payment_merchant:3.5.2'```.

Add following code to your `settings.gradle` file in `repositories` section:
```groovy
Expand Down Expand Up @@ -152,6 +152,8 @@ c) Create `AmountType` object that contains all necessary information about paym
description = "your_product_description",
orderId = "your_order_id",
tokens = listOf<CardToken>(), // optional, emptyList() by default
googlePlayEnabled = true, // optional, true by default
cardFormEnabled = true, // optional, true by default
)
```
`description` is the text will be displayed to user on the payment screen. Please, provide a
Expand All @@ -171,6 +173,8 @@ c) Create `AmountType` object that contains all necessary information about paym
description = "your_product_description",
orderId = "your_order_id",
tokens = listOf<CardToken>(), // optional, emptyList() by default
googlePlayEnabled = true, // optional, true by default
cardFormEnabled = true, // optional, true by default
)
```
`prefillAmount` is a list of already predefined amount values. Can be empty, but isn't empty by
Expand Down
Binary file added app/src/img_13.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit a8bae98

Please sign in to comment.