am: 16. September 2020, 15:46:36
Hallo Gemeinde!
Ich bin schon einige Jahre fleißig am mitlesen und konnte meine Probleme durch die Community is jetzt auch immer lösen.
Nun habe ich seit kurzer Zeit ein Problem, womit ich nicht klar komme.
Wenn ein Kunde als Versandart Selbstabholung wählt (Modul selfpickup) und mit papypal bezahlen will, wird er nicht zu Paypal geleitet, sondern landet wieder auf der Seite "Bezahlart wählen" und in rot steht dort: "PayPal Zahlung wurde abgebrochen".
Wenn stattdessen aber Versand gewählt wird (Modul hermes), klappt die Weiterleitung zu Paypal ohne Probleme.
Der Log sagt:
PayPal\Core\PayPalHttpConnection : ERROR: Got Http response code 400 when accessing https://api.paypal.com/v1/payments/payment. {"name":"VALIDATION_ERROR","details":[{"field":"transactions[0].item_list.shipping_address.country_code","issue":"Country code must be 2-character ISO 3166-1 value (upper case)"},{"field":"transactions[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":"56c9d57d92ae"}
PayPal\Core\PayPalHttpConnection : ERROR: Got Http response code 400 when accessing https://api.paypal.com/v1/payments/payment. {"name":"VALIDATION_ERROR","details":[{"field":"transactions[0].item_list.shipping_address.country_code","issue":"Must not be blank"},{"field":"transactions[0].item_list.shipping_address.country_code","issue":"Country code must be 2-character ISO 3166-1 value (upper case)"}],"message":"Invalid request - see details","information_link":"https://developer.paypal.com/docs/api/payments/#errors","debug_id":"96e0223809800"}
Ich habe echt gerade keinen Plan und hoffe, Ihr könnt mir helfen.
Shopversion: v2.0.5.0 rev 12487
paypalmodul: paypalclassic
Gruß
Repus
Linkback: https://www.modified-shop.org/forum/index.php?topic=41333.0