Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter twitnic

    (@twitnic)

    Also:

    Bei manchen fnktioniert die Bestellung nicht. Ich habe ja die .js Datei auf unseren Webspace kopiert. Damit den CORS Fehler umgangen. Bei manchen Funktioniert aber jetzt die Weiterleitung zu Paypal nicht.

    Im Log sehe ich auch manchmal Fehler:

    
    [20-06-2018 08:04:25] Inpsyde\Lib\PayPal\Core\PayPalHttpConnection : INFO: GET https://api.paypal.com/v1/payments/payment/PAY-3WR45010D9466154TLMU6W2A
    [20-06-2018 08:04:27] Inpsyde\Lib\PayPal\Core\PayPalHttpConnection : INFO: Response Status 	: 404
    [20-06-2018 08:04:27] Inpsyde\Lib\PayPal\Core\PayPalHttpConnection : ERROR: Got Http response code 404 when accessing https://api.paypal.com/v1/payments/payment/PAY-3WR45010D9466154TLMU6W2A. {"name":"INVALID_RESOURCE_ID","message":"The requested resource ID was not found","information_link":"https://developer.paypal.com/docs/api/payments/#errors","debug_id":"3a8c48d0d6e5b"}
    [20-06-2018 08:04:44] Inpsyde\Lib\PayPal\Core\PayPalHttpConnection : INFO: POST https://api.paypal.com/v1/payments/payment
    [20-06-2018 08:04:45] Inpsyde\Lib\PayPal\Core\PayPalHttpConnection : INFO: Response Status 	: 201
    [20-06-2018 08:05:17] Inpsyde\Lib\PayPal\Core\PayPalHttpConnection : INFO: GET https://api.paypal.com/v1/payments/payment/PAY-3ED82027CV370840SLMVLGXI
    [20-06-2018 08:05:18] Inpsyde\Lib\PayPal\Core\PayPalHttpConnection : INFO: Response Status 	: 200
    [20-06-2018 08:05:18] Inpsyde\Lib\PayPal\Core\PayPalHttpConnection : INFO: PATCH https://api.paypal.com/v1/payments/payment/PAY-3ED82027CV370840SLMVLGXI
    [20-06-2018 08:05:19] Inpsyde\Lib\PayPal\Core\PayPalHttpConnection : INFO: Response Status 	: 200
    [20-06-2018 08:13:55] Inpsyde\Lib\PayPal\Core\PayPalHttpConnection : INFO: GET https://api.paypal.com/v1/payments/payment/PAY-3ED82027CV370840SLMVLGXI
    [20-06-2018 08:13:56] Inpsyde\Lib\PayPal\Core\PayPalHttpConnection : INFO: Response Status 	: 200
    [20-06-2018 08:13:56] Inpsyde\Lib\PayPal\Core\PayPalHttpConnection : INFO: PATCH https://api.paypal.com/v1/payments/payment/PAY-3ED82027CV370840SLMVLGXI
    [20-06-2018 08:13:57] Inpsyde\Lib\PayPal\Core\PayPalHttpConnection : INFO: Response Status 	: 200
    [20-06-2018 08:18:33] Inpsyde\Lib\PayPal\Core\PayPalHttpConnection : INFO: GET https://api.paypal.com/v1/payments/payment/PAY-07L68524RB5901400LMUXMYA
    [20-06-2018 08:18:33] Inpsyde\Lib\PayPal\Core\PayPalHttpConnection : INFO: Response Status 	: 404
    [20-06-2018 08:18:33] Inpsyde\Lib\PayPal\Core\PayPalHttpConnection : ERROR: Got Http response code 404 when accessing https://api.paypal.com/v1/payments/payment/PAY-07L68524RB5901400LMUXMYA. {"name":"INVALID_RESOURCE_ID","message":"The requested resource ID was not found","information_link":"https://developer.paypal.com/docs/api/payments/#errors","debug_id":"2cbc9153aad32"}
    [20-06-2018 08:18:52] Inpsyde\Lib\PayPal\Core\PayPalHttpConnection : INFO: POST https://api.paypal.com/v1/payments/payment
    [20-06-2018 08:18:53] Inpsyde\Lib\PayPal\Core\PayPalHttpConnection : INFO: Response Status 	: 201
    [20-06-2018 08:19:43] Inpsyde\Lib\PayPal\Core\PayPalHttpConnection : INFO: GET https://api.paypal.com/v1/payments/payment/PAY-3ED82027CV370840SLMVLGXI
    [20-06-2018 08:19:44] Inpsyde\Lib\PayPal\Core\PayPalHttpConnection : INFO: Response Status 	: 200
    [20-06-2018 08:19:44] Inpsyde\Lib\PayPal\Core\PayPalHttpConnection : INFO: PATCH https://api.paypal.com/v1/payments/payment/PAY-3ED82027CV370840SLMVLGXI
    [20-06-2018 08:19:45] Inpsyde\Lib\PayPal\Core\PayPalHttpConnection : INFO: Response Status 	: 200
    [20-06-2018 08:19:46] Inpsyde\Lib\PayPal\Core\PayPalHttpConnection : INFO: GET https://api.paypal.com/v1/payments/payment/PAY-2K37521490523670JLMVLNLA
    [20-06-2018 08:19:47] Inpsyde\Lib\PayPal\Core\PayPalHttpConnection : INFO: Response Status 	: 200
    [20-06-2018 08:19:47] Inpsyde\Lib\PayPal\Core\PayPalHttpConnection : INFO: PATCH https://api.paypal.com/v1/payments/payment/PAY-2K37521490523670JLMVLNLA
    [20-06-2018 08:19:48] Inpsyde\Lib\PayPal\Core\PayPalHttpConnection : INFO: Response Status 	: 200
    [20-06-2018 09:21:05] Inpsyde\Lib\PayPal\Core\PayPalHttpConnection : INFO: GET https://api.paypal.com/v1/payments/payment/PAY-3ED82027CV370840SLMVLGXI
    [20-06-2018 09:21:06] Inpsyde\Lib\PayPal\Core\PayPalHttpConnection : INFO: Response Status 	: 200
    [20-06-2018 09:21:06] Inpsyde\Lib\PayPal\Core\PayPalHttpConnection : INFO: PATCH https://api.paypal.com/v1/payments/payment/PAY-3ED82027CV370840SLMVLGXI
    [20-06-2018 09:21:07] Inpsyde\Lib\PayPal\Core\PayPalHttpConnection : INFO: Response Status 	: 200
    
    Thread Starter twitnic

    (@twitnic)

    Getestet im Safari, Chrome und Firefox. CORS Fehler sind ja aber eigentlich Browser-unabh?ngig.
    Da ich die Datei die er nicht aufrufen konnte, jetzt lokal habe, ging’s erstmal mit dem bestellen. Viele haben trotzdem noch Fehler, sodass ich nicht sagen kann, dass der Workaround 100% das Problem gel?st hat.

    Muss man seine Domain irgendwo noch wo hinterlegen? Dass der CORS Fehler nicht kommt?

    Thread Starter twitnic

    (@twitnic)

    Habe die JS jetzt in unseren Webspace kopiert und in der Datei htdocs/wp-content/plugins/woo-paypalplus/src/Frontend.php:53 angepasst. Jetzt scheint es zu passen. Aber wieso kommt der CORS Error?

Viewing 3 replies - 1 through 3 (of 3 total)