Closed dcb9 closed 8 years ago
不可以手动设置为已付款。Live 模式只能通过客户端真是付款。Test 模式只能通过客户端模拟付款。
嗯,由于我在写测试的时候,需要用程序手动把该订单设置为已付款的状态,这个肯定只是运行在测试环境里面的。
看了下客户端代码,使用 GET 请求 https://api.pingxx.com/notify/charges/CHARGE_ID?livemode=false 貌似可以达到该效果。
GET
https://api.pingxx.com/notify/charges/CHARGE_ID?livemode=false
@dcb9 是的,这样是可以的。
不可以手动设置为已付款。Live 模式只能通过客户端真是付款。Test 模式只能通过客户端模拟付款。