Fulfillment with Self-Checkout

Direct sales with SQUAKE provided checkout page

SQUAKE offers a self-checkout page that allows your customers to purchase carbon compensations directly using SQUAKE integration with Stripe.

The whole checkout process is similar to the API integration, but instead of making a purchase request to the SQUAKE API, you redirect your customers to the SQUAKE checkout page. So make sure you are familiar with the API integration before proceeding.

Steps to proceed with the self-checkout process

  • [optional] register a webhook to receive notifications about your customers' purchase-related events (see Webhooks)

  • [optional] calculate emissions using SQUAKE's API (see Emission Calculation)

  • pick a carbon product provided by SQUAKE (see Define a product to use for emission compensation)

  • quote pricing for the carbon emissions you want to compensate using SQUAKE's API (see Pricing)

  • pricing endpoint returns a URL to the SQUAKE checkout page

  • redirect your customer to the SQUAKE checkout page

  • your customer settles the payment themselves on the SQUAKE checkout page

  • SQUAKE settles the payment and sends a webhook notification to your webhook endpoint (if you registered one)

Notes:

  • You can use /calculate_with_pricing endpoint to combine emission calculation and pricing in a single request.

  • Both the /calculate_with_pricing and /pricing endpoints accept the payment_link_return_url and locale parameters so you can adjust the checkout experience for your customers (see the API reference for more information)

  • We're generating a payment_link_url only for the purchases below 250 EUR. For purchases above 250 EUR, you need to request an invoice from SQUAKE.

Last updated

Was this helpful?