- Home
- Skills
- E-commerce
- FluentCart Developer Pro Agent
Works with the AI Agents you already use
FluentCart Developer Pro Agent
Developer knowledge base and architecture manual for FluentCart WordPress e-commerce: hooks, database schemas, REST APIs, custom payment gateways, and shipping integrations.
Free
FluentCart Developer Pro Agent
Example session with this skill installed
How do I add a $10 flat handling fee to the FluentCart checkout only if the order total is under $50?
- Read your context and instructions
- Compiled the fluentcart developer pro
I will implement a conditional fee surcharge by filtering the fluent_cart/fee_items hook. Following the FluentCart technical standard, I will perform all calculations in cents ($10.00 = 1000 cents; $50.00 = 5000 cents) and use the cart instance to check the current subtotal.
Conditional Handling Fee Implementation
/**
* Add a $10 flat handling fee for orders under $50.
* Calculation: 1000 cents fee if subtotal < 5000 cents.
*/
add_filter('fluent_cart/fee_items', function ($fees, $cart) {
// Get the current cart subtotal in cents
$subtotal = $cart->getSubTotal();
if ($subtotal < 5000) {
$fees[] = [
'id' => 'small_order_handling',
'title' => __('Small Order Handling Fee', 'my-extension'),
'amount' => 1000, // 1000 cents = $10.00
'taxable' => false,
];
}
return $fees;
}, 10, 2);
Next steps
- Place this code in your theme's
functions.phpor a custom plugin file. - Test by adding items to the cart to verify the fee appears/disappears at the $50 threshold.
- If the fee should be taxable, change
'taxable' => falsetotrueand ensure tax classes are configured in FluentCart settings.
Connects securely to your tools. The creator never sees your data.
About this skill
Stop guessing hook names and database columns for FluentCart extensions. This skill provides the complete architectural map and technical reference required to build production-ready payment gateways, shipping carriers, and custom checkout logic on the FluentCart framework.
What it does
- Gateway & Shipping Development provides boilerplate and logic for extending
AbstractPaymentGatewayand building dynamic shipping carriers. - Hook & Filter Mapping identifies the correct lifecycle events across 14 modular reference files covering orders, subscriptions, and cart flows.
- Schema & ORM Reference enables precise data querying using FluentCart Eloquent models and documented
wp_fct_*table structures. - REST API Integration documents over 200 endpoints including secure administrative, customer portal, and public shop routes.
- Monetary Logic Enforcement ensures all calculations follow the mandatory integer-in-cents standard to prevent rounding errors.
How it works
- Scope the task by identifying the domain, such as Subscription lifecycle, Cart validation, or Order reporting.
- Consult reference files to pull exact hook signatures and parameter types from the
references/directory. - Implement logic using the provided PHP patterns for fee surcharges, event listeners, or custom REST endpoints.
- Validate against standards ensuring usage of the IoC container and Eloquent models over raw SQL.
Frameworks & tools
Built for WordPress developers using PHP, FluentCart (Core and Pro), Eloquent ORM, and the WordPress REST API.
Why this beats prompting it yourself
Generic LLMs lack context for FluentCart's specific wp_fct_ database schema and integer-cent monetary requirements. This skill prevents common architectural mistakes like blocking payment loops with synchronous API calls or using incorrect action signatures that lead to silent failures.
Use cases
- Building a custom payment gateway for a local provider using the Paddle/Stripe case studies.
- Creating dynamic fee surcharges based on cart contents or shipping destination.
- Synchronizing subscription status changes with external CRM or marketing platforms.
- Developing custom admin reporting dashboards via the Reports API endpoints.
Known limitations
Requires FluentCart to be active on the WordPress installation. Some licensing and roles functionality requires the Pro version of the plugin.
Pair with Fastr MCP Suite
For live payment gateway code generation, schema validation, and database querying inside Claude, install our companion MCP server on MCPize: 👉 Fastr MCP Suite on MCPize
Requires an active FluentCart installation. Licensing and advanced permissions features require FluentCart Pro.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before any payment.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Free forever
No account required to browse
Trust & safety
Security scan
Security scan passed 19 days ago
- Free with an Agensi account