2016-08-25 7 views
0

エラー:ERROR:[email protected]の合計請求額が遅延チェーンの支払いのための給与の金額と一致していない

The total invoiced amount for [email protected] does not match the amount in the pay for delayed chain payment.

私はのように、ここで私が等しい渡していsetPaymentOptionsの正しい応答を取得しておりませんpayrequstと請求書データの両方の金額が、価格は比較できません。これは、ここでは、payRequestの通貨コードと請求書データを通貨コードのためにですか?通貨コードを渡すためのパラメータはありません。誰か助けてくれますか?

PayPal\Types\AP\SetPaymentOptionsResponse Object 
(
[responseEnvelope] => PayPal\Types\Common\ResponseEnvelope Object 
    (
     [timestamp] => 2016-08-25T00:11:21.138-07:00 
     [ack] => Failure 
     [correlationId] => 8cc5bbe5cde59 
     [build] => 24003818 
    ) 

[error] => Array 
    (
     [0] => PayPal\Types\Common\ErrorData Object 
      (
       [errorId] => 580023 
       [domain] => PLATFORM 
       [subdomain] => Application 
       [severity] => Error 
       [category] => Application 
       [message] => The total invoiced amount for [email protected] does not match the amount in the pay request 
       [exceptionId] => 
       [parameter] => Array 
        (
         [0] => PayPal\Types\Common\ErrorParameter Object 
          (
           [name] => 
           [value] => invoiceData 
          ) 

         [1] => PayPal\Types\Common\ErrorParameter Object 
          (
           [name] => 
           [value] => [email protected] 
          ) 

        ) 

      ) 

    ) 

) 

パラメータは、私がPayRequestInvoiceDatasのために渡しています:

PayPal\Types\AP\PayRequest Object 
(
[requestEnvelope] => PayPal\Types\Common\RequestEnvelope Object 
    (
     [detailLevel] => 
     [errorLanguage] => en_US 
    ) 

[clientDetails] => 
[actionType] => PAY_PRIMARY 
[cancelUrl] => http://localhost.xyz.com/paymentError?cancel=true 
[currencyCode] => USD 
[feesPayer] => 
[ipnNotificationUrl] => http://replaceIpnUrl.com 
[memo] => 
[pin] => 
[preapprovalKey] => 
[receiverList] => PayPal\Types\AP\ReceiverList Object 
    (
     [receiver] => Array 
      (
       [0] => PayPal\Types\AP\Receiver Object 
        (
         [amount] => 2.00 
         [email] => [email protected] 
         [phone] => 
         [primary] => false 
         [invoiceId] => 
         [paymentType] => 
         [paymentSubType] => 
         [accountId] => 
        ) 

       [1] => PayPal\Types\AP\Receiver Object 
        (
         [amount] => 8.00 
         [email] => [email protected] 
         [phone] => 
         [primary] => true 
         [invoiceId] => 
         [paymentType] => 
         [paymentSubType] => 
         [accountId] => 
        ) 

      ) 

    ) 

[reverseAllParallelPaymentsOnError] => 
[senderEmail] => 
[returnUrl] => http://localhost.xyz.com/expressCallback 
[trackingId] => 
[fundingConstraint] => 
[sender] => 
[payKeyDuration] => 
) 
PayPal\Types\AP\ReceiverOptions Object 
(
[description] => 
[customId] => 
[invoiceData] => PayPal\Types\AP\InvoiceData Object 
    (
     [item] => Array 
      (
       [0] => PayPal\Types\AP\InvoiceItem Object 
        (
         [name] => Brand 
         [identifier] => 1 
         [price] => 8.00 
         [itemPrice] => 8.00 
         [itemCount] => 32 
        ) 

      ) 

     [totalTax] => 2 
     [totalShipping] => 27 
    ) 

[receiver] => PayPal\Types\AP\ReceiverIdentifier Object 
    (
     [email] => [email protected] 
     [phone] => 
     [accountId] => 
    ) 

[referrerCode] => 
) 
+0

これについてもう少し詳しくお聞かせください。 –

答えて

0

をここでは2つのことは、エラーを取り除くために価格/量に関係し修正することになっています。

1:InvoiceItemでオブジェクト

[name] => Brand 
[identifier] => 1 
[price] => 256   //THIS IS EQUAL TO itemPrice * itemCount 
[itemPrice] => 8.00 
[itemCount] => 32 
enter code here 

2:レシーバオブジェクト内

[email protected]プライマリ受信機が常にに等しい量を有するべきですセカンダリレシーバが使用可能であるかどうかにかかわらず、合計注文量(アイテム+税+割引+出荷)だから、に修正する必要があります。

[amount] => 285.00     //256 + 2 + 27 
[email] => [email protected] 
[phone] => 
[primary] => true 
[invoiceId] => 
[paymentType] => 
[paymentSubType] => 
[accountId] => 

とセカンダリ受信機のこのレシーバオブジェクトは、合計285.00のうち、2.00が二受信機に入金されることを指定します。

[amount] => 2.00      //2.00 will be credited to ABC out of 285.00 
[email] => [email protected] 
[phone] => 
[primary] => false 
[invoiceId] => 
[paymentType] => 
[paymentSubType] => 
[accountId] => 

は、これらを修正して、私を聞かせてくださいあなたはまだ量の不一致の問題に直面している場合は知っています。

関連する問題