Skip to content

Record the set price for manual payments made from a sample - #650

Merged
geoffrey-wu merged 1 commit into
mainfrom
geoword-set-payments.6-sample-cost
Oct 27, 2026
Merged

geoffrey-wu merged 1 commit into
mainfrom
geoword-set-payments.6-sample-cost

Conversation

@geoffrey-wu

Copy link
Copy Markdown
Member

Stacked on #645.

getCost returns 0 for free packets like a set's sample, so recording a manual per-set payment while on the sample stored $0. Now the manual route uses the set's payment cost when there is one and falls back to getCost otherwise. Viewing the sample is still free, since getCost is unchanged.

🤖 Generated with Claude Code

@geoffrey-wu
geoffrey-wu force-pushed the geoword-set-payments.5-missing-packet branch from d709ffe to b72cc83 Compare October 27, 2026 04:16
getCost returns 0 for free packets such as the sample, which is right for
playing but wrong for the amount paid on a per-set payment.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@geoffrey-wu
geoffrey-wu force-pushed the geoword-set-payments.6-sample-cost branch from 0c72ea0 to f7235de Compare October 27, 2026 04:18
@geoffrey-wu
geoffrey-wu changed the base branch from geoword-set-payments.5-missing-packet to main October 27, 2026 04:18
@geoffrey-wu
geoffrey-wu merged commit c114562 into main Oct 27, 2026
3 checks passed
@geoffrey-wu
geoffrey-wu deleted the geoword-set-payments.6-sample-cost branch October 27, 2026 04:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant