Hallo zusammen,
ich habe ein Problem in 2.0.1.0 mit dem PayPal Warenkorb Modul (paypalcart) in der neuesten Version vom 2.12.2016.
Die Zahlung mit folgender Fehlermeldung abgebrochen:
INFO: POST https://api.sandbox.paypal.com/v1/payments/payment
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.10.0 (platform-ver=5.6.29-nmm1; bit=64; os=Linux_3.2.0-119-generic; machine=x86_64; crypto-lib-ver=1.0.1; curl=7.22.0), Authorization: Bearer A101.bnDq2I3EPTI3jOAofDQiiLq7kt80682W7Gyq1PVyJGDTfR3kfRCW3NoNZxBrqUL4.260IrlLnHHNG1fZjQwGZt5vWILu, PayPal-Request-Id: 142695334917823148353874459161, PayPal-Partner-Attribution-Id: ModifiedeCommerce_Cart_REST_EC, Content-Length: 499, ,
DEBUG: Request Data : {"intent":"sale","payer":{"payment_method":"paypal"},"redirect_urls":{"return_url":"http://test2.homebliss.de/callback/paypal/paypalcart.php","cancel_url":"http://test2.homebliss.de/shopping_cart.php?payment_error=paypalcart"},"transactions":[{"amount":{"total":"29.90","currency":"EUR","details":{"subtotal":"29.90"}},"item_list":{"items":[{"name":"Ihre Bestellung bei Homebliss","quantity":1,"price":"29.90"}]},"description":"Homebliss","invoice_number":"586d01385051f"}],"create_time":1483538744}
INFO: Response Status : 400
DEBUG: Response Headers : HTTP/1.1 400 Bad Request, Date: Wed, 04 Jan 2017 14:05:45 GMT, Server: Apache, PROXY_SERVER_INFO: host=slcsbplatformapiserv3002.slc.paypal.com;threadId=1097, Paypal-Debug-Id: dfcdcf9311cba, CORRELATION-ID: dfcdcf9311cba, Content-Language: *, Connection: close, Connection: close, Paypal-Debug-Id: dfcdcf9311cba, Set-Cookie: X-PP-SILOVER=name%3DSANDBOX3.API.1%26silo_version%3D1880%26app%3Dplatformapiserv%26TIME%3D956394840%26HTTP_X_PP_AZ_LOCATOR%3D; Expires=Wed, 04 Jan 2017 14:35:45 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: 693, Content-Type: application/json, ,
ERROR: Got Http response code 400 when accessing https://api.sandbox.paypal.com/v1/payments/payment. {"name":"VALIDATION_ERROR","details":[{"field":"transactions[0].item_list.items[0].currency","issue":"Required field missing"},{"field":"transactions","issue":"Item currency codes should be same as the transaction currency code in all buckets"},{"field":"transactions[0].item_list.items[0].price","issue":"Currency amount must be non-negative number, may optionally contain exactly 2 decimal places separated by '.', optional thousands separator ',', limited to 7 digits before the decimal point and currency which is a valid ISO Currency Code"}],"message":"Invalid request - see details","information_link":"https://developer.paypal.com/docs/api/#VALIDATION_ERROR","debug_id":"dfcdcf9311cba"}
DEBUG:
Grüsse
Anton