purchases-ios icon indicating copy to clipboard operation
purchases-ios copied to clipboard

Added Integration Test for upgrading subscription with a different entitlement

Open NachoSoto opened this issue 2 years ago • 9 comments

See CF-788. Fixed by https://github.com/RevenueCat/khepri/pull/4165.

Blocked by TRIAGE-124.

NachoSoto avatar Jun 25 '22 21:06 NachoSoto

cc @joshdholtz

NachoSoto avatar Jun 25 '22 21:06 NachoSoto

Looks like this is fixed: https://github.com/RevenueCat/khepri/pull/4165 Just waiting for it to be deployed to make sure this test passes now.

NachoSoto avatar Jun 30 '22 02:06 NachoSoto

Supposedly the fix was deployed but this test is still failing :/ @joshdholtz any ideas?

The original entitlement is still being received as active.

NachoSoto avatar Jun 30 '22 14:06 NachoSoto

@NachoSoto Yeeaaaahhh, I re-ran it this morning and I saw that. Do these tests use the StoreKit Config file type of environment? Or are these like actual actual sandbox tests?

My tests on simulator and actual device didn't work but its having issues validating the receipt so I need to figure out what's going on there first 🙄

joshdholtz avatar Jun 30 '22 14:06 joshdholtz

They do use a .storekit file yeah.

NachoSoto avatar Jun 30 '22 14:06 NachoSoto

My tests on simulator and actual device didn't work but its having issues validating the receipt so I need to figure out what's going on there first

Are you using the correct API key?

NachoSoto avatar Jul 04 '22 14:07 NachoSoto

I think this is the same as #1718.

NachoSoto avatar Sep 09 '22 20:09 NachoSoto

Filed TRIAGE-124 to look into this.

NachoSoto avatar Sep 28 '22 21:09 NachoSoto

Just rebased this to see if #1965 could have fixed this, but alas no.

NachoSoto avatar Oct 14 '22 21:10 NachoSoto

@joshdholtz should we close this? It seems like this changed behavior isn't reflected in tests, not sure how much we care about this edge case.

NachoSoto avatar Jul 21 '23 08:07 NachoSoto