Skip to content

Commit

Permalink
chore: add processing as success transaction status (#10)
Browse files Browse the repository at this point in the history
* chore: add processing as success transaction status

* chore: update version numbers
  • Loading branch information
douglaseggleton authored May 21, 2024
1 parent 9953b87 commit 37ad104
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ class MessageHandler(private val parameters: Parameters, private val isGooglePay
}
is TransactionMessage -> {
when (decodedMessage.data.status) {
"capture_succeeded", "capture_pending", "authorization_succeeded", "authorization_pending" -> {
"capture_succeeded", "capture_pending", "authorization_succeeded", "authorization_pending", "processing" -> {
return Gr4vyMessageResult(
Gr4vyResult.TransactionCreated(
status = decodedMessage.data.status,
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
![Build Status](https://github.com/gr4vy/gr4vy-android/actions/workflows/build.yaml/badge.svg?branch=main)

![Platforms](https://img.shields.io/badge/Platforms-Android-yellowgreen?style=for-the-badge)
![Version](https://img.shields.io/badge/Version-1.7.3-yellowgreen?style=for-the-badge)
![Version](https://img.shields.io/badge/Version-1.7.4-yellowgreen?style=for-the-badge)

Quickly embed Gr4vy in your Android app to store card details, authorize payments, and capture a transaction.

Expand All @@ -26,7 +26,7 @@ repositories {
}
dependencies {
implementation 'com.github.gr4vy:gr4vy-android:v1.7.3'
implementation 'com.github.gr4vy:gr4vy-android:v1.7.4'
}
```

Expand Down

0 comments on commit 37ad104

Please sign in to comment.