PayPal Refund failed - paypal

Please, could you help with the following:
doing the refund from API i'm getting error
Refund failed: Error: The remote server returned an error: (401)
Unauthorized.(22149)
The refund requested for partial amount
I checked token is valid \ transaction data sending is correct \ API setting per sandbox \ currency - all looks ok
Thanks

Resolution that works for us: the autorizations were created using Website Payments Standard form approach and the capture \ refund were executed using REST API. The refund issue was sorted by swithching to the single recommended approach - REST API integration.

Related

PayFlow integration using transparent redirect. Invalid Merchant or Merchant doesn't exist

I have a similar question like PayPal PayFlow Pro with Transparent Redirect - User Authentication Failed Issues / Documentation
Problem occurs on step 5
Secure token request for the transparent redirect (https://pilot-payflowpro.paypal.com)
PARTNER=PayPal
&VENDOR=myAuthUserName
&USER=myAuthUserName
&PWD=myPassword
&CREATESECURETOKEN=Y
&SECURETOKENID=f6153d8b0c6c42c789e61daa7daa55b1
&SILENTTRAN=TRUE
&TRXTYPE=A
&CURRENCY=USD
&AMT=20
&RETURNURL=myReturnURL
&CANCELURL=myCancelURL
&ERRORURL=myErrorURL
Response:
RESULT=0&RESPMSG=Approved&SECURETOKEN=9u5CH4WMKOkey9pVTgSJBwAqG&SECURETOKENID=f6153d8b0c6c42c789e61daa7daa55b1
So it seems like the account authenticates correctly.
Next I send post to https://pilot-payflowlink.paypal.com with params
SECURETOKEN=9u5CH4WMKOkey9pVTgSJBwAqG
&SECURETOKENID=f6153d8b0c6c42c789e61daa7daa55b1
&ACCT=4111111111111111
&EXPDATE=12%2F15
&CSC=123
Response:
Error: Invalid Merchant or Merchant doesn't exist!
What can cause this problem?
PayPal Manager settings are:
Service Summary:
Hosted Checkout Pages Test
Payflow SDK/API (Full Access) Test
Transaction Process Mode: Test
AVS: No
CSC: No
Enable Secure Token: Yes

Paypal api error code 10007 - Permission denied - You don't have permission to make this api call

I have integrated paypal express checkout to my client's website usi paypal api integration. It is working fine with sandbox environment. But I got error when I make it live. The error code 10007 - Permission denied - You don't have permission to make this api call. I am not sure why this is happening. I have configured everything perfect on seller paypal account. I didn't get any solution anywhere to solve this problem. Can anybody help me please?
Basic though sometimes missed :
Have you changed the API credentials pointing to LIVE API credentials ?
The API Endpoint point to LIVE ->https://api-3t.paypal.com/nvp
Still issue persists, raise a ticket to Paypal MTS team.

PayPal NVP API not working in Live environment

I have integrated PayPal to a custom website. Used Express Checkout with NVP API. Embedded the Live credentials in the code and hosted it on a Data Centre. Now, with the Live Credentials, the PayPal API works perfectly in Localhost. However, the same fails in the Live Server. There is no error code that is displayed. All that is shown is
SetExpressCheckout API call failed. Detailed Error Message: Short Error Message: Error Code: Error Severity Code: Array ( )
No Other details.
Anyone with a similar issue? Where PayPal is working fine on Localhost but not on the Live Server even though both the environments are similar and are using PayPal Live Credentials.
What endpoint are you using? Make sure it's a Live API

Paypal Checkout session expired - Codeigniter CI Merchant with Paypal

I've been trying to set up CI Merchant with Codeigniter and Paypal. In sandbox mode after attempting a transaction the following error occurs:
This Express Checkout session has expired. Token value is no longer valid.
I can't seem to find out why this might happen. Anyone got any ideas?

paypal integration error code 10002

I am using paypal directpayment, my account in paypal is already paypal pro. I already requested api username,password and signature and used it in my code but there is an error during execution. Please see below
TIMESTAMP: 2012-06-12T14:33:04Z
CORRELATIONID: 26e967f0870e1
ACK: Failure
VERSION: 87.0
BUILD: 2945183
L_ERRORCODE0: 10002
L_SHORTMESSAGE0: Authentication/Authorization Failed
L_LONGMESSAGE0: You do not have permissions to make this API call
L_SEVERITYCODE0: Error
I am using this settings in live $API_Endpoint = 'https://api-3t.paypal.com/nvp';
Does any one could help me to solve this problem?
This is a common error that you might get if you are using Paypal Express Checkout, or Paypal Website Payments Pro. This means that there is something wrong with your login information that you are using to authenticate the connection with Paypal.