#[iOS] Can't test promotions
1 messages · Page 1 of 1 (latest)
Can you share how you are testing the promotions? Do you mean about Appstore promoted promotions?
Just applying an offer to a product when BuyProduct() it shows native popup with the right offer but when paying with Sandbox shows other popup with that error.
"Can't make purchase. Contact with developer"
Ok, are the offer redeem details proper?
Yes, when the native popup shows payment periods they are right
Ok. Can you please share the logs if any info available?
Purchase did not return a transaction: Error Domain=ASDServerErrorDomain Code=3903 "No se ha podido realizar la compra" UserInfo={NSLocalizedFailureReason=No se ha podido realizar la compra, AMSServerErrorCode=3903, client-environment-type=Sandbox, storefront-country-code=ESP}
Can it be because I just can set a promotional offer to upgrade to a subscription in a better level than the one I have?
Did you try with multiple promotions on iOS? Actually, it doesn't support on iOS. Am I missing something here?
But it should return a failed transaction with erroCode OfferNotApplicable or OfferNotValid, instead I get a errorCode 0
Can you please share your implementation related this specific part - pseudo code is fine too
As I read on apple documentation, promotional offers are just for already subscribed user to upgrade subscription to a other subscription that is level up or for user with a cancelled subscription to subscribe again
I think that why I can't use any promotion offer
But I expected an OfferNotApplicable errorCode when an offer can't be redeemed by that logic
Let me see if thats the error code can be handled.
Or maybe I get errorCode 0 because I'm on sandbox tester environment
Let me share a note,
As of now, Offers available on iOS and Android are all subscription offers only. I think thats where the confusion is.
We intentionally moved the offers part out of the subscriptions and made it generic because, we may see offers for consumable and non-consumable too in the future.
I'm using Introductory offers and promotional offers
But, as I read I can't apply a promotion offer to a user that has no subscription yet
For those I need to apply introductory offer
For a product, if it's a subscription thats when only the offers list gets filled up.
Ok, yes. What you are heading towards is right.
On Android it's easy because I can just apply the offers on the product, but on iOS I receive a lot of offers but I can't apply all of them, they need to follow logic about promotional offers eligibility
Except of introductory ones that you remove if is not eligible
Apple docs:
"You can use these offers to help win back subscribers who canceled their subscriptions or promote an upgrade to a higher-ranked subscription at a special price."
So, what work for me was subscribing to a lower-ranked subscription and then upgrade to a higher-ranked subscription with a promotional offer applied
Now, i'm going to subscribe to a lower-ranked level, unsubscribe and try to subscribe to a higher-ranked level with a promotional offer applied
This last logic is not working
So it just work if I'm subscribed to a low level-ranked subscription and upgrade to high level-ranked subscription
Ok, you want us to filter it so that it will be more intutive on iOS. Right?
Let me check once. I just forwarded the subscriptions I got from the storekit but didn't add any additional conditions to them other than for introductory offers.
I need to double check once if such option exists (similar to IsEligibleForIntroductoryOffer api for other promotional offers too).