为什么paypal交易完成后余额没有变化

Why balance doesn't change after paypal transaction completing

我正在使用 "Omnipay integration with PayPal Express Checkout [symfony2.5]" 这是 class

的实现

命名空间Atcop\BookBundle\Libs;

使用Omnipay\Common\GatewayFactory;

class 贝宝 {

protected $gateway = null;
private static $CURRENCY = "USD";

public function __construct() {

    $this->gateway = GatewayFactory::create('PayPal_Express');
    $this->gateway->setUsername('*********');
    $this->gateway->setPassword('**********');
    $this->gateway->setSignature('**************');
    $this->gateway->setTestMode(true);
}
public function sendPurchase($parameters = []){

    $payArray = [
        'amount' => 58.00,
        'description' => $parameters['description'],
        'currency' => self::$CURRENCY,
        'transactionId' => $parameters['transactionId'],
        'returnUrl' => $parameters['returnUrl'],
        'cancelUrl' => $parameters['cancelUrl']
    ];

    return $this->gateway->purchase($payArray)->send();
}

public function complete($reference, $payerId) {

    $completePayData = [
        'amount' => 58.00,
        'description' => 'Buy the currencies book - step by step',
        'transactionReference' => $reference,
        'payerId' => $payerId,
    ];

    $response = $this->gateway->completePurchase($completePayData)->send();
    if($response->isSuccessful()){
        return $response->getData();
    }
    return false;
}

}

完成后一切正常,我在控制面板中看到了该交易的通知和收据,但商家和买家的余额没有变化???!!!

解决了 平衡在测试模式下没有变化,当转换为实时模式时一切正常。