Skip to content

Commit

Permalink
Use plan currency for Freekassa instead of system-determined currency
Browse files Browse the repository at this point in the history
  • Loading branch information
oxtoacart committed Oct 11, 2023
1 parent f4fda44 commit 74c6d7e
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 74c6d7e

Please sign in to comment.