Files
MTKJPAY/mt-pay/src/main/resources/application-paypal-example.yml
qiube 7794accdeb feat(payment): 添加PayPal支付配置和订单状态更新功能
- 配置PayPal沙箱环境的Client ID和密钥
- 新增updatePaymentStatus方法用于更新订单支付状态
- 新增updateOrderStatus方法用于更新订单状态
- 实现支付状态更新时同步更新订单状态逻辑
- 添加详细的日志记录和异常处理机制
- 集成MyBatis Plus查询更新订单数据
2025-12-23 10:18:37 +08:00

14 lines
427 B
YAML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# PayPal支付配置示例
# 请将以下配置添加到你的application.yml或application-dev.yml中
paypal:
# PayPal Client ID从PayPal开发者控制台获取
client-id: YOUR_CLIENT_ID
# PayPal Client Secret从PayPal开发者控制台获取
client-secret: YOUR_CLIENT_SECRET
# 环境模式sandbox沙箱或 production生产
mode: sandbox
# 是否启用PayPal支付
enabled: true