Skip to content

feat(onramp): notify server of swap before Google Pay is presented#702

Merged
bmc08gt merged 2 commits into
code/cashfrom
feat/notify-server-swap-before-gpay
May 12, 2026
Merged

feat(onramp): notify server of swap before Google Pay is presented#702
bmc08gt merged 2 commits into
code/cashfrom
feat/notify-server-swap-before-gpay

Conversation

@bmc08gt
Copy link
Copy Markdown
Collaborator

@bmc08gt bmc08gt commented May 12, 2026

Move the buy() call from after payment success to before Google Pay is
shown, so the server can handle order polling and settlement. Remove the
Processing intermediate state and make SwapRequest.fundingIntentId lazy
to avoid eager evaluation for CoinbaseOnramp sources.

bmc08gt added 2 commits May 11, 2026 17:11
Signed-off-by: Brandon McAnsh <git@bmcreations.dev>
Move the buy() call from after payment success to before Google Pay is
shown, so the server can handle order polling and settlement. Remove the
Processing intermediate state and make SwapRequest.fundingIntentId lazy
to avoid eager evaluation for CoinbaseOnramp sources.

Signed-off-by: Brandon McAnsh <git@bmcreations.dev>
@bmc08gt bmc08gt self-assigned this May 12, 2026
@github-actions github-actions Bot added type: feature New functionality area: network gRPC, connectivity, API, exchange rates area: onramp Deposit, purchase, Coinbase, fiat on-ramp and removed type: feature New functionality labels May 12, 2026
@bmc08gt bmc08gt merged commit cf33c74 into code/cash May 12, 2026
3 checks passed
@bmc08gt bmc08gt deleted the feat/notify-server-swap-before-gpay branch May 12, 2026 13:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: network gRPC, connectivity, API, exchange rates area: onramp Deposit, purchase, Coinbase, fiat on-ramp

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant