Used to check for browser translation.
用于检测浏览器翻译。
ブラウザの翻訳を検出する

Payment Kit v1.14.0: Stake Returning and Inventory Support

Xiao Fang
Jul 23, 2024 · edited
B
Blogs
cover


We are pleased to announce a series of updates to Payment Kit, enhancing its features. These updates are part of our commitment to providing versatile and secure solutions, allowing for easy cryptocurrency and credit card payment acceptance. Through Payment Kit, users can enjoy a decentralized platform that offers zero fees and is designed to meet various payment needs.

Administrator UX#

To provide more control and a better management experience for administrators, we have enriched the product pricing scenarios and improved the refund process:

  • Refund and Stake Return Support
    • Refund Payment: Administrators can now initiate refunds for user payment orders, ensuring a better payment experience

image.png

  • Stake Return: When canceling a subscription, administrators can return the stake immediately, reducing the waiting time for users to reclaim their stakes.

image.png


  • Inventory Management

Administrators can set different prices for different batches to meet various purchasing needs.

Maximum Quantity and Purchase Limits: Admins can set the maximum quantity available for sale and the single purchase limit for each product batch, ensuring efficient inventory management.

    • Available Quantity: Prevents overselling of products.
    • Single Purchase Limit: Prevents bulk purchases that could affect inventory.
    • Inventory Checks: Each time a checkout session is created or opened, the inventory status is checked to ensure sufficient stock for payment completion.

image.png

image.png

  • Metadata Support

We have fixed issues with filling in or displaying complex data types during metadata editing. We recommend flattening data in metadata.🙏🏻

  • Cross-Selling Optimization: Corresponding error prompts for product selection of different payment types.
  • Product Image Display: Optimized display effects for images of various sizes.

Consumer UX#

  • Currency Selection in Pricing Table

Users can now switch currency types in the price list to view different prices. The selected currency type will be defaulted during the checkout phase.

image.png

  • UI Fixes:
    • US Dollar display issue in single precision on the checkout page

Developer UX#

  • Better Component Support: Updated @blocklet/payment-react to support the component requirements of more scenarios.
    • PricingItem Component: Dynamically renders the total price based on unit price information and quantity.
    • Comment Reward component: Add an integrated comment reward function in the comment section, allowing users to be rewarded directly when posting comments, enhancing user interaction and participation.
  • Better SDK Support: Updated @blocklet/payment-js to support refunds and inventory management.
    • Refund Processing: Providing the ability to refund payments.
    • Inventory Management: Provides the ability to manually adjust inventory.
  • Reliability optimization: Ensure that the callbacks of the stripe are publicly accessible under any access policy.

Patch Notes: Thank You for Your Feedback#

We believe our product’s core strength lies in an active user community. Your insights and suggestions are crucial, and we are committed to incorporating your feedback to enhance Payment Kit. This section highlights the latest updates and bug fixes inspired by user feedback, from minor adjustments to major changes, each update aims to improve your experience and meet your needs.

Help Us Improve#

We look forward to you enjoying a better user experience with the new version of Payment Kit.

Thank you for your continued support. If you have any needs, suggestions, or problems, please visit our community for feedback. We are committed to assisting you in any way possible.

We appreciate your attention and support. We will continue to enhance Payment Kit to better meet your needs.


2.0.154