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


  • Follow-Ups:
    • Re: Deferred purchase testing in the App Store sandbox?
      • From: Steve Christensen <email@hidden>
References: 
 >Deferred purchase testing in the App Store sandbox? (From: Steve Christensen <email@hidden>)

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