Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

PayPal API error INVALID_PROFILE_ID

I am using the PHP SDK, other API calls, like getting payment information work so the configuration is correct. What I am trying to do is starting from a payment ID to find the billing agreement, check the agreement details and in some cases attempt to update it.

From the documentation I see only the billing agreement ID is the requiered parameter https://developer.paypal.com/docs/api/payments.billing-agreements/v1/#billing-agreements_get so I do not understand what profile is this error mentioning, is the payment/transaction/payer missing some profile or other profile ?

like image 520
simion314 Avatar asked Jul 27 '18 10:07

simion314


People also ask

Why do I keep getting an error message on PayPal?

There are many reasons why a student may encounter an error message while using the PayPal checkout - they could be seeing an error due to insufficient funds, a processing issue or outage on PayPal's side, the student's bank blocking the purchase for security reasons, or a number of other reasons.


1 Answers

That PHP SDK is deprecated and does not support the current version of PayPal Subscriptions, documented here.

There is no supported SDK for it; use a direct HTTPS integration for any server-side API calls.

like image 130
Preston PHX Avatar answered Oct 21 '22 03:10

Preston PHX