Token导航 LogoToken导航TokenDH.com
研究检索敏感数据github未标认证来源可访问许可证需确认审计提醒

buy-now-pay-later现在购买稍后付款

Agent Skill

buy-now-pay-later 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

517

周安装

22

GitHub Stars

19

下载量

181
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:buy-now-pay-later(现在购买稍后付款)
来源仓库:https://github.com/finsilabs/awesome-ecommerce-skills
仓库路径:skills/buy-now-pay-later
安装命令:
npx skills add https://github.com/finsilabs/awesome-ecommerce-skills --skill buy-now-pay-later
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/finsilabs/awesome-ecommerce-skills --skill buy-now-pay-later

简介

buy-now-pay-later 分析分期付款对电商转化率的提升效果。

  • 覆盖 Klarna、Afterpay、Affirm 等主要 BNPL 服务商。
  • 适用于客单价 $100–$3,000 的高价值商品场景。
  • 需结合转化率与用户留存数据评估实施必要性。
  • 适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

SKILL.md

Buy Now, Pay Later (BNPL)

Overview

Buy Now, Pay Later lets shoppers split purchases into 4 interest-free installments or longer financing plans. Offering BNPL at checkout typically increases average order value (AOV) by 15–40% and reduces checkout abandonment for high-ticket items. The three major providers — Klarna, Afterpay (Clearpay in UK), and Affirm — each have native integrations for Shopify, WooCommerce, and BigCommerce that require no custom code to install.

When to Use This Skill

  • When AOV is in the $100–$3,000 range where installments meaningfully help conversion
  • When analytics show customers abandoning checkout at the payment step due to price
  • When competitors offer BNPL and it is becoming a category expectation (fashion, electronics, furniture)
  • When adding BNPL to an existing Stripe integration (Klarna and Afterpay are available as Stripe payment methods)

Core Instructions

Step 1: Determine your platform and choose the right BNPL approach

PlatformRecommended ApproachNotes
ShopifyEnable via Shopify Payments (Klarna, Afterpay built in) or install provider's appShopify Payments includes Klarna and Afterpay with zero additional integration; just enable them
WooCommerceInstall the provider's official WooCommerce pluginKlarna, Afterpay, and Affirm all have official WooCommerce plugins
BigCommerceInstall from BigCommerce App MarketplaceAll three providers have native BigCommerce apps
Custom / HeadlessEnable via Stripe (Klarna, Afterpay) or provider SDKIf using Stripe, enable as payment methods on the Payment Intent; no separate SDK needed

Provider comparison:

ProviderMarketsModelMerchant FeeOrder Range
KlarnaUS, EU, UKPay in 4 / Financing~2.49% + $0.30$10–$10,000
AfterpayUS, AU, UK, CAPay in 4 (6 weeks)4–6%$35–$2,000
AffirmUS, CAMonthly installments5.99%–29.99% APR on consumer$50–$17,500

Recommendation: Start with Klarna or Afterpay — they have the broadest platform support and lowest friction to enable. Add Affirm for high-ticket items ($1,000+) where monthly financing matters more than 4-installment splits.

Step 2: Enable BNPL on your platform


Shopify

Option A: Via Shopify Payments (recommended)

  1. Go to Settings → Payments → Shopify Payments → Manage
  2. Under Wallets and payment methods, find Klarna and Afterpay and toggle them on
  3. Click Save — BNPL options will now appear automatically at checkout for eligible orders
  4. To add BNPL messaging to product pages, install the Klarna On-Site Messaging app or Afterpay On-Site Messaging app from the Shopify App Store

Option B: Install the provider's Shopify app directly

  • Klarna: Install Klarna Payments from the Shopify App Store
  • Afterpay: Install Afterpay from the Shopify App Store
  • Affirm: Install Affirm from the Shopify App Store

Each app guides you through account creation and automatically adds the payment method to your checkout.

Adding installment messaging to product pages (Shopify):

After installing the Klarna or Afterpay app, go to Online Store → Themes → Customize and add the BNPL messaging block to your product page template. This displays "4 interest-free payments of $X" beneath the price.


WooCommerce

Klarna:

  1. Install the Klarna Payments for WooCommerce plugin from WordPress.org or the WooCommerce Marketplace
  2. Go to WooCommerce → Settings → Payments → Klarna Payments and enter your Klarna API credentials
  3. Enable the payment method and configure which Klarna products to offer (Pay Now, Pay Later, Slice It)
  4. For product page messaging, install the Klarna On-Site Messaging for WooCommerce plugin and add your Client ID

Afterpay:

  1. Install the Afterpay Gateway for WooCommerce plugin
  2. Go to WooCommerce → Settings → Payments → Afterpay and enter your Merchant ID and Secret Key (from your Afterpay merchant portal)
  3. Configure the minimum and maximum order amounts to match Afterpay's eligibility range ($35–$2,000)
  4. Enable the on-site messaging widget to show installment amounts on product pages

Affirm:

  1. Install the Affirm Gateway for WooCommerce plugin
  2. Go to WooCommerce → Settings → Payments → Affirm and enter your Public API Key and Private API Key (from your Affirm merchant portal)
  3. Set the minimum order threshold (Affirm recommends showing only for orders $50+)

BigCommerce

  1. Go to Apps → Marketplace and search for Klarna, Afterpay, or Affirm
  2. Install the provider's app and follow the in-app setup wizard — you will need your merchant account credentials from the provider's portal
  3. The app automatically adds the BNPL payment method to your checkout and can add product page messaging
  4. Configure eligibility amounts in the app settings to match the provider's supported range

Custom / Headless

Via Stripe (recommended — enables Klarna and Afterpay with no separate SDK):

// Server: include BNPL methods on the payment intent
const paymentIntent = await stripe.paymentIntents.create({
  amount: orderTotalInCents,
  currency: 'usd',
  payment_method_types: ['card', 'klarna', 'afterpay_clearpay'],
  metadata: { order_id: orderId },
});

On the client, use Stripe's PaymentElement — it automatically shows Klarna and Afterpay tabs for eligible order amounts with no additional configuration:

import { PaymentElement } from '@stripe/react-stripe-js';

function CheckoutForm() {
  return (
    <form>
      <PaymentElement options={{ layout: 'tabs' }} />
      {/* Tabs render: Card | Klarna | Afterpay based on eligibility */}
    </form>
  );
}

Adding installment messaging to product pages (headless):

Klarna provides a web component for price messaging. Load the Klarna script and add the component:

<!-- Load Klarna's on-site messaging library -->
<script async src="https://js.klarna.com/web-sdk/v1/klarna.js"
  data-client-id="YOUR_KLARNA_CLIENT_ID">
</script>

<!-- Display "4 payments of $X" on the product page -->
<klarna-placement
  data-key="credit-promotion-auto-size"
  data-locale="en-US"
  data-purchase-amount="9999">
  <!-- Amount in cents: 9999 = $99.99 -->
</klarna-placement>

Afterpay provides a similar web component:

<afterpay-placement
  data-locale="en_US"
  data-currency="USD"
  data-amount="99.99"
  data-size="sm">
</afterpay-placement>

Step 3: Verify eligibility rules are enforced

Each provider has minimum and maximum order amounts. The platform apps and Stripe's PaymentElement handle this automatically — they only show the BNPL option when the order total is within the eligible range. Verify this is working correctly by testing with an order below the minimum (BNPL should not appear) and within range (BNPL should appear).

Best Practices

  • Enable via Shopify Payments if you are on Shopify — zero extra integration; just toggle on in payment settings
  • Show installment messaging on product pages and cart — BNPL messaging before checkout increases AOV even for customers who end up paying in full
  • Only show BNPL within eligible amount ranges — displaying BNPL for a $10 order misleads customers; the platform apps handle this automatically
  • Monitor fee impact on margin — Afterpay charges 4–6%, which is 2–3x higher than a standard card fee; ensure your margins support the provider's rate before enabling
  • Display clear terms — "4 interest-free payments" must be accurate; each provider has compliance requirements for how you can describe their product

Common Pitfalls

ProblemSolution
BNPL option not appearing at checkoutCheck that the order amount is within the provider's eligible range; verify the API credentials in the plugin/app settings are for the correct environment (live vs. sandbox)
BNPL appearing for ineligible order amountsSet minimum/maximum amount thresholds in the plugin settings; Stripe's PaymentElement enforces this automatically
Product page messaging not updating when variant price changesKlarna and Afterpay web components read the data-purchase-amount attribute; update this attribute in JavaScript when the price changes
Customers confused about BNPL termsLink to the provider's "How it works" page in the messaging widget; each provider has compliant messaging templates you must follow
Higher dispute rate with BNPL ordersBNPL disputes go through the provider (Klarna, Afterpay), not your payment processor; ensure your fulfillment process creates clear tracking and delivery confirmation

Related Skills

  • @stripe-integration
  • @checkout-flow-optimization
  • @paypal-integration
  • @cart-logic

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

37.59%
按下载量换算68

Claude

30.4%
按下载量换算55

Cursor

20.39%
按下载量换算37

Gemini CLI

8.78%
按下载量换算16

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills