BranchMetrics/ios-branch-deep-linking-attribution

The data carried during the reporting of BranchStandardEventPurchase is incorrect.

Closed this issue · 2 comments

Describe the bug

When Branch reports the "BranchStandardEventPurchase" event, it automatically assigns self.revenue = product.price. If my product is discounted, using product.price here is incorrect, causing a discrepancy between the "revenue" data in my backend and the actual product price in my order data.

Steps to reproduce

Expected behavior

It should return the price paid at the time of subscription, rather than the pre-discount price.

SDK Version

ios3.4.3

XCode Version

15.3

Device

iPhone13

OS

17.0*

Additional Information/Context

No response

This issue has been automatically marked as stale due to inactivity for 60 days. If this issue is still relevant, please respond with any updates or this issue will be closed in 7 days. If you believe this is a mistake, please comment to let us know. Thank you for your contributions.

This issue has been closed due to inactivity. If this issue is still relevant, please reopen it or create a new one. Thank you for your contributions.