Type Function Return value none Revision Release 2024.3703 Keywords Apple, IAP, in-app purchases, App Store Promoted Purchases See also store.deferStorePurchases() store.*
When your app is ready you can show deferred payment request.
store.proceedToPayment( transaction )
Table. Payment object. This value must be obtained from the appStorePurchase.payment field.
local store = require( "plugin.apple.iap" ) local function transactionListener( event ) -- ... end store.init( transactionListener ) local function deferredPurchases(event) local payment = event.payment -- Tore `payment` somewhere and when time is right call store.proceedToPayment(payment) end store.deferStorePurchases(deferredPurchases)