Add several new features to PHP AI website -- 2

Job ID: 38752211

Budget: $30 – $250 USD

Our AI website: askais.com.hk

This website is developed in PHP and licensed from the author, who allows secondary development.

We need to add the following features to the website:

Project Requirements Document

1. Payment Gateway Integration
• Payment Gateway 1: Integrate the Airspay payment system, including options for Alipay and WeChat Pay with a one-time payment setup. The integration should use the API to generate a payment QR code directly on the platform for users to scan and pay without redirection.
• Documentation: http://pay.airspay.top/doc.html

• Payment Gateway 2: Support USDT payments through the Cryptomus platform with a one-time payment setup.
• Documentation: https://doc.cryptomus.com/personal
Documentation
• Payment Gateway 3: Integrate the Airwallex payment system, supporting AlipayHK, WeChat Pay, Alipay, and credit card options with a one-time payment setup. This integration should also use the API to generate a payment QR code directly on the platform for users to scan and pay.
• Documentation: https://www.airwallex.com/docs/api#/Introduction
 Documentation
2. Typing Effect
• Implement a typing effect to display text character by character, enhancing the user interaction experience.
3. Content Moderation Interface
• Integrate Baidu’s text content moderation API to check if the text submitted by users complies with the platform’s safety and content policy.
• Documentation: Baidu Text Moderation API
• The moderation API supports up to 20,000 tokens per request. If the content exceeds this limit, it should be split into multiple requests.
• Each moderation request will consume user tokens, and the usage should be logged in the backend.
• Risk Control Mechanism:
• If a user submits content with violations three consecutive times, the system will automatically save the violating content, freeze the user’s account, and display a restriction notice.
• In a frozen state, users must contact platform support to lift the restriction.
4. Membership Management
• Admins can manually manage users’ membership plans in the backend, including extending membership durations and adjusting quotas.
• The backend should allow admins to view each user’s login status and recent login IP for better management.
5. Customizable Model Aliases
• Support customizable aliases for all models. Admins should be able to set names and descriptions for each model in the backend, providing flexible model management.
6. Preset Chatbot Role
• The system already includes multi-role chatbot functionality. This update requires adding a default bot role setting to automatically load a preset role when users first interact with the chatbot.
• All role configurations should be customizable in the backend for easy role content and policy adjustments.
7. User Online Login and Registration Statistics
• The backend should display user login and registration statistics, including the total number of registered users, active users, and current online users.
• Provide daily, weekly, and monthly reports for user activity trends to assist admins in tracking engagement.
8. Chat Voice Functionality
Related categories: PHP Node.js Vue.js AI Chatbot Development