Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

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.

  • Score 62
  • 36 stars
  • AFL-3.0
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

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-integration

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install merchant-sdk-integration in Claude Code

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

A

No 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 →

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.

merchant-sdk-integration Install

Add to stack

Loading.