Creating a Simple Checkout

Once your Fusion Payments account is set up, you’re ready to start accepting payments using Stripe Checkout. Fusion Payments securely handles the Stripe session creation for you — all you need to do is call our API and redirect your customers to the provided URL.

1

Prerequisites

Set Up Fusion API Access

  • Get your Fusion API key and endpoint URL.
  • Ensure your frontend can authenticate users and include their JWT access token in API requests.

2

Present Pricing Options to the User

Display your available packages (e.g., "Basic", "Pro", "Enterprise") so users can choose a plan.

Make a GET request to the List Products API endpoint /products.

3

Create a Checkout Session via Fusion API

When a user selects a package:

4

Redirect User to Stripe Checkout

Use the checkout_url from the response to navigate the user:

JavaScript
window.location.href = response.checkout_url;

5

Handle Success Redirect

Once payment is complete, the user is automatically redirected to your specified success_url.

On your success page:

  • Thank the user.
  • Optionally fetch checkout info or display package confirmation.

You don’t need to validate payment here — Fusion handles that internally or via webhook.

Reminder

Always pass the JWT access token to authenticate API calls.

Was this section helpful?

What made this section unhelpful for you?

On this page
  • Creating a Simple Checkout