Installation
Requirements
The Stripe Checkout Fieldtype requires:
Statamic 5 or 6
PHP 8.2 and later
intl
extensionAlpine.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 62composer require mitydigital/statamic-stripe-checkout-fieldtype:^3.03 4# for Statamic 55composer 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