syncObserverModeAmazonPurchase

fun syncObserverModeAmazonPurchase(    productID: String,     receiptID: String,     amazonUserID: String,     isoCurrencyCode: String?,     price: Double?)

This method will send a purchase to the RevenueCat backend. This function should only be called if you are in Amazon observer mode or performing a client side migration of your current users to RevenueCat.

The receipt IDs are cached if successfully posted so they are not posted more than once.

Parameters

productID

Product ID associated to the purchase.

receiptID

ReceiptId that represents the Amazon purchase.

amazonUserID

Amazon's userID. This parameter will be ignored when syncing a Google purchase.

isoCurrencyCode

Product's currency code in ISO 4217 format.

price

Product's price.

Sources

Link copied to clipboard