However is there any documentation on the actual paydeferred status? Where is this status returned, by what function? This is exactly what needs fixing in the documentation, a new response has been added but it is a complete mystery how it is sent and when.
Additionally, how are we supposed to finish deferred purchases once they have been approved? Is the only way really relaunch the app? This seems like very a very bad user experience flow
Iâm not sure what you mean by this sorry, is this to do with how to complete a deferred purchase? How do we complete a deferred purchase/ get the receipt for it?
Sorry but this is really really unclear! Can you please make documentation for your SDKâs new features? This method is undocumented and there are no instructions how to handle this purchase flow.
if onDefered contains a product that has a receipt just as onSuccess, this receipt will not be for a completed purchase right?
How do we know when this purchase has been completed or how do we check? is this possible from the SDK?
Or, am I correct in presuming that this is not possible and that we need to add a manual button to the app to send this receipt to our server to check against App Store API for having been completed? Will this receipt become âvalidâ at a later time?
Added later: from some research Iâm led to believe that the receipt for a deferred purchase will not be valid (will not contain in_app data when sent for verification) and therefore cannot be used to verify a purchase
/**
* Called when IAP pay deferred
*
* Note: Pay deferred status is a middle status, for most developer, needn't case this status
* this status will change to success or failed or cancel, its final status is pending external action.
*
* Please DO NOT finishTransaction when status is deferred.
*
*/
But what is status, What does this status will change mean? This is not a property or a field on a product, this is a callback!
Does this imply that onSuccess() will be called at a later time? Automatically?
onSuceess or onFailed will be called at a later time.
follow is SKPaymentTransactionState.deferred's descrpiton
The transaction is in the queue, but its final status is pending external action such as Ask to Buy. Update your UI to show the deferred state, and wait for another callback that indicates the final status.
Great! Thatâs great to hear, it exactly explains the usage.
Can I assume that this means that when onSuccess() or onFailed() are called, the product will have a correctly updated and working receiptCipheredPayload? and this has been tested? (There are some comments online where the in_app returned for a non-updated receipt will still remain null after the purchase has completed
Additionally, I see that onDeferred() is also called at times during app startup, as onSuccess would be too, can these also happen during the app running/resuming from the foreground?
Is this a question to check that I know the usage or actually a question regarding StoreKit?
If itâs about StoreKit I donât know the specifics, I am trying to use SDKBox to avoid having to know them.
My only experience on this matter is that the previous sdkbox version did not support the flow and that customers were frustrated with failed purchases.
The ADCololony CMake for Android does not import the libjs.so and libadcolony.so resulting in
java.lang.UnsatisfiedLinkError: dlopen failed: library "libjs.so" not found
at java.lang.Runtime.loadLibrary0(Runtime.java:1016)
at java.lang.System.loadLibrary(System.java:1669)
at org.cocos2dx.lib.Cocos2dxActivity.onLoadNativeLibraries(Cocos2dxActivity.java:116)