1

我尝试让 Paypal Express Checkout 就像这里一样: https: //github.com/Payum/Payum/blob/master/docs/symfony/custom-purchase-examples/paypal-express-checkout.md https://github .com/Payum/Payum/blob/master/docs/symfony/purchase-done-action.md

一切正常都期望 captureDoneAction 返回错误:

错误:调用 (..)/PaymentBundle/Controller/DefaultController.php 第 65 行中未定义的方法 Payum\Core\Request\GetHumanStatus::isCaptured()

(..) 只是我的路径,第 65 行是:

if ($status->isCaptured()) {

其他一切就像 Payum 文档中的示例一样。为什么 isCaptured() 返回错误?

4

1 回答 1

1

Thanks to Coussinsky, answer to this question is very easy. In documentation there is a mix-up of versions if you follow the links in the bottom of the http://payum.org/doc/0.11/PayumBundle/simple_purchase_examples/paypal_express_checkout (https://github.com/Payum/Payum/blob/master/docs/symfony/custom-purchase-examples/paypal-express-checkout.md)

于 2014-10-18T13:40:52.483 回答