1

Paypal アダプティブ ペイメントを使用して支払いをしようとすると、エラーが発生します。私はサンボックスで成功の確認を取得しています。しかし、ライブでは機能しません。グーグルで検索しましたが、適切な答えが見つかりません。以下は私の支払い要求です

<?xml version="1.0" encoding="utf-8"?>
<PayRequest xmlns="http://svcs.paypal.com/types/ap">
<requestEnvelope xmlns=""><detailLevel>ReturnAll</detailLevel>
<errorLanguage>en_US</errorLanguage></requestEnvelope>
<actionType xmlns="">PAY</actionType><cancelUrl xmlns="">cancel url</cancelUrl>
<clientDetails xmlns=""><applicationId xmlns="">APP-2JdfdfdfdfK4691244F</applicationId>
<ipAddress xmlns="">122.166.240.144</ipAddress>
</clientDetails>
<currencyCode xmlns="">GBP</currencyCode>
<feesPayer xmlns="">EACHRECEIVER</feesPayer>
<fundingConstraint xmlns="">
<allowedFundingType xmlns="">
<fundingTypeInfo xmlns="">
<fundingType xmlns="">ECHECK</fundingType>
</fundingTypeInfo><fundingTypeInfo xmlns="">
<fundingType xmlns="">BALANCE</fundingType></fundingTypeInfo>
<fundingTypeInfo xmlns="">
    <fundingType xmlns="">CREDITCARD</fundingType>
</fundingTypeInfo>
</allowedFundingType>
</fundingConstraint>
<ipnNotificationUrl xmlns="">notification url</ipnNotificationUrl>
<memo xmlns="">test</memo><preapprovalKey xmlns="">PA-35656565E907913S</preapprovalKey>
<receiverList xmlns=""><receiver xmlns=""><amount xmlns="">100</amount>
    <email xmlns="">anooj08@gmail.com</email>
    <invoiceId xmlns="">123456789</invoiceId>
    <paymentType xmlns="">SERVICE</paymentType>
</receiver>
</receiverList>
<sender><useCredentials xmlns="">false</useCredentials></sender>
<account xmlns="">
    <phone xmlns=""></phone>
</account>
<returnUrl xmlns="">redirect url</returnUrl><reverseAllParallelPaymentsOnError xmlns="">TRUE</reverseAllParallelPaymentsOnError>
</PayRequest>

そして、私はこの応答を得ています

Array
(
    [Errors] => Array
        (
            [0] => Array
                (
                    [Receiver] => 
                    [Category] => Application
                    [Domain] => PLATFORM
                    [ErrorID] => 550001
                    [ExceptionID] => 
                    [Message] => You do not have permission to constrain funding sources
                    [Parameter] => 
                    [Severity] => Error
                    [Subdomain] => Application
                )

        )

    [Ack] => Failure
    [Build] => 6520082
    [CorrelationID] => 57dbec06d371f
    [Timestamp] => 2013-06-28T21:43:10.518-07:00
    [PayKey] => 
    [PaymentExecStatus] => 
    [RedirectURL] => 
    [XMLRequest] => my xml request
    [XMLResponse] =>response
)
4

2 に答える 2

2

資金調達の制約を確認してください:

<fundingConstraint>
<fundingTypeInfo xmlns="">
<fundingType xmlns="">ECHECK</fundingType>
</fundingTypeInfo>
<fundingTypeInfo xmlns="">
<fundingType xmlns="">BALANCE</fundingType>
</fundingTypeInfo>
<fundingTypeInfo xmlns="">
<fundingType xmlns="">CREDITCARD</fundingType>
</fundingTypeInfo>
</fundingConstraint>

ここで対処するように:

fundingConstraint New field: ap:FundingConstraint Specifies a list of allowed
funding     types for the payment. This list can be in any order. If this field is
omitted, the payment can be funded by any funding type that is supported by Adaptive
Payments. NOTE: This feature is available for applications with special permission level. 
于 2013-06-29T06:00:11.877 に答える