Question

Subscription Always Returns Inactive in Sandbox After Successful Purchase

  • 6 January 2022
  • 3 replies
  • 19 views

Badge

After successfully activating a subscription in the sandbox, subsequent calls don’t appear to contain updated subscription info (the user’s subscription is still inactive)

Is this the expected behavior in the sandbox environment?


3 replies

Userlevel 5
Badge +9

Nope, Sandbox purchases will unlock the entitlement and show an active subscription. I’d start by checking out the debug logs there could be some errors going on that are being missed.

After successfully activating a subscription in the sandbox, subsequent calls don’t appear to contain updated subscription info (the user’s subscription is still inactive)” - Me too, although the object purchaserInfo.entitlements.active (from Purchases.getPurchaserInfo() ) show the entitlement as active after succeed subscription. 

 

In Customer Profile i get “No active subscriptions”.

 

Any suggestions?

 

Reply