Paypal Adaptive Payments error: 550001 - You do not have permission to limit funding sources

I get this error when using the Live API credentials for Adaptive Payment.

reading through intrwebs and the documentation it has to do something with account permissions, but to be honest, I don't know which one. receivers, api or application owners

I created an APP, got the key and it has the status "Approved Automatically"

The request I use is a “basic concurrent payment” (from one recipient to another, or rather, from buyer to seller).

The account providing the API key is a verified business account, and the same account has been created under it.

An account configured to receive money is also verified by a business account (linked bank account).

Below is the payment request I am sending

<PayRequest xmlns="http://svcs.paypal.com/types/ap"> <requestEnvelope xmlns=""> <detailLevel>ReturnAll</detailLevel> <errorLanguage>en_US</errorLanguage></requestEnvelope> <actionType xmlns="">CREATE</actionType> <cancelUrl xmlns="">[redacted]</cancelUrl> <clientDetails xmlns=""><applicationId xmlns="">[redacted]</applicationId> <customerId xmlns="">[redacted]</customerId> <customerType xmlns="">buyer</customerType> <ipAddress xmlns="">XXX.xxx.xxx.xxx</ipAddress> <partnerName xmlns="">[redacted]</partnerName></clientDetails> <currencyCode xmlns="">AUD</currencyCode> <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="">[redacted]</ipnNotificationUrl> <receiverList xmlns=""><receiver xmlns=""><amount xmlns="">2.00</amount> <email xmlns=""> recivers@pyapal.verifedaccount.com </email> <paymentType xmlns="">GOODS</paymentType></receiver></receiverList> <sender><useCredentials xmlns=""></useCredentials></sender> <account xmlns=""><phone xmlns=""></phone></account> <returnUrl xmlns="">[redacted]</PayRequest> 

Edit : It’s worth noting, maybe this is the URL that I am testing in real time for its intermediate URL (and not for production).

+3
source share
1 answer

fixed.

The financing contract caused permission errors.

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

from doco, p. 11 (highlighted highlight to highlight)

https://www.x.com/sites/default/files/2102_pp_adaptivepayments.pdf

financeConstraint New field: ap: FundingConstraint Specifies a list of allowed types of financing for payment. This list can be in any order. If this field is omitted, the payment may be financed from any type of financing supported by Adaptive Payments . NOTE. This feature is available for applications with a special permission level.

I got the impression that this was required by default (to make a simple payment), so I used it, but it turns out that it works fine without it (so this is an optional option). A bit strange, as I thought it should be in a different way (special permission for any type, no restrictions for certain types)

It is also worth noting that when you create the application, do not be deceived by the approval status ot by the checkboxes in the "Confirm the sources of funding that you support" section. They (ECHECK, CREDIT CARD, BALANCE) were checked by default, but it seems that no matter what you need the special permission specified during the creation of APP, it will simply list the items marked with the checkbox “Change default payment sources will require additional viewing time and specific PayPal approval. "

In other words, the application was not subject to the conditional approval that this note offers.

+5
source

Source: https://habr.com/ru/post/946441/


All Articles