これが支払いオプションを設定するための私のリクエストオブジェクトです。
SetPaymentOptionsRequest Object
(
[requestEnvelope] => RequestEnvelope Object
(
[detailLevel] =>
[errorLanguage] => en_US
)
[payKey] => AP-0MG8529097707340X
[initiatingEntity] =>
[displayOptions] =>
[shippingAddressId] =>
[senderOptions] =>
[receiverOptions] => Array
(
[0] => ReceiverOptions Object
(
[description] =>
[customId] =>
[invoiceData] => InvoiceData Object
(
[item] => Array
(
[0] => InvoiceItem Object
(
[name] => my Item
[identifier] => 1
[price] => 138
[itemPrice] => 69
[itemCount] => 2
)
)
[totalTax] =>
[totalShipping] =>
)
[receiver] => ReceiverIdentifier Object
(
[email] => test@test.com
[phone] =>
)
[referrerCode] =>
)
)
)
SDKの例に従いましたが、このエラー応答が表示されます
SetPaymentOptionsResponse Object
(
[responseEnvelope] => ResponseEnvelope Object
(
[timestamp] => 2013-02-16T05:38:38.298-08:00
[ack] => Failure
[correlationId] => f17a8e24e1375
[build] => 4992011
)
[error] => Array
(
[0] => ErrorData Object
(
[errorId] => 580022
[domain] => PLATFORM
[subdomain] => Application
[severity] => Error
[category] => Application
[message] => Invalid request parameter: receiverOption.receiver(0).email
[exceptionId] =>
[parameter] => Array
(
[0] => ErrorParameter Object
(
[name] =>
[value] => receiverOption.receiver(0).email
)
[1] => ErrorParameter Object
(
[name] =>
[value] => test@test.com
)
)
)
)
)
メールを設定しないと、エラーはInvalid request parameter: receiver cannot be null
「編集」になります。こことここにいくつかの参照があります。多分あなたは私が見なかった何かを見ます。