PayPal \ Exception \ PayPalConnectionException (400)

Issue #52 new
Former user created an issue

PayPal \ Exception \ PayPalConnectionException (400) Got Http response code 400 when accessing https://api.paypal.com/v1/payments/payment.

/www /htdocs /xxxxxxx /xxxxxxx /packages /bitter_shop_system /vendor /paypal /rest-api-sdk-php /lib /PayPal /Core /PayPalHttpConnection.php

Line 207: //More Exceptions based on HttpStatus Code if ($httpStatus < 200 || $httpStatus >= 300) { $ex = new PayPalConnectionException( $this->httpConfig->getUrl(), "Got Http response code $httpStatus when accessing {$this->httpConfig->getUrl()}.", $httpStatus );

Comments (4)

  1. Jakob Lämmle

    The Issue above depends on me, by mistake I poste it as guest.
    The add-on run on Concrete5 8.5.1

    This error occurs after check out if I hit the button Pay Now.

    I tried it with PayPal in Sandbox mode and also in Live mode.

    If you need any further details write me please a pn.

    Thank You !

  2. Fabian Bitter repo owner

    Hello Jakob,

    ich gehe mal davon aus das Sie deutsch sprechen?

    Bitte überprüfen Sie das die Credentials von PayPal korrekt sind und das die Produktdaten vollständig gepflegt sind. Einer der meisten Fehler ist eine fehlende SKU-Nummer.

    Der Fehler 400 ist nichts-sagend. Die genauen Fehlerdetails werden in den Logs gespeichert.

  3. Jakob Lämmle

    Hallo Fabian, es war die fehlende SKU-Nummer.

    Evtl. mit in die Dokumentation schreiben.

    Danke 🙂

  4. Log in to comment