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 me to add one. Then appstore app opens (my app goes background) and i enter all credit card features to buy. Everything goes well and appstore prompt me that you bought product. But after turning back to my app (taking it to foreground) nothing happens. I cant get any information about transaction. Even i add appdidbecomeactive observer to catch again unfinished transactions. Again nothing... Then i added unfinishedTransaction function in app start. if i terminate app and start again. It catches unfinishedtransaction and doing my codes. But users who has no payment method think that app didnt work and they ask money back. So they are right i am paying back or change database of them. How can i handle this problem? I can't even test it in sandbox. Everytime i am giving price to the apple to test. Please help me.
transactionobserver not called when user has no payment method
310 Views Asked by xowiacain At
1
There are 1 best solutions below
Related Questions in IOS
- Overlapping UICollectionView in storyboard
- Cannot pod spec lint because of undeclared type errors
- Is the transactionReceipt data present in dataWithContentsOfURL?
- UIWebView Screen Fitting Issue
- ZXingObjC encoding issues
- iOS: None of the valid provisioning profiles allowed the specific entitlements
- How to hide "Now playing url" in control center
- CloudKit: Preventing Duplicate Records
- Slow performance on ipad erasing image
- Swift code with multiple NSDateFormatter - optimization
- iOS 8.3 Safari crashes on input type=file
- TTTTimeIntervalFormatter always returns strings in English
- How do I add multiple in app purchases in Swift Spritekit?
- Setup code for xibs in iOS. -awakFromNb:
- iOS Voice Over only reads out the title of any alert views
Related Questions in SWIFT
- Overlapping UICollectionView in storyboard
- Cannot pod spec lint because of undeclared type errors
- Swift code with multiple NSDateFormatter - optimization
- How do I add multiple in app purchases in Swift Spritekit?
- cellForRowAtIndexPath and prepareForSegue return different label colors
- Getting this message in my console in xcode "Ignoring restoreCompletedTransactionsWithApplicationUsername: because already restoring transactions"?
- Change background of an Accessory View in a UITableViewCell
- fade in an bounce animation subview
- Create a PFObject and PFRelation after PFUser Sign Up
- Swift 2 - Pattern matching in "if"
- How do I give inputs through NSURL
- How do I add custom cells to TableView in Swift?
- UIWebView not loading URL in simulator
- Compiler complains that 'Expression resolved to unused function' when removing index in array of functions
- Cast from 'Int?' to unrelated type 'NSNumber' always fails
Related Questions in IN-APP-PURCHASE
- Is the transactionReceipt data present in dataWithContentsOfURL?
- How do I add multiple in app purchases in Swift Spritekit?
- Getting this message in my console in xcode "Ignoring restoreCompletedTransactionsWithApplicationUsername: because already restoring transactions"?
- implementing in app purchase on android
- Why do the purchases restore when I didn't buy any in app purchases?
- In app purchasing asks to login on viewDidLoad and pauses the whole app
- SKProduct keeps returning nil. SKPayment Transaction is not working
- Apple In app purchase receipt in wrong format
- Buy premium services in web, store purchases in CloudKit, avoid pay 30%
- UIButton error with SKPayment
- SpriteKit Game - SKScene Freezes during In-App Purchase in iOS 8.3
- Get product's Reference Name for iOS In-App-Purchase product from within App
- In App Purchases with multiple products
- Can there be multiple entry points for showing 1 In-App Purchase for iTunes?
- How app is noticed turning off a auto-renewing subscriptions from Settings > iTunes & App Store menu?
Related Questions in SKPAYMENTTRANSACTION
- SKProduct keeps returning nil. SKPayment Transaction is not working
- UIButton error with SKPayment
- Cannot finish a purchasing Non-Renewing Subscription transaction
- How to encode on client `transaction.transactionReceipt` with base64?
- How to use appStoreReceiptURL
- StoreKit purchase failing - com.apple.accessibility.gax.backboard
- transactionobserver not called when user has no payment method
- When does the SKPaymentTransaction.original.transactionIdentifier field change?
- When is the transaction state set to restored in the updatedTransactions delegate method of SKPaymentTransactionObserver?
- App keeps asking for Apple ID after opening view with SKPaymentTransactionObserver
- Associating Non-renewing created transactions with completed transactions
- SKPaymentTransaction: How to get paymentQueue.updatedTransactions called when needed (or access the user transactions)?
- iOS sandbox/test account keeps asking to sign in after app exit
- The purchase dialog does not show up since iOS 13.4
- SKPayment Error, SKProduct keeps returning nill
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
i'm handling my database connection to open new draft in mainviewcontroller after that calling pay func...