cedar2025 / Xboard

基于V2board二次开发支持新协议新特性的高性能面板
MIT License
1.8k stars 456 forks source link

[BUG] 手动创建订单金额,用户支付时扔显示原价。跳转支付是自定义金额。 #161

Open syouko opened 3 months ago

syouko commented 3 months ago

🙇‍♂️🙇‍♂️🙇‍♂️注意:XrayR等非XBoard问题请前往项目方提问 🙇‍♂️🙇‍♂️🙇‍♂️Note: XrayR and other non-XBoard issues please go to the project side to ask questions

The XBoard version number you are using 当前使用的XBoard版本号(git commit id)

f099cf6

Would you like to deploy using Docker? 你的部署方式(是否为Docker)

AAP+Docker

Please briefly describe the issue you encountered (preferably with reproducible steps). 简单描述你遇到的问题(最好带上复现步骤)

1,管理员手动创建订单给用户。 例 商品原价100元,手动创建时指定金额10元。 2,用户查看订单列表,金额显示需要支付10元正常。 3,点进去订单选择支付方式时,金额显示为原价100元,如支付方式有手续费,也会按100计算手续费。 4,继续支付,跳转到支付方网站,需要支付的金额是正常的 10元,附加10元产生的支付手续费。

Screenshot of the reported error(Please do desensitization) 报告错误的截图(请做脱敏处理)

未截图

Run the php artisan log:export 7 command to export log files (where 7 represents logs for the last 7 days). 运行php artisan log:export 7 命令导出的日志文件(其中7为最近7天的日志)。

无PHP

cedar2025 commented 2 months ago

感谢反馈, 这个BUG影响面积比较小,改动会比较多后面再修复。