Comment to 'When trying to "subscribe" to a paid plan with PayPal API - "Cannot perform the action. Please report."'
  • Hello titanium !

    You need to provide us the latest lines from the log/sys_payment.log file.

    • With Paypal (Non-API) it works with Shopping Cart.
      Stripe does not.
      Paypal API version produces this error

      Fatal error: Uncaught PayPalHttp\HttpException: {"error":"invalid_client","error_description":"Client Authentication failed"} in /home/XXXcom/public_html/plugins/paypal/paypal/paypalhttp/lib/PayPalHttp/HttpClient.php:215 Stack trace: #0 /home/XXXcom/public_html/plugins/paypal/paypal/paypalhttp/lib/PayPalHttp/HttpClient.php(100): PayPalHttp\HttpClient->parseResponse(Object(PayPalHttp\Curl)) #1 /home/XXXcom/public_html/plugins/paypal/paypal/paypal-checkout-sdk/lib/PayPalCheckoutSdk/Core/AuthorizationInjector.php(37): PayPalHttp\HttpClient->execute(Object(PayPalCheckoutSdk\Core\AccessTokenRequest)) #2 /home/XXXcom/public_html/plugins/paypal/paypal/paypal-checkout-sdk/lib/PayPalCheckoutSdk/Core/AuthorizationInjector.php(29): PayPalCheckoutSdk\Core\AuthorizationInjector->fetchAccessToken() #3 /home/XXXcom/public_html/plugins/paypal/paypal/paypalhttp/lib/PayPalHttp/HttpClient.php(64): PayPalCheckoutSdk\Core\AuthorizationInjector->inject(Object(PayPalCheckoutSdk\Orders\OrdersCreateRequest)) #4 /home/flastcom/public_htm in /home/XXXcom/public_html/plugins/paypal/paypal/paypalhttp/lib/PayPalHttp/HttpClient.php on line 215

      • Hello cr0atz !

        Well, the error like this one:

        Fatal error: Uncaught PayPalHttp\HttpException: {"error":"invalid_client","error_description":"Client Authentication failed"}

        looks like the called by the wrong access parameters like Client ID/Secret. Try to check it again.

        • I have tried that still get the same error "Cannot perform the action. Please report.".   I have checked with paypal they confirm I have the right public and private keys so they say its a developer problem.