Questions tagged [skpaymenttransaction]

The SKPaymentTransaction class defines objects residing in the payment queue. A payment transaction is created whenever a payment is added to the payment queue. Transactions are delivered to your application when the App Store has finished processing the payment.

To read more about it. Follow below link

Apple developer library

67 questions
0
votes
1 answer

How would I use non deprecated API for SKPaymentQueue?

I am using using deprecated API and I want to update my code to use non-depcreated code. So my big question is how do I get the response list? - (void) buyFeature:(NSString*) featureId { // SKProduct *myProduct; if ([SKPaymentQueue…
software is fun
  • 7,286
  • 18
  • 71
  • 129
0
votes
2 answers

UIButton error with SKPayment

I used this tutorial How do you add an in-app purchase to an iOS application? for SKPayment (verbatim) and I am having trouble linking the purchase buttons on my storyboard to my code. - (IBAction)purchase:(SKProduct *)product{ I keep getting the…
0
votes
1 answer

SKPayment Error, SKProduct keeps returning nill

I am working in Spritekit and I am trying to enable SKPayments in my game to give the user 5 lives once they make their purchase. But everytime I run the app and try to make a purchase I keep getting an error that my SKProduct FiveLives is nil. The…
0
votes
1 answer

NSSet SetByArray confused why I have an extra element - SKProductsRequest not working properly

I have the following code.. NSArray *productIdentifiersArray = [packs valueForKey:NSStringFromSelector(@selector(productIdentifier))]; NSSet *productIdentifiers = [NSSet setWithArray:productIdentifiersArray]; Please see the image below... Why is…
0
votes
1 answer

How to encode on client `transaction.transactionReceipt` with base64?

I am trying to validate IAP and to send to my server receipt which I then send to apple server to validate, I am using sandbox account and I get all the time status 21002 ( receipt missing or malformed ). I have in Objective C code…
PaolaJ.
  • 10,872
  • 22
  • 73
  • 111
-1
votes
1 answer

Xcode app issues accessing elements in my ViewController from another class?

In my app, there is a button in the SubscriptionVC that, when pushed, will call the 'purchase' function from the IAPService class. But after the function is completed I wish to change the elements in the ViewController using the ViewController's…
-2
votes
1 answer

transactionobserver not called when user has no payment method

My iap problem start with when a user has not a payment method. iaps working in sandbox (interrupted simluation too) and real world. But in real app (downloaded from appstore - i tested in ios 12 - iphone 6) if i have no payment method app warning…
1 2 3 4
5