-
Notifications
You must be signed in to change notification settings - Fork 521
one time payments #865
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
one time payments #865
Changes from 67 commits
Commits
Show all changes
76 commits
Select commit
Hold shift + click to select a range
a30a864
type fix
d6397fa
custom customer type
5e5c0ae
merge dev
d0e4e09
small fixes
1018ee5
fix test
553ffe0
fix issues
7e95b6b
revert import changes
da6f000
fix test
4b79dd1
offer and item pages, edits, deletes
4c546b8
fix lint
c22bf3c
small fixes
2b19be0
fix copy
03c06a2
payments test mode
19d1d52
revoke codes
582f876
fix test
8626012
stackable purchases
d5f0dd4
server only offers
82ff799
seed extra-admins, small fixes
eb7ee91
wip
1a3b465
updated schema
40ff247
Include by default price
4645d09
Combine subscriptions from DB and include-by-default
3488427
wip updated schema
101c98a
schema fixes, ledger transactions
b27c7c8
merge dev
e537f6b
type fixes
2198b63
Separate Stripe account ID from schema
9a5ac32
Merge branch 'payments-tx-ledger-algo' into payments-separate-stripe-…
54bdf9a
Update AGENTS.md
d10452d
Make CLAUDE.md an alias
5e2b22a
fix tests and getSubscriptions
90c0b24
Merge remote-tracking branch 'origin/payments-separate-stripe-account…
dfdd231
type fix
8545274
fix stripe account info
59d375b
fix tests
4b7f823
fix tests
ee93553
fix tests
6e1a689
Merge dev into payments-tx-ledger-algo
0420aa3
fix tests
f01efbb
Merge branch 'payments-tx-ledger-algo' of https://github.com/stack-au…
b36ed7e
fix createCheckoutUrl
30814f0
one time payments
cbcc983
remove export
157c024
payments fixes
7b2ac57
validate-code extra info
11bf97e
merge
c878b3f
Merge branch 'dev' into payments-tx-ledger-algo
b4c0d83
one-time tests
dc37b10
fix test
2645635
fix conflicts
27a4676
schema
ac9d275
Merge remote-tracking branch 'origin/payments-tx-ledger-algo' into on…
80d5cde
one time fixes
6228f15
merge dev
e549167
remove as any
bc3cd06
Merge dev into one-time-payments
0598572
merge dev
82338d5
Merge branch 'dev' into one-time-payments
88c6fc9
Merge dev into one-time-payments
5e0765e
Merge dev into one-time-payments
52fe8eb
Merge dev into one-time-payments
0fe607f
Merge dev into one-time-payments
04f9171
Merge dev into one-time-payments
1f3f20e
Merge dev into one-time-payments
0c58329
Merge dev into one-time-payments
2ff6beb
one time payment fixes
e49c560
Merge remote-tracking branch 'origin/dev' into one-time-payments
f276960
migration fix
e694385
safe migration
8180ced
fix schema
7678d50
add otp double webhook handling and test
4446799
Merge branch 'dev' into one-time-payments
c1fd6ea
stripe proxy and more tests
726ebe2
proxy stripe
2d3cb35
Merge branch 'dev' into one-time-payments
834fb3c
Merge branch 'dev' into one-time-payments
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
13 changes: 13 additions & 0 deletions
13
apps/backend/prisma/migrations/20250827200446_one_time_purchase/migration.sql
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,13 @@ | ||
| -- CreateTable | ||
| CREATE TABLE "OneTimePurchase" ( | ||
| "id" UUID NOT NULL, | ||
| "tenancyId" UUID NOT NULL, | ||
| "customerId" TEXT NOT NULL, | ||
| "customerType" "CustomerType" NOT NULL, | ||
| "offerId" TEXT, | ||
| "offer" JSONB NOT NULL, | ||
| "quantity" INTEGER NOT NULL, | ||
| "createdAt" TIMESTAMP(3) NOT NULL DEFAULT CURRENT_TIMESTAMP, | ||
|
|
||
| CONSTRAINT "OneTimePurchase_pkey" PRIMARY KEY ("tenancyId","id") | ||
| ); | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.