cordova-plugin-purchase
cordova-plugin-purchase copied to clipboard
How to determine if an iOS Product is elegible for an Introductory Offer
Capacitor 5 CdvPurhase: ^13.6.0
The Product offers do not indicate elegibility (or even the existance of the offer) as they do for Android.
The only data I can find that refers to the Introductory Offer is in the undocumented Product.raw object.
Note, Introductory offers are working just fine and the purchase process works exactly as expected.
I just can't seem to understand the necessary hooks to provide a UI indicating elegibility for the Introductory Offer.
@mikkimichaelis I know I am late, but this has to be determined using a backend service at your end. Once you determine the offer is applicable you can create a discount payload (additional data) and submit the request.
Thank you so much for your response on this. I'm finally circling back around and will be focusing on resolving this issue in my code.
Do you have anything that can help me understand this backend service I need?
Thank you so much for your help!
Just in case, using iaptic (https://iaptic.com) service will do this for you.