Repository navigation
Release notes: 2.34.0
Dory Azar edited this page Nov 28, 2026
·
1 revision
Caligrafy Quill 2.34.0 lets a customer save a card once and be charged later in one tap.
Caligrafy\Payment took payments only while the customer was on a Stripe page. A marketplace that charges after the
fact (a meal approved once it is eaten, a renewal) needs the card kept by Stripe and charged without the customer
there. It now has saved cards:
$payment = new Caligrafy\Payment();
$customer = $payment->createCustomer($email, $name, array('user_id' => (string) $userId))['data']->id;
// Stripe's page in setup mode: the card is saved, nothing is charged
$page = $payment->createSetupCheckout($customer, $home . 'card/saved?session={CHECKOUT_SESSION_ID}', $home . 'profile', 'usd', null, array(), array('card'));
// back from it: the card and its label ("Visa •••• 4242")
$card = $payment->savedCard($_GET['session']);
// later: charge it, with a marketplace's fee and the seller's share
$paid = $payment->chargeSavedCard(5600, 'usd', $customer, $card['data']['payment_method'], array('order' => '42'), 'Dinner',
array('application_fee_amount' => 560, 'transfer_data' => array('destination' => 'acct_...')), 'order-42');- When the bank wants the cardholder to confirm a charge (3-D Secure),
chargeSavedCard()answers'requires_action' => true: take that payment on a page with them (createCheckout()). A decline gives Stripe's'code'. - An idempotency key per order (and amount) means a double tap or a retry never charges twice.
-
removeSavedCard()detaches a card from its customer. -
new Payment($client)takes a stand-in for Stripe's client, so a project's tests run without Stripe. - Current Stripe API versions refuse
payment_method_typeson Checkout:createSetupCheckout()sendsallowed_payment_method_types(gotcha G191).
php caligrafer.php updateClaude Code plugin 1.46.0.
See the payments page and the changelog.
Caligrafy: Describe it. Approve it. Ship it. Your idea turned into a complete app: every feature built once, for web pages, Vue apps, a REST API and AI agents, and online.
Why Caligrafy: the benefits, the measurements, and what it is not yet
-
Quickstart with Claude: describe it, approve it, ship it
or the Quickstart: the same three steps by hand, in 5 minutes
- How Caligrafy works: the ideas in 5 minutes
- Your first capability: build a feature, page included
-
Capabilities in depth
-
#[Capability]: every option - Scheduled jobs: capabilities on a timer
- Notifications: web push and email
- Background jobs: capabilities run later
- Migrations: database changes, in order
- The cache
-
Testing your app
- Dependency injection
- Validation rules
-
Web pages
- Views and page components
- Design styles: another look, one setting
- Declarative routes: every request, in one line
-
Route::page·Route::form·Route::auth·Route::webhook·Route::download·Route::redirect·Route::action·Route::snap· capability routes - How to export a list as CSV
- Controllers: moving one to a declared route · how to, step by step
- Forms and helpers
-
Vue apps
-
Mobile and tablet
-
REST API
-
AI agents
-
Snap Cards and the assistant
- Payments: Stripe and crypto
- Face detection and face login
- OpenAI: chat and images · Assistants
- Open models: Llama, Mistral...
- Chatbots with Watson
- Machine learning in the browser
- Phone and tablet apps: iOS and Android
- Languages: translations, right to left
- Metadata and social cards · search and analytics
-
Putting it online: the production image, the database at every start
-
API reference: every class and method
-
Routing ·
Route·AuthRoutes· pages ·Controller· capabilities -
Data ·
Model·Query· sign-in · jobs ·Notify· payments · AI -
Interfaces · Snap ·
Snap\Cards·Snap\Conversation· testing · tooling · helper functions
-
Routing ·
-
Caligrafer: every command
- Project · build · data · agents · jobs and tests · maintenance · deploy
- Installation, configuration and Caligrafer
- Routing · Request · Controllers · Views
- Vue: flow of information · routes · validations
- Security and upgrading
- Release notes: 2.34 · 2.33 · 2.32 · 2.31 · 2.30 · 2.29 · 2.28 · 2.27 · 2.26 · 2.25 · 2.24 · 2.23 · 2.22 · 2.21 · 2.20 · 2.19 · 2.18 · 2.17 · 2.16 · 2.15 · 2.14 · 2.13 · 2.12 · 2.11 · 2.10 · 2.9 · 2.8 · 2.7 · 2.6 · 2.5 · 2.4 · 2.3 · 2.1 · October 2026 · changelog
- Testing Caligrafy (contributors)