PingPlusPlus / pingpp-php

MIT License
378 stars 182 forks source link

请问 Server SDK 可以通过接口调用,设置某个订单已付款吗? #24

Closed dcb9 closed 8 years ago

samurai00 commented 8 years ago

不可以手动设置为已付款。Live 模式只能通过客户端真是付款。Test 模式只能通过客户端模拟付款。

dcb9 commented 8 years ago

嗯,由于我在写测试的时候,需要用程序手动把该订单设置为已付款的状态,这个肯定只是运行在测试环境里面的。

看了下客户端代码,使用 GET 请求 https://api.pingxx.com/notify/charges/CHARGE_ID?livemode=false 貌似可以达到该效果。

samurai00 commented 8 years ago

@dcb9 是的,这样是可以的。