Chris,
1] mobileRestorePurchases
2] assuming purchases exist, you'll receive a purchaseStateUpdate message with
the purchaseID from the app store
3] mobilePurchaseState(purchaseID) will then return the type "restored"
4] you can then mobilePurchaseConfirmDelivery purchaseID to confirm delivery
and do any processing you require.
See page 58 of the iOS release Notes. Below is a sample purchaseStateUpdate
handler
on purchaseStateUpdate purchaseID
switch mobilePurchaseState(purchaseID)
case "paymentReceived"
mobilePurchaseConfirmDelivery purchaseID
-- deal with a successful purchase
mobileDisablePurchaseUpdates
break
case "restored"
mobilePurchaseConfirmDelivery purchaseID
-- deal with a restored purchase
break
case "error"
answer "A problem occured during purchase handling:" & return &
return & mobilePurchaseError(purchaseID)
mobileDisablePurchaseUpdates
-- deal with a problematic purchase
break
case "cancelled"
mobileDisablePurchaseUpdates
-- deal with a cancelled purchase
break
end switch
end purchaseStateUpdate
Jamie, CMSNISO, EuroTalk
On 13 Nov 2012, at 12:47, Thomas McGrath III <[email protected]> wrote:
> Not yet Chris, but I am interested as well since this is on the horizon for
> me.
>
> Hope you can get an answer here.
>
>
> -- Tom McGrath III
> http://lazyriver.on-rev.com
> [email protected]
>
> On Nov 12, 2012, at 3:21 PM, Chris Sheffield <[email protected]> wrote:
>
>> No takers on this, huh? Isn't anyone else making use of in-app purchases?
>>
>> On Nov 9, 2012, at 10:20 AM, Chris Sheffield <[email protected]> wrote:
>>
>>> Does anyone out there have a step-by-step on how to do this? The docs don't
>>> make it very clear. I understand I need to issue the mobileRestorePurchases
>>> command, but what do I do after that? I'd like to be able to retrieve a
>>> list of product IDs of previous purchases so that I can have complete
>>> control over the restore process, but I'm not sure if that's possible.
>>>
>>> Any pointers?
>>>
>>> Thanks,
>>> Chris
>>>
>>>
>>> --
>>> Chris Sheffield
>>> Read Naturally, Inc.
>>> www.readnaturally.com
>>>
>>>
>>>
>>>
>>> _______________________________________________
>>> use-livecode mailing list
>>> [email protected]
>>> Please visit this url to subscribe, unsubscribe and manage your
>>> subscription preferences:
>>> http://lists.runrev.com/mailman/listinfo/use-livecode
>>
>>
>> _______________________________________________
>> use-livecode mailing list
>> [email protected]
>> Please visit this url to subscribe, unsubscribe and manage your subscription
>> preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
>
>
> _______________________________________________
> use-livecode mailing list
> [email protected]
> Please visit this url to subscribe, unsubscribe and manage your subscription
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
_______________________________________________
use-livecode mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode