Re: Deferred purchase testing in the App Store sandbox?
Re: Deferred purchase testing in the App Store sandbox?
- Subject: Re: Deferred purchase testing in the App Store sandbox?
- From: David Brittain <email@hidden>
- Date: Mon, 29 Sep 2014 14:33:26 -0700
The best I could come up with was to change the build I was testing so
that on receiving SKPaymentTransactionStatePurchased I store the
transactions, replace the state with SKPaymentTransactionStateDeferred
and then
[self performSelector:@selector(deferredPaymentQueue:)
withObject:_savedTransactions afterDelay:10.0f];
with:
- (void)deferredPaymentQueue:(NSArray *)transactions
{
[self paymentQueue:nil updatedTransactions:transactions];
}
This at least proves that my UI behaves the right way in the event of
SKPaymentTransactionStateDeferred. It's a hack but helped me feel
somewhat better that the code worked.
Dave
On Mon, Sep 29, 2014 at 12:03 PM, Steve Christensen <email@hidden> wrote:
> I'm trying to figure out how to test deferred purchases (SKPaymentTransactionStateDeferred) in the sandbox but thus far have not been able to find any guidance. In chatting with The Google I see questions in Apple's developer forums, stack overflow.com, etc., but no answers. Has anybody had success in this area?
>
> Thanks,
> Steve
>
>
> _______________________________________________
>
> Cocoa-dev mailing list (email@hidden)
>
> Please do not post admin requests or moderator comments to the list.
> Contact the moderators at cocoa-dev-admins(at)lists.apple.com
>
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
--
David Brittain
email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden