|
|
@@ -119,9 +119,9 @@ extension LNStatisticManager {
|
|
|
Adjust.trackEvent(event)
|
|
|
}
|
|
|
|
|
|
- func reportPayment(type: LNCurrencyType, amount: Double, currency: String, price: Double) {
|
|
|
+ func reportPayment(type: LNCurrencyType, amount: Double, currency: String, price: Double, orderId: String) {
|
|
|
let event = eventFor(.first_payment)
|
|
|
- event?.addCallbackParameter("user_id", value: myUid)
|
|
|
+ event?.addCallbackParameter("order_id", value: orderId)
|
|
|
event?.addCallbackParameter("payment_type", value: "\(type.rawValue)")
|
|
|
event?.addCallbackParameter("payment_amount", value: "\(amount)")
|
|
|
event?.addCallbackParameter("payment_currency", value: currency)
|