• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Deferred purchase testing in the App Store sandbox?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Deferred purchase testing in the App Store sandbox?


  • Subject: Re: Deferred purchase testing in the App Store sandbox?
  • From: Steve Christensen <email@hidden>
  • Date: Tue, 30 Sep 2014 06:13:37 -0700

Thanks, Dave. I took a similar route myself for debug builds, to test that my UI was behaving correctly. I just was hoping that there was a more "official" way to test it so that the payment queue was fully in charge.


On Sep 29, 2014, at 2:33 PM, David Brittain <email@hidden> wrote:

> 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
>
> --
> 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


References: 
 >Deferred purchase testing in the App Store sandbox? (From: Steve Christensen <email@hidden>)
 >Re: Deferred purchase testing in the App Store sandbox? (From: David Brittain <email@hidden>)

  • Prev by Date: Re: Dragging to Rearrange Outline View
  • Next by Date: Re: Compressing glyphs programmatically
  • Previous by thread: Re: Deferred purchase testing in the App Store sandbox?
  • Next by thread: Re: NSPersistentDocument objects "gutted" after Duplicate, Rename in 10.9
  • Index(es):
    • Date
    • Thread