第七色在线视频,2021少妇久久久久久久久久,亚洲欧洲精品成人久久av18,亚洲国产精品特色大片观看完整版,孙宇晨将参加特朗普的晚宴

為了賬號安全,請及時綁定郵箱和手機(jī)立即綁定
已解決430363個問題,去搜搜看,總會有你想問的

為什么貝寶交易完成后余額不發(fā)生變化

為什么貝寶交易完成后余額不發(fā)生變化

PHP
慕尼黑8549860 2021-04-15 18:15:46
我正在使用“ Omnipay與PayPal Express Checkout [symfony2.5]集成”,這是對課程的暗示命名空間Atcop \ BookBundle \ Libs;使用Omnipay \ Common \ GatewayFactory;貝寶類{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;}}完成后一切都很好,我在儀表板上看到該交易的通知和收據(jù),但商人和買方的余額沒有變化。
查看完整描述

1 回答

?
梵蒂岡之花

TA貢獻(xiàn)1900條經(jīng)驗(yàn) 獲得超5個贊

它解決了在測試模式下平衡不會改變的問題,當(dāng)轉(zhuǎn)換為實(shí)時模式時,一切正常。


查看完整回答
反對 回復(fù) 2021-04-23
  • 1 回答
  • 0 關(guān)注
  • 259 瀏覽

添加回答

舉報(bào)

0/150
提交
取消
微信客服

購課補(bǔ)貼
聯(lián)系客服咨詢優(yōu)惠詳情

幫助反饋 APP下載

慕課網(wǎng)APP
您的移動學(xué)習(xí)伙伴

公眾號

掃描二維碼
關(guān)注慕課網(wǎng)微信公眾號