Unable to save Paypal sandbox webhook url - paypal

We are configuring Paypal Sandbox webhook and getting an error. We have tested the URL using RestClient and it is hitting our test servers. See attached.
We tried live and it does saves our webhook url.

Related

Are new Paypal API credentials required after server migration?

We've successfully been running a WordPress plugin using PayPal's Classic API integration and a custom listener URL for years.
After recently migrating the site to a new server, all IPNs related to the plugin started failing. No configuration changes have been made to the plugin or Paypal account. Our server manager insists WHM/Apache config is identical. It appears the only difference is the server IP address.
Would I need to create and assign new Paypal NVP/SOAP (Classic) API credentials after moving the website to a new server if the domain and plugin configuration remains the same?
Can I simply/safely "Remove" our existing Classic API integration and create new credentials?
Any other suggestions are greatly appreciated.
Thanks in advance for any help!
You do not need new API credentials.
However you should verify that any IPN notify_url specified in the PayPal account or at transaction time (as part of the checkout setup) is a valid one and responding with an HTTP 200 OK status when PayPal sends an IPN.
Review your IPN history to see if your server is responding with another status now, such as 500 or 404 or simply no connection/response. To PayPal anything other than a 200 OK indicates a failed IPN delivery, and likely must be corrected in your system. Also there are some IPs/domains PayPal cannot connect to for various reasons, which will cause a no response status.

Why does the PayPal API not recognize my client id and secret

The Paypal API doesn't recognize my Client ID and Secret I got from https://developer.paypal.com/developer/applications/
I wanted to include a server side checkout according to this tutorial https://developer.paypal.com/docs/archive/checkout/how-to/server-integration/
When I do the request to https://api-m.paypal.com/v1/payments/payment I always get a 401 Error with the message "Authentication failed due to invalid authentication credentials or a missing Authorization header.".
I checked multiple times if my credentials were correctly included into the request. I also tested the endpoint in my server environment and as well via Postman.
I also tried the route https://api-m.sandbox.paypal.com/v1/oauth2/token to exchange my credentials with an access token and got the same problem.
I also tried to create multiple Sandbox and Live Accounts and always got the same error.
Has anyone an idea what the problem could be?
There are two separate issues here.
You first need to use /v1/oauth2/token to obtain an access token, and then use that access token to call any of the other actual APIs.
The credentials you obtain from PayPal Developer will be for either "Sandbox", or "Live". Make sure you choose the correct tab (sandbox, for development). Sandbox credentials will only work for api-m.sandbox.paypal.com , and Live credentials will only work for api-m.paypal.com . The two environments are completely separate.
If you still have issues, post the SANDBOX client ID and secret you are using, and the full request and response to the api-m.sandbox.paypal.com endpoint. There should be a PayPal-Debug-Id in any error response, in the headers if nowhere else.

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 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?