Optional
store: StoreDetermine the eligibility of discounts based on the content of the application receipt.
The secret sauce used here is to wait for validation of the application receipt. The receipt validator will return the necessary data to determine eligibility.
Receipt validation is expected to happen after loading product information, so the implementation here is to wait for a validation response.
Provides a client token generated on iaptic's servers
Can be passed to the Braintree Adapter at initialization.
store.initialize([
{
platform: Platform.BRAINTREE,
options: {
clientTokenProvider: iaptic.braintreeClientTokenProvider
}
}
]);
Validator URL
Integrate with https://www.iaptic.com/
Example