Skip to content

Commit

Permalink
Merge pull request #931 from getlantern/ox/use-plan-currency-for-free…
Browse files Browse the repository at this point in the history
…kassa
  • Loading branch information
oxtoacart authored Oct 11, 2023
2 parents f4fda44 + 74c6d7e commit 436cf6c
Showing 1 changed file with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -196,17 +196,20 @@ open class FreeKassaActivity : BaseFragmentActivity() {
}
}
}

val plan = LanternApp.getSession().planByID(planID!!)!!
val currency = plan.currency
val u = FreeKassa.getPayURI(
merchantId,
price!!,
LanternApp.getSession().currency(),
currency,
planID!!,
secretWordOne,
LanternApp.getSession().language,
userEmail!!,
mapOf(
"transactionid" to transactionID,
"paymentcurrency" to LanternApp.getSession().currency()
"paymentcurrency" to currency
)
)
Logger.d(TAG, "freeKassa Payment URI: $u")
Expand Down

0 comments on commit 436cf6c

Please sign in to comment.