payment-kit 1.22.9 → 1.22.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/blocklet.yml CHANGED
@@ -14,7 +14,7 @@ repository:
14
14
  type: git
15
15
  url: git+https://github.com/blocklet/payment-kit.git
16
16
  specVersion: 1.2.8
17
- version: 1.22.9
17
+ version: 1.22.10
18
18
  logo: logo.png
19
19
  files:
20
20
  - dist
@@ -84,11 +84,11 @@ capabilities:
84
84
  clusterMode: false
85
85
  component: true
86
86
  screenshots:
87
- - checkout-payment-form.png
88
- - customer-billing-dashboard.png
89
- - subscription-details-view.png
90
- - admin-payment-integrations.png
91
- - payment-transactions-list.png
87
+ - checkout-payment-form.jpg
88
+ - customer-billing-dashboard.jpg
89
+ - subscription-details-view.jpg
90
+ - admin-payment-integrations.jpg
91
+ - payment-transactions-list.jpg
92
92
  components:
93
93
  - name: image-bin
94
94
  source:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "payment-kit",
3
- "version": "1.22.9",
3
+ "version": "1.22.10",
4
4
  "scripts": {
5
5
  "dev": "blocklet dev --open",
6
6
  "lint": "tsc --noEmit && eslint src api/src --ext .mjs,.js,.jsx,.ts,.tsx",
@@ -57,9 +57,9 @@
57
57
  "@blocklet/error": "^0.3.2",
58
58
  "@blocklet/js-sdk": "^1.17.1",
59
59
  "@blocklet/logger": "^1.17.1",
60
- "@blocklet/payment-broker-client": "1.22.9",
61
- "@blocklet/payment-react": "1.22.9",
62
- "@blocklet/payment-vendor": "1.22.9",
60
+ "@blocklet/payment-broker-client": "1.22.10",
61
+ "@blocklet/payment-react": "1.22.10",
62
+ "@blocklet/payment-vendor": "1.22.10",
63
63
  "@blocklet/sdk": "^1.17.1",
64
64
  "@blocklet/ui-react": "^3.2.1",
65
65
  "@blocklet/uploader": "^0.3.8",
@@ -129,7 +129,7 @@
129
129
  "devDependencies": {
130
130
  "@abtnode/types": "^1.17.1",
131
131
  "@arcblock/eslint-config-ts": "^0.3.3",
132
- "@blocklet/payment-types": "1.22.9",
132
+ "@blocklet/payment-types": "1.22.10",
133
133
  "@types/cookie-parser": "^1.4.9",
134
134
  "@types/cors": "^2.8.19",
135
135
  "@types/debug": "^4.1.12",
@@ -176,5 +176,5 @@
176
176
  "parser": "typescript"
177
177
  }
178
178
  },
179
- "gitHead": "9614e353a90ac740da61b9f97db6456ee8a0279b"
179
+ "gitHead": "6f1df451a18678f0398b13a7120305f8deb0c6f4"
180
180
  }
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
@@ -0,0 +1,5 @@
1
+ blogTitle: "最新动态"
2
+ blogDescription: "在此处获取最新更新。"
3
+ blogUrl: "https://www.arcblock.io" # 或者是您的 Discuss Kit Blocklet URL
4
+ blogLabel: "payment-kit"
5
+ blogMoreButtonText: "查看更多"
@@ -0,0 +1,169 @@
1
+ # **Payment Kit — Landing Page**
2
+
3
+ ---
4
+
5
+ ## **1. Hero — Core Value Proposition**
6
+
7
+ 💡 **Suggested Component:** `Split Hero With Big Title`
8
+
9
+ **Headline:**
10
+ **Own Your Payments.**
11
+
12
+ **Sub-headline:**
13
+ Accept crypto and fiat in one self-hosted checkout — no fees, no middlemen.
14
+ **Description:**
15
+ Payment Kit lets you create products, manage subscriptions, track usage, and process payments —
16
+ all in one secure, self-hosted platform built for Web2 and Web3.
17
+
18
+ **Primary CTA:**
19
+ 🟦 [**Run Your Own**](https://store.blocklet.dev/blocklets/z2qaCNvKMv5GjouKdcDWexv6WqtHbpNPQDnAk)
20
+
21
+ **Secondary CTA:**
22
+ ⚪ [**View Docs**](https://www.arcblock.io/docs/?q=payment-kit)
23
+
24
+ **Hero Image:**
25
+ ![Hero image](./hero-image.webp)
26
+
27
+ ---
28
+
29
+ ## **2. Key Highlights — Why Teams Choose Payment Kit**
30
+
31
+ 💡 **Suggested Component:** `Layout 3 Column Grid (Center)` + `Content Card With Icon`
32
+
33
+ **Section Title:**
34
+ **What Payment Kit Offers**
35
+
36
+ 1. 🪙 **Multi-Chain + Fiat Payments** — Accept ABT, ETH, Base, and Stripe in one checkout.
37
+ 2. 💰 **Flexible Billing Models** — One-time, recurring, usage-based, and credit billing built in.
38
+ 3. 🔐 **DID Security + Vault Wallet** — Decentralized identity and threshold-protected cold storage.
39
+ 4. 💳 **Credit Billing** — Pre-fund or stake credits with real-time tracking and auto top-up.
40
+ 5. 🎟 **Promotions & Vendors** — Built-in coupons, affiliate sharing, and revenue splits.
41
+ 6. ⚙️ **Self-Hosted Infrastructure** — Full data ownership and zero platform fees.
42
+
43
+ ---
44
+
45
+ ## **3. Designed for Your Success — Who It’s For**
46
+
47
+ 💡 **Suggested Component:** `Content Card With SrceenShot (Bottom)`
48
+
49
+ **Section Title:**
50
+ **Who It’s For**
51
+
52
+ Each slide highlights a core user persona with AI-generated illustration.
53
+
54
+ **🟦 For Business Owners**
55
+ Accept global fiat and crypto payments effortlessly.
56
+ Expand revenue with flexible billing and real-time analytics.
57
+ 🖼️ `./r-bus-owner.png`
58
+
59
+ **🟧 For Developers**
60
+ Integrate in minutes with Stripe-compatible APIs and TypeScript SDK.
61
+ Deploy self-hosted to stay independent from vendors.
62
+ 🖼️ `./r-for-dev.png`
63
+
64
+ **🟩 For AI & SaaS Builders**
65
+ Support both pay-as-you-go and subscription-based business models.
66
+ Use credits for real-time API billing, and SubGuard™ to ensure subscription reliability.
67
+ 🖼️ `./r-for-ai.png`
68
+
69
+ **🟪 For Enterprises**
70
+ Deploy PCI-compliant, auditable infrastructure with fraud prevention.
71
+ Support multi-tenancy and private deployments.
72
+ 🖼️ `./r-for-ent.png`
73
+
74
+ **🟫 For Web3 Projects**
75
+ Accept crypto on Ethereum and Base.
76
+ Bridge traditional and decentralized payments through DID authentication.
77
+ 🖼️ `./r-for-web3.png`
78
+
79
+ ---
80
+
81
+ ## **4. Billing, Reliability & Growth — All in One**
82
+
83
+ **💡 Suggested Component:** `Carousel Section`
84
+
85
+ **Section Title:**
86
+ **Everything You Need to Bill and Grow**
87
+
88
+ Slide 1 · One-Time & Subscriptions
89
+ Fast checkout for crypto and fiat. Subscriptions renew automatically, and SubGuard™ ensures uninterrupted access through staking-based guarantees.
90
+ 🖼 checkout-payment-form.jpg
91
+
92
+ Slide 2 · Usage-Based Billing
93
+ Real-time metering for API calls or resources. Accurate, auditable, and scalable for any usage-based model.
94
+ 🖼 payment-overview.jpg
95
+
96
+ Slide 3 · Credit-Based Billing
97
+ Tokenized credits deduct on use and support auto top-up to maintain service continuity.
98
+ 🖼 customer-credit.jpg
99
+
100
+ Slide 4 · Reliability & Security
101
+ DID authentication, Vault Wallet auto-transfer, and SubGuard™ staking protection ensure payment integrity.
102
+ 🖼 admin-payment-integrations.jpg
103
+
104
+ Slide 5 · Growth & Ecosystem
105
+ Promo codes, vendor revenue sharing, and Blocklet ecosystem integration help you grow faster.
106
+ 🖼 coupon.jpg
107
+ ## **5. Capability Comparison**
108
+
109
+ 💡 **Suggested Component:** `Comparison Table`
110
+
111
+ **Section Title:**
112
+ **Traditional vs. Modern vs. Payment Kit**
113
+
114
+ | Capability | Traditional | Modern Gateways (e.g. Stripe) | Payment Kit (Web2 + Web3) |
115
+ | :-------------- | :------------ | :---------------------------- | :------------------------------------ |
116
+ | Supported Rails | Fiat only | Fiat + limited wallets | Fiat + multi-chain crypto |
117
+ | Billing Models | One-time | One-time + recurring | One-time + recurring + usage + credit |
118
+ | Ownership | Vendor-locked | Managed cloud | Self-hosted / user-managed |
119
+ | Customization | Fixed | Limited APIs | Open SDK + Blocklet extensions |
120
+ | Ecosystem | None | App marketplace | Native Blocklet ecosystem |
121
+ | Data Custody | Vendor | Shared | Private + on-chain ledger |
122
+ | Fees | 2–5 % | 2.9 % + $0.30 | 0 % platform fee |
123
+ | Crypto Support | ❌ | ⚠️ Partial | ✅ Native multi-chain |
124
+
125
+ ---
126
+
127
+ ## **6. FAQ**
128
+
129
+ 💡 **Suggested Component:** `FaqComponentV2`
130
+
131
+ **Q1. Why self-host instead of using Stripe?**
132
+ At scale, Stripe’s 2.9 % fees can consume your profit. Payment Kit eliminates that while adding crypto support and full data ownership.
133
+
134
+ **Q2. Is Payment Kit easy to integrate with existing systems?**
135
+ Yes. It uses Stripe-compatible APIs and SDKs for quick setup — connect Stripe for fiat and enable ArcBlock, Ethereum, and Base for crypto payments.
136
+
137
+ **Q3. Which currencies and chains are supported?**
138
+ Payment Kit supports fiat via Stripe and crypto on ArcBlock Chain, Ethereum, and Base. You can add more tokens as needed — there’s no limit.
139
+
140
+ **Q4. What is SubGuard™ and how does it work?**
141
+ SubGuard™ uses staking to guarantee subscription continuity. If a user fails to renew or pay, their staked collateral automatically covers the service provider’s loss.
142
+
143
+ **Q5. What are the real costs of running Payment Kit?**
144
+ Payment Kit is free — you only pay for hosting, Stripe fees (for fiat), and blockchain gas (for crypto). No platform fees or revenue share.
145
+
146
+ ---
147
+
148
+ ## **7. Latest Updates**
149
+
150
+ **Section Title:**
151
+ **Latest Updates**
152
+
153
+ Stay up to date with new features and release highlights.
154
+ Feed from `latest-blog.yml`.
155
+
156
+ ---
157
+
158
+ ## **8. Final CTA**
159
+
160
+ **Headline:**
161
+ **Start in Minutes. Deploy with Confidence.**
162
+
163
+ **Sub-headline:**
164
+ Integrate Payment Kit today and join our community for help and tips.
165
+
166
+ 🟦 [**Run Your Own**](https://store.blocklet.dev/blocklets/z2qaCNvKMv5GjouKdcDWexv6WqtHbpNPQDnAk)
167
+ 🟩 [**Join Community**](https://community.arcblock.io/discussions/boards/payment-kit)
168
+ 🟨 [**View Docs**](https://www.arcblock.io/docs/?q=payment-kit)
169
+
@@ -1,33 +0,0 @@
1
- # Payment Kit Screenshots
2
-
3
- This document provides a visual overview of the Payment Kit application, a decentralized Stripe-like payment solution for blocklets. Below are screenshots showcasing the key features and interfaces of the application.
4
-
5
- ## Checkout Payment Form
6
-
7
- ![Checkout Payment Form](./checkout-payment-form.png)
8
-
9
- This screenshot displays the checkout payment interface where customers complete their purchases. The form shows an order summary for "DID Names Service" priced at 5 USD, alongside payment details where users can select their preferred payment method (PLAY3, TBA, ABT, or USD). The interface includes fields for customer information such as name, email, and postal code, with a prominent "Pay" button to complete the transaction.
10
-
11
- ## Customer Billing Dashboard
12
-
13
- ![Customer Billing Dashboard](./customer-billing-dashboard.png)
14
-
15
- The customer billing dashboard provides users with a comprehensive overview of their account status and subscriptions. It displays wallet balances across multiple cryptocurrencies (TBA and PLAY3), showing balance, spent, and stake amounts. The credits section tracks token usage and transactions. Below that, users can view and manage their active subscriptions including "Usage Payment Service," "Test Service A," "Notification Service," and "Test Service B," each with renewal dates and management options.
16
-
17
- ## Subscription Details View
18
-
19
- ![Subscription Details View](./subscription-details-view.png)
20
-
21
- This detailed subscription management screen shows comprehensive information about "Test Service A." It displays the subscription status (Active), next invoice date, amount, current balance, and subdcard information. The interface includes customer details, billing information, payment method (ArcBlock Beta), and state transaction data. The Products section shows the subscription item (0.01 TBA/month), and the Invoice History table provides a complete record of past payments with amounts, payment methods, invoice numbers, and statuses.
22
-
23
- ## Admin Payment Integrations
24
-
25
- ![Admin Payment Integrations](./admin-payment-integrations.png)
26
-
27
- The admin integrations screen shows the configuration interface for payment methods and services. This view displays the vault settings page where administrators can configure app bundles and buffer thresholds for managing payment-related vault transfers. The right panel shows the available payment methods including ArcBlock (with ArcBlock Beta for testing), ETHng (with Ether payments via Alchemy Network), and BASE (with Base Mainnet and Sepolia options), each with toggle switches to enable or disable the payment method.
28
-
29
- ## Payment Transactions List
30
-
31
- ![Payment Transactions List](./payment-transactions-list.png)
32
-
33
- The payment transactions overview displays a comprehensive table of all payment activities in the system. The list shows transaction amounts (ranging from 0.1 TBA to 1 TBA), payment methods (ArcBlock Beta), customer information (primarily showing "Xiao Fang"), descriptions (subscription cycles, creation, and purchase confirmations), creation and update timestamps, and transaction statuses (marked as "Succeeded"). This view provides administrators with complete visibility into all payment processing activities within the platform.