All work

Entry 01 of 03

Work

Checkout Integrations

Connect a confirmed payment to the order it belongs to

  • Stripe
  • PayPal
  • Webhooks
  • Python
Read the walkthrough
  1. Create the order
  2. Confirm the payment
  3. Release the order for delivery

Overview

I connect a shop to Stripe or PayPal so it can take payments and update the right order. A payment notification gives the shop a clear point to start packing an item or releasing a download.

What it covers

  • Checkout integration
  • Payment notifications
  • Order references
  • Paid and pending states

The handoff

A customer can close their browser after paying. The payment notification still needs to reach the shop, match the correct order, and make its status visible to the person handling delivery.

Connect checkout to an order

  1. Create a pending order in the shop and pass its reference to Stripe or PayPal when you start checkout.
  2. Verify the provider's payment notification, match its reference and amount to the pending order, and mark the order paid only once.
  3. Close the checkout page after a test payment and check that the shop still releases the correct order for delivery.