In recent weeks, we added several functional enhancements and performance improvements to the Payment Kit. These updates are designed to enhance the user experience by improving subscription recharges, notification management, and billing management.
Consumer Experience#
- Improvements to Email Notifications
- No longer sending expired notifications after the execution time has passed.
- The automatic payment notification is triggered only when the balance is insufficient, potentially reducing the messages that are no longer valid.
- Optimizing how information is displayed when receiving notifications for subscription products and one-time payments.
- The reward notification has been optimized to display the contributors' nicknames in the information bar.
- Subscription Enhancements with Add Funds
We now support Add Funds for subscriptions to ensure uninterrupted service. The payment address used is recorded when a payment is made, and future subscription fees will automatically be deducted from this address. Users can easily top up their balance to prevent disruptions due to insufficient funds. Note, this feature is not currently available for Stripe payments.
- Add Funds Entry Points
- My Bills - Subscription List
- Subscription Details - Action Bar
- Upcoming Fee Deduction and Payment Reminder Email - Add Funds Button
- Add Funds: This page displays the current balance of the subscription payment address, offering quick add funds options and the ability to customize recharge amounts. The quick add funds reflects the estimated price for the available billing cycle. You can also view your fund history on the page.
- Optimization of the experience for switching payment methods or plans
- Fixed the issue of incurring new charges when switching plans during a trial period. You can switch to a different plan without additional charges if you are currently in a trial period. However, the trial duration remains unchanged, and the new plan will only take effect after the trial period ends.
- Switching the payment method only affects subsequent bills and requires re-authorization and staking payment; any amount you've staked will be automatically refunded.
Administrator Experience#
- Notification and Audit Log Optimization
- Fix the issue of multiple executions in task scheduling to prevent duplicate notifications.
- Provides more detailed operation logs with full traceability for all critical operations.
- The event details have been updated to include a field for the operator information, clarifying the source of each event.
- Refund Management
- Supports the cancellation of incomplete refund requests, ensuring management flexibility.
- Payment Link Extension
- Supports selecting an upgrade price via
upsell=1
parameter, facilitating promotions and upgrades to premium plans.
- Supports selecting an upgrade price via
- Bill Monitoring and Classification
- Introduce a billing monitoring feature that automatically notifies users of abnormal usage reports, ensuring timely handling of subscription statuses.
- A new usage reporting exception notification has been added to help administrators promptly investigate and confirm user subscription status.
- A new billing reconciliation notification has been added to alert administrators when the actual payment amount does not match the expected amount, enabling quick issue resolution.
- Staking bill records are categorized, and the new bill types are displayed more clearly.
Developer Experience#
- Enhanced component support: We have updated @blocklet/payment-react to meet the component needs of a wider range of use cases.
- New createLazyComponent Component: Supports lazy loading mechanism to optimize resource usage.
- The CheckoutDonate component supports custom rendering: A new
mode=custom
mode has been added, allowing developers to freely customize the rendering logic.
- Improved SDK support: We have updated the definitions of the type for @blocklet/payment-js.
- Subscription supports customizable notification Actions to meet diverse integration needs.
- Performance and Security Optimization
- Optimize Build and Resources
- The package size has been reduced from 14.11MB to 11.57MB, resulting in a significant improvement in the initial loading speed.
- Increase on-demand loading and resource sub-packaging strategies.
- Security Enhancement
- The introduction of the CSRF defense mechanism further ensures payment security.
- Add more key logs to enhance system transparency.
- Scheduling Optimization
- Addressed the issue of repeated execution in the task queue by implementing a locking mechanism to ensure the safe operation of tasks.
Patch Notes: Thank You for Your Feedback#
We believe that the core of our product lies in an active user community. Your feedback is important to us. This section focuses on the latest updates and bug fixes suggested by you, our users.
User Guide for the New Version#
- Local Application: Upgrade the Payment Kit to the latest version, and update your local component dependencies @blocklet/payment-js and @blocklet/payment-react to the latest versions
- Online applications: If you are using Arcblock Launcher, DID Spaces, or NFT Studio, you can update the corresponding application's version.
Help Us Improve#
We look forward to your improved user experience with the new version of the Payment Kit!
Finally, we thank every user for their attention and support. We will continue to make improvements to meet your needs better. Please visit the community to provide feedback if you have any requests, suggestions, or issues while using our service. We will do our utmost to assist you.