merchant-sdk-integration
Skill by PrestaShopCorp
Helps developers integrate the PrestaShop Checkout merchant SDK into a parent application, such as a merchant backoffice. It covers loading the UMD bundle, rendering the Zoid component, and handling onSubmit callbacks.
Install merchant-sdk-integration
Built from the published package, never by AI.
git clone --depth 1 https://github.com/PrestaShopCorp/ps_checkout /tmp/ps_checkout && mkdir -p ~/.claude/skills && cp -r /tmp/ps_checkout/.claude/skills/merchant-sdk-integration ~/.claude/skills/merchant-sdk-integrationRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
Step-by-step: install merchant-sdk-integration in Claude Code
git clone --depth 1 https://github.com/PrestaShopCorp/ps_checkout /tmp/ps_checkout && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/ps_checkout/.claude/skills/merchant-sdk-integration ~/.gemini/antigravity-cli/skills/merchant-sdk-integrationAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install merchant-sdk-integration in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
The merchant-sdk-integration skill guides developers through adding the PrestaShop Checkout merchant SDK to a parent application. It explains how to load the UMD bundle with a script tag, create and render the Zoid component, and pass the raw PayPal Orders v2 order JSON as props. It also covers handling onSubmit callbacks for capture, void, reauthorize and refund actions.
The child app runs inside an iframe, and the parent can push fresh data into it with updateProps. The skill includes a type and enum reference, common scenarios such as an authorization and capture flow and a partial refund, and development commands for a playground. It is aimed at developers who want to embed the checkout component in a merchant's own application.
Written from the project's SKILL.md and checked against it.
What it can do
- Load the UMD bundleLoads the SDK through a script tag and exposes the PrestaShopCheckout factory on window.
- Create and render the componentCreates a Zoid component instance with props and renders it into a container element.
- Handle onSubmit callbacksReceives capture, void, reauthorize and refund actions and returns a message or throws an error.
- Update props dynamicallyPushes refreshed order data into the iframe with updateProps after an action.
- Type and enum referenceDocuments PayPal-style order, authorization, capture and refund types and their status values.
- Test mode indicatorShows a test or production mode indicator through the isTestMode prop.
What you need
- @krakenjs/zoid ^10.5.0
- A parent application such as a merchant backoffice
- A hosted child app URL for the url prop
- Raw PayPal Orders v2 order JSON
- Yarn for the build and dev commands
Try asking
- Show me how to create and render the PrestaShop checkout SDK component
- Write an onSubmit handler that refunds a partial amount and shows a message
- Refresh the checkout iframe with new order data using updateProps
Good to know
- The onSubmit callback covers only capture, void, reauthorize and refund actions.
- The url prop defaults to window.location.origin if omitted.
- PaymentMode is derived automatically from payment_source and is not set by the parent.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: .claude/skills/merchant-sdk-integration/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to merchant-sdk-integration
All alternatives →Shopify skill that lets an AI assistant set up and run a Shopify store through Shopify's official MCP server. It is for people who want to sell online, start a store, or manage an existing Shopify store.
Guides an AI assistant through building Shopify apps, extensions and themes. It covers the GraphQL Admin API, Shopify CLI, Polaris UI and Liquid. Intended for Shopify developers.
Searches Ticketmaster events and seat listings with pricing for people looking for event tickets. It returns Ticketmaster checkout links but cannot complete a purchase itself.
Analyzes ecommerce SEO for product pages, product schema, Google Shopping visibility, Amazon marketplace signals and keyword gaps. Built for stores, catalogs and product listings. Live Shopping and Amazon data needs the optional DataForSEO Merchant API.
Drafts replies to customer emails and tickets using order, refund, CRM and support desk data, in the owner's writing voice. Refunds and sends need the owner's approval, and with Shopify it also flags orders needing attention.
Reviews generated or changed WooCommerce code before it ships. It is for developers building extensions, payment and shipping integrations, checkout customizations, and order or product logic.
Compare with shopify, shopify-development or ticketmaster
merchant-sdk-integration: common questions
Which props does the PrestaShop checkout component accept?
It accepts url, order, isTestMode and onSubmit. The order prop is required and must be the raw PayPal Orders v2 object.
What does the onSubmit callback receive?
It receives the action type, the PayPal transaction ID and optional action data such as an amount. It can return a message to show success or throw an Error to show a failure.
Does the parent application need to set the payment mode?
No. The SDK derives PaymentMode from payment_source automatically, so the parent does not need to set it.
How do I install merchant-sdk-integration?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is merchant-sdk-integration free?
The code is published under the AFL-3.0 licence. The service it connects to may have its own pricing.
Is merchant-sdk-integration safe to use?
It scores 62 of 100. Grades: maintenance A, licence B, quality C. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to merchant-sdk-integration?
Similar skills: shopify, shopify-development, ticketmaster, seo-ecommerce.
