Mity Docs Mity Docs for Mity Digital
Stripe Checkout Fieldtype Documentation

Installation

Requirements

The Stripe Checkout Fieldtype requires:

  • Statamic 5 or 6

  • PHP 8.2 and later

  • intl extension

  • Alpine.js

If you do not use Alpine.js in your site, you can re-write the logic for the fieldtype to meet your JavaScript requirements.

3.x is available for Statamic 6.

2.x is available for Statamic 5, and is supported while Statamic support v5.

1.x is available for Statamic 4, however is no longer supported.

Installation

Install the Stripe Checkout Fieldtype via composer:

1# for Statamic 6
2composer require mitydigital/statamic-stripe-checkout-fieldtype:^3.0
3 
4# for Statamic 5
5composer require mitydigital/statamic-stripe-checkout-fieldtype:^2.0

Layouts

If you allow the user to select between One-off Payment and Subscription, buttons will be needed to make this selection.

The layout does not include fancy styles. This is by design, and makes it faster (and easier) for you to add your own site's look-and-feel.

You will need to include these in your own project by publishing the Antlers files:

1php artisan vendor:publish --tag=statamic-stripe-checkout-fieldtype-views