Rebasely Beta: data may be purged

examples/storefront Public

Move payments into its own Worker #2

Changed files

30 files changed345 additions238 deletionssince main at 94db762

View checkout

1 component added, 2 changed, 1 removed, 3 connections added, 3 connections removed

  • Added
  • Changed
  • Removed

Everything a checkout touches, from the cart to the charge.

What this pull request changes in the view checkout: 5 components, 7 connections storefront-api to db (d1)storefront-api to payments (rpc): addedpayments to storefront-api (rpc): addedpayments to stripe (https): addedstorefront-api to stripe (https): removedstripe-webhook to storefront-api (rpc): removedstripe-webhook to stripe (webhooks): removedd1rpcrpchttpshttpsrpcwebhooksstorefront-api (changed)storefront-apiWorker · changedpayments (added)paymentsWorker · addeddbdbD1 databasestripe (changed)stripeExternal · changedstripe-webhook (removed)stripe-webhookWorker · removed

The view checkout at the head of this pull request, with what it adds, changes and removes from the merge base 94db762. Select a component for what changed in it.

stripe-webhook

Worker storefront-stripe-webhook (workers/stripe-webhook). Verifies Stripe's webhook signatures and settles the order of each PaymentIntent through OrdersService.

Removed by this pull request.

Connections: stripe-webhook → storefront-api removed, stripe-webhook → stripe removed.

Takes part in Checking out a cart, Fulfilling a paid order.

Changes

  • Changed: ~ view checkout: components +payments −stripe-webhook
  • Changed: ~ storefront-api: description
  • Added: + component payments (worker)
  • Changed: ~ stripe: description
  • Removed: − component stripe-webhook (worker)
  • Added: + edge storefront-api → payments (rpc)
  • Added: + edge payments → storefront-api (rpc)
  • Added: + edge payments → stripe (https)
  • Removed: − edge storefront-api → stripe (https)
  • Removed: − edge stripe-webhook → storefront-api (rpc)
  • Removed: − edge stripe-webhook → stripe (webhooks)

Knowledge base

Back to the conversation