Commit Graph
2 Commits
Author SHA1 Message Date
Antonio PallaresandCursor b086906b28 Include attribution data in POST /receipt when using SK2 in Observer mode (#6233)
* Cache presentedOfferingContext when making a purchase from a paywall

* Avoid using stale cached presentedOfferingContext

Co-authored-by: Cursor <cursoragent@cursor.com>

* Only remove cached context when date check passes

* Include productId in cancel events and add tests

* Add log

* One more test

* More tests

* fix warning

* Fix compilation

* Fix integration test compilation for SPI import

Co-authored-by: Cursor <cursoragent@cursor.com>

* Include paywall and offering context in SK2 transaction listener

* Improve comment

* More tests

---------

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-09 10:24:21 +01:00
Antonio Pallares e66033c5af Rename Test Store to Simulated Store internally (#5459)
* Rename Test Store to Simulated Store only internally

* fix lint

* fix test under `SIMULATED_STORE` compiler flag

* fix test compilation

* Add name clarification to `APIKeyValidationResult.simulatedStore` enum case

* Fix public-facing strings

* Improve comment

* improve comment
2025-09-01 19:04:01 +02:00