• Resolved waschhalle

    (@waschhalle)


    Hi,

    I am facing a problem with the paypal plus payment. The logfile says something about the “Country Code”. Actually I am not asking my customer for that.

    I am looking forward to your suggestions.

    Regards
    Georg

    `[09-12-2017 05:29:12] Inpsyde\Lib\PayPal\Core\PayPalHttpConnection : INFO: POST https://api.sandbox.paypal.com/v1/oauth2/token
    [09-12-2017 05:29:13] Inpsyde\Lib\PayPal\Core\PayPalHttpConnection : DEBUG: Request Headers : POST /v1/oauth2/token HTTP/1.1, Host: api.sandbox.paypal.com, User-Agent: PayPalSDK/PayPal-PHP-SDK 1.11.0 (platform-ver=5.6.31; bit=64; os=Linux_3.16.0-4-amd64; machine=x86_64; crypto-lib-ver=1.0.1t; curl=7.38.0), Authorization: Basic QWZyQkJzX0M0NlVMSnlobDFyaEtVSTJYQmdOaTNGUXp2U3FQR2tQaDBTbkVheG95OUo0WlpnbTh5bmxUM3BDaTJXby02WlF2dHUwSnRyOXE6RU9takZNYmZDUUhGLTgyVEZqaE1zMWhFOVA2cnVGQkRBMEhubUF2V1R5STNpMDdEcVhQbjNoUzRSckY0VkJlU0tOV3RMQUNnOFBkTWt2aTQ=, Accept: */*, PayPal-Partner-Attribution-Id: WooCommerce_Cart_Plus, Content-Length: 29, Content-Type: application/x-www-form-urlencoded, ,
    [09-12-2017 05:29:13] Inpsyde\Lib\PayPal\Core\PayPalHttpConnection : DEBUG: Request Data : grant_type=client_credentials
    ——————————————————————————————————————————–

    [09-12-2017 05:29:13] Inpsyde\Lib\PayPal\Core\PayPalHttpConnection : INFO: Response Status : 200
    [09-12-2017 05:29:13] Inpsyde\Lib\PayPal\Core\PayPalHttpConnection : DEBUG: Response Headers : HTTP/1.1 200 OK, Date: Sat, 09 Dec 2017 17:29:13 GMT, Server: Apache, paypal-debug-id: 10b6aa153ced, X-PAYPAL-TOKEN-SERVICE: IAAS, HTTP_X_PP_AZ_LOCATOR: sandbox.slc, Paypal-Debug-Id: 10b6aa153ced, Set-Cookie: X-PP-SILOVER=name%3DSANDBOX3.API.1%26silo_version%3D1880%26app%3Dapiplatformproxyserv%26TIME%3D1763519578%26HTTP_X_PP_AZ_LOCATOR%3Dsandbox.slc; Expires=Sat, 09 Dec 2017 17:59:13 GMT; domain=.paypal.com; path=/; Secure; HttpOnly, Set-Cookie: X-PP-SILOVER=; Expires=Thu, 01 Jan 1970 00:00:01 GMT, Vary: Authorization, Content-Length: 550, Connection: close, Content-Type: application/json, ,
    [09-12-2017 05:29:13] Inpsyde\Lib\PayPal\Core\PayPalHttpConnection : DEBUG: Response Data : {“scope”:”https://uri.paypal.com/services/subscriptions https://api.paypal.com/v1/payments/.* https://api.paypal.com/v1/vault/credit-card https://uri.paypal.com/services/applications/webhooks openid https://uri.paypal.com/payments/payouts https://api.paypal.com/v1/vault/credit-card/.*”,”nonce”:”2017-12-09T17:29:13Z3zgq8-QI23ocuQStzKPj8QFL4ERzN7FEN1yQUI1o6PA”,”access_token”:”A21AAFSJja-pb1Ky7Lmu44lf2L21LpOyQRVFoItrrjq7vY5lL8JepEEWXa6NE3cJXRr4bvVPfSfc-3TTG8r8fFS5M-ve-Ya_g”,”token_type”:”Bearer”,”app_id”:”APP-80W284485P519543T”,”expires_in”:32400}

    ================================================================================================================================

    [09-12-2017 05:29:13] Inpsyde\Lib\PayPal\Core\PayPalHttpConnection : INFO: POST https://api.sandbox.paypal.com/v1/payments/payment
    [09-12-2017 05:29:14] Inpsyde\Lib\PayPal\Core\PayPalHttpConnection : DEBUG: Request Headers : POST /v1/payments/payment HTTP/1.1, Host: api.sandbox.paypal.com, Accept: */*, Content-Type: application/json, User-Agent: PayPalSDK/PayPal-PHP-SDK 1.11.0 (platform-ver=5.6.31; bit=64; os=Linux_3.16.0-4-amd64; machine=x86_64; crypto-lib-ver=1.0.1t; curl=7.38.0), Authorization: Bearer A21AAFSJja-pb1Ky7Lmu44lf2L21LpOyQRVFoItrrjq7vY5lL8JepEEWXa6NE3cJXRr4bvVPfSfc-3TTG8r8fFS5M-ve-Ya_g, PayPal-Request-Id: https://www.waschhalle-tuttlingen.de5a2c1d68a40a7, PayPal-Partner-Attribution-Id: WooCommerce_Cart_Plus, Content-Length: 614, ,
    [09-12-2017 05:29:14] Inpsyde\Lib\PayPal\Core\PayPalHttpConnection : DEBUG: Request Data : {“intent”:”sale”,”experience_profile_id”:”XP-GMV2-GZZK-YTF6-DDBS”,”payer”:{“payment_method”:”paypal”},”redirect_urls”:{“return_url”:”https://www.waschhalle-tuttlingen.de/wc-api/paypal_plus/”,”cancel_url”:”https://www.waschhalle-tuttlingen.de/warenkorb/”},”transactions”:[{“amount”:{“currency”:”EUR”,”total”:”50.00″,”details”:{“shipping”:”0″,”subtotal”:”50.00″}},”item_list”:{“items”:[{“name”:”50 \u20ac Kartenladung x 1″,”currency”:”EUR”,”quantity”:1,”price”:”50.00″}]},”description”:”Payment description”,”invoice_number”:”5a2c1d68aa352″,”notify_url”:”https://www.waschhalle-tuttlingen.de/wc-api/paypal_plus_ipn/”}]}
    ——————————————————————————————————————————–

    [09-12-2017 05:29:14] Inpsyde\Lib\PayPal\Core\PayPalHttpConnection : INFO: Response Status : 201
    [09-12-2017 05:29:14] Inpsyde\Lib\PayPal\Core\PayPalHttpConnection : DEBUG: Response Headers : HTTP/1.1 201 Created, Date: Sat, 09 Dec 2017 17:29:14 GMT, Server: Apache, paypal-debug-id: e74ed14753608, Content-Language: *, HTTP_X_PP_AZ_LOCATOR: sandbox.slc, Paypal-Debug-Id: e74ed14753608, Set-Cookie: X-PP-SILOVER=name%3DSANDBOX3.API.1%26silo_version%3D1880%26app%3Dapiplatformproxyserv%26TIME%3D1780296794%26HTTP_X_PP_AZ_LOCATOR%3Dsandbox.slc; Expires=Sat, 09 Dec 2017 17:59:14 GMT; domain=.paypal.com; path=/; Secure; HttpOnly, Set-Cookie: X-PP-SILOVER=; Expires=Thu, 01 Jan 1970 00:00:01 GMT, Vary: Authorization, Content-Length: 984, Connection: close, Content-Type: application/json, ,
    [09-12-2017 05:29:14] Inpsyde\Lib\PayPal\Core\PayPalHttpConnection : DEBUG: Response Data : {“id”:”PAY-6ML55875SU286310CLIWB22Q”,”intent”:”sale”,”state”:”created”,”payer”:{“payment_method”:”paypal”},”transactions”:[{“amount”:{“total”:”50.00″,”currency”:”EUR”,”details”:{“subtotal”:”50.00″,”shipping”:”0.00″}},”description”:”Payment description”,”invoice_number”:”5a2c1d68aa352″,”item_list”:{“items”:[{“name”:”50 € Kartenladung x 1″,”price”:”50.00″,”currency”:”EUR”,”quantity”:1}]},”related_resources”:[],”notify_url”:”https://www.waschhalle-tuttlingen.de/wc-api/paypal_plus_ipn/”}],”experience_profile_id”:”XP-GMV2-GZZK-YTF6-DDBS”,”create_time”:”2017-12-09T17:29:14Z”,”links”:[{“href”:”https://api.sandbox.paypal.com/v1/payments/payment/PAY-6ML55875SU286310CLIWB22Q”,”rel”:”self”,”method”:”GET”},{“href”:”https://www.sandbox.paypal.com/cgi-bin/webscr?cmd=_express-checkout&token=EC-1PW938547Y204003W”,”rel”:”approval_url”,”method”:”REDIRECT”},{“href”:”https://api.sandbox.paypal.com/v1/payments/payment/PAY-6ML55875SU286310CLIWB22Q/execute”,”rel”:”execute”,”method”:”POST”}]}

    ================================================================================================================================

    [09-12-2017 05:29:32] Inpsyde\Lib\PayPal\Core\PayPalHttpConnection : INFO: GET https://api.sandbox.paypal.com/v1/payments/payment/PAY-6ML55875SU286310CLIWB22Q
    [09-12-2017 05:29:34] Inpsyde\Lib\PayPal\Core\PayPalHttpConnection : DEBUG: Request Headers : GET /v1/payments/payment/PAY-6ML55875SU286310CLIWB22Q HTTP/1.1, Host: api.sandbox.paypal.com, Accept: */*, Content-Type: application/json, User-Agent: PayPalSDK/PayPal-PHP-SDK 1.11.0 (platform-ver=5.6.31; bit=64; os=Linux_3.16.0-4-amd64; machine=x86_64; crypto-lib-ver=1.0.1t; curl=7.38.0), Authorization: Bearer A21AAFSJja-pb1Ky7Lmu44lf2L21LpOyQRVFoItrrjq7vY5lL8JepEEWXa6NE3cJXRr4bvVPfSfc-3TTG8r8fFS5M-ve-Ya_g, PayPal-Partner-Attribution-Id: WooCommerce_Cart_Plus, ,
    [09-12-2017 05:29:34] Inpsyde\Lib\PayPal\Core\PayPalHttpConnection : DEBUG: No Request Payload
    ——————————————————————————————————————————–

    [09-12-2017 05:29:34] Inpsyde\Lib\PayPal\Core\PayPalHttpConnection : INFO: Response Status : 200
    [09-12-2017 05:29:34] Inpsyde\Lib\PayPal\Core\PayPalHttpConnection : DEBUG: Response Headers : HTTP/1.1 200 OK, Date: Sat, 09 Dec 2017 17:29:33 GMT, Server: Apache, paypal-debug-id: 4dfae2a5845bd, Content-Language: *, HTTP_X_PP_AZ_LOCATOR: sandbox.slc, Paypal-Debug-Id: 4dfae2a5845bd, Set-Cookie: X-PP-SILOVER=name%3DSANDBOX3.API.1%26silo_version%3D1880%26app%3Dapiplatformproxyserv%26TIME%3D2099063898%26HTTP_X_PP_AZ_LOCATOR%3Dsandbox.slc; Expires=Sat, 09 Dec 2017 17:59:33 GMT; domain=.paypal.com; path=/; Secure; HttpOnly, Set-Cookie: X-PP-SILOVER=; Expires=Thu, 01 Jan 1970 00:00:01 GMT, Vary: Authorization, Content-Length: 1240, Connection: close, Content-Type: application/json, ,
    [09-12-2017 05:29:34] Inpsyde\Lib\PayPal\Core\PayPalHttpConnection : DEBUG: Response Data : {“id”:”PAY-6ML55875SU286310CLIWB22Q”,”intent”:”sale”,”state”:”created”,”cart”:”1PW938547Y204003W”,”transactions”:[{“amount”:{“total”:”50.00″,”currency”:”EUR”,”details”:{“subtotal”:”50.00″,”shipping”:”0.00″}},”payee”:{“merchant_id”:”DAHVM394X4Z82″,”email”:”[email protected]”},”description”:”Payment description”,”invoice_number”:”5a2c1d68aa352″,”item_list”:{“items”:[{“name”:”50 € Kartenladung x 1″,”price”:”50.00″,”currency”:”EUR”,”quantity”:1}]},”related_resources”:[],”notify_url”:”https://www.waschhalle-tuttlingen.de/wc-api/paypal_plus_ipn/”}],”redirect_urls”:{“return_url”:”https://www.waschhalle-tuttlingen.de/wc-api/paypal_plus/?paymentId=PAY-6ML55875SU286310CLIWB22Q”,”cancel_url”:”https://www.waschhalle-tuttlingen.de/warenkorb/”},”create_time”:”2017-12-09T17:29:14Z”,”update_time”:”2017-12-09T17:29:33Z”,”links”:[{“href”:”https://api.sandbox.paypal.com/v1/payments/payment/PAY-6ML55875SU286310CLIWB22Q”,”rel”:”self”,”method”:”GET”},{“href”:”https://api.sandbox.paypal.com/v1/payments/payment/PAY-6ML55875SU286310CLIWB22Q/execute”,”rel”:”execute”,”method”:”POST”},{“href”:”https://www.sandbox.paypal.com/cgi-bin/webscr?cmd=_express-checkout&token=EC-1PW938547Y204003W”,”rel”:”approval_url”,”method”:”REDIRECT”}]}

    ================================================================================================================================

    [09-12-2017 05:29:34] Inpsyde\Lib\PayPal\Core\PayPalHttpConnection : INFO: PATCH https://api.sandbox.paypal.com/v1/payments/payment/PAY-6ML55875SU286310CLIWB22Q
    [09-12-2017 05:29:34] Inpsyde\Lib\PayPal\Core\PayPalHttpConnection : DEBUG: Request Headers : PATCH /v1/payments/payment/PAY-6ML55875SU286310CLIWB22Q HTTP/1.1, Host: api.sandbox.paypal.com, Accept: */*, Content-Type: application/json, User-Agent: PayPalSDK/PayPal-PHP-SDK 1.11.0 (platform-ver=5.6.31; bit=64; os=Linux_3.16.0-4-amd64; machine=x86_64; crypto-lib-ver=1.0.1t; curl=7.38.0), Authorization: Bearer A21AAFSJja-pb1Ky7Lmu44lf2L21LpOyQRVFoItrrjq7vY5lL8JepEEWXa6NE3cJXRr4bvVPfSfc-3TTG8r8fFS5M-ve-Ya_g, PayPal-Partner-Attribution-Id: WooCommerce_Cart_Plus, Content-Length: 516, ,
    [09-12-2017 05:29:34] Inpsyde\Lib\PayPal\Core\PayPalHttpConnection : DEBUG: Request Data : [{“op”:”replace”,”path”:”/transactions/0/amount”,”value”:{“total”:”50.00″,”currency”:”EUR”,”details”:{“subtotal”:”50.00″,”shipping”:0}}},{“op”:”add”,”path”:”/transactions/0/custom”,”value”:”{\”order_id\”:612,\”order_key\”:\”wc_order_5a2c1d727d3fe\”}”},{“op”:”add”,”path”:”/transactions/0/invoice_number”,”value”:”WC-PPP-WASCHHALLE-612″},{“op”:”add”,”path”:”/transactions/0/item_list/shipping_address”,”value”:{“recipient_name”:”Georg “,”line1″:””,”line2″:””,”city”:””,”state”:””,”postal_code”:””,”country_code”:””}}]
    ——————————————————————————————————————————–

    [09-12-2017 05:29:34] Inpsyde\Lib\PayPal\Core\PayPalHttpConnection : INFO: Response Status : 400
    [09-12-2017 05:29:34] Inpsyde\Lib\PayPal\Core\PayPalHttpConnection : DEBUG: Response Headers : HTTP/1.1 400 Bad Request, Date: Sat, 09 Dec 2017 17:29:34 GMT, Server: Apache, paypal-debug-id: 3a285e95a7427, Content-Language: *, Connection: close, HTTP_X_PP_AZ_LOCATOR: sandbox.slc, Paypal-Debug-Id: 3a285e95a7427, Set-Cookie: X-PP-SILOVER=name%3DSANDBOX3.API.1%26silo_version%3D1880%26app%3Dapiplatformproxyserv%26TIME%3D2115841114%26HTTP_X_PP_AZ_LOCATOR%3Dsandbox.slc; Expires=Sat, 09 Dec 2017 17:59:34 GMT; domain=.paypal.com; path=/; Secure; HttpOnly, Set-Cookie: X-PP-SILOVER=; Expires=Thu, 01 Jan 1970 00:00:01 GMT, Vary: Authorization, Content-Length: 425, Content-Type: application/json, ,
    [09-12-2017 05:29:34] Inpsyde\Lib\PayPal\Core\PayPalHttpConnection : ERROR: Got Http response code 400 when accessing https://api.sandbox.paypal.com/v1/payments/payment/PAY-6ML55875SU286310CLIWB22Q. {“name”:”VALIDATION_ERROR”,”details”:[{“field”:”purchase_units[0].item_list.shipping_address.country_code”,”issue”:”Country code must be 2-character ISO 3166-1 value (upper case)”},{“field”:”purchase_units[0].item_list.shipping_address.country_code”,”issue”:”Must not be blank”}],”message”:”Invalid request – see details”,”information_link”:”https://developer.paypal.com/docs/api/payments/#errors”,”debug_id”:”3a285e95a7427″}
    [09-12-2017 05:29:34] Inpsyde\Lib\PayPal\Core\PayPalHttpConnection : DEBUG:

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Andreas W.

    (@aweissinpsyde)

    Hallo waschhalle,

    k?nntest du bitte folgendes Formular kurz ausfüllen https://inpsyde.com/paypal-plus-fuer-woocommerce-support-formular/ Bitte die Dateianh?nge nicht vergessen.

    Vielen Dank

    Plugin Support Andreas W.

    (@aweissinpsyde)

    TIcket wird im Supportsystem gel?st:

    L?sung

    Hallo,

    ich konnte das Problem l?sen….

    Ich habe den “WooCommerce Checkout Manager” laufen. Das ist soweit kein Problem.

    In dem Moment wo ich jedoch das Feld “Postcode” (Postleitzahl) deaktiviere (disable) bekomme ich den Fehler.

    Belege ich das Feld mit dem “Place Holder” 78532, geht alles ganz normal.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Payment aborted’ is closed to new replies.