1.2.1
- Fix: orders sent to SFS Data now carry the amount the reader actually paid instead of the level's regular price. Trial, coupon, and gift coupon orders were being reported to SFS at full price.
- Fix: renewals discounted by a forever coupon now report the discounted amount to SFS Data.
- Fix: SFS Data transactions that never reached SFS (network error, DNS failure, timeout) were not recorded anywhere. The reason is now written to the Leaky Paywall debug log.
- New: when an SFS Data transaction fails, the reason is recorded on the Leaky Paywall transaction and shown on the transaction screen, along with the exact payload that was sent, so the order can be entered into SFS by hand.
- Improve: SFS Data error responses are now parsed into a readable message (for example "Parameter Edition's value is invalid.") instead of being discarded.
- Improve: a success response that cannot be read is now treated as a failure instead of being stored as order data.
- Fix: corrected the renewal entry in the debug log, which read "rene wal transaction".
1.0.0