Closed HamzaIsrar12 closed 4 months ago
Attention: Patch coverage is 0%
with 133 lines
in your changes are missing coverage. Please review.
Project coverage is 1.07%. Comparing base (
bd6299c
) to head (d74b621
).
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Description
LEARNER-9818 | LEARNER-9878
Remote Config Changes for Store SKU
The
storeSku
will be the combination ofprodcut_prefix
value from Remote Config andmin_price
from course modes in enrolments API.Implementation
Fetch the
courseSku
andstoreSku
using the enrollments API.Utilize the
courseSku
for theadd_to_basket
andcheckout
APIs.Handling Play Console purchases:
courseSku
within the purchase as a payload usingobfuscatedProfileId
(ref).storeSku
for the purchase.After a successful purchase:
courseSku
fromobfuscatedProfileId
.storeSku
from the product ID.Share this information with the
execute
API:consume the purchase
.In case of a restore (payment done, but execute API or consume not called):
Tada!!
References