Ich kenn mich mit Code und Syntax nicht wirklich aus.
Fehlt oben das ">" vor item_name ?
oder ändert die zusätzliche eckige Klammer was ..."cart_info":{"item_details":[{"item_code":"37","item_name":....
Hier nochmal die von Paypal abgerufenen Werte:
{"transaction_details":[{"transaction_info":{"paypal_account_id":"D8GEFxxxx38","transaction_id":"43W9504xxxxxx4","transaction_event_code":"T0006",
"transaction_initiation_date":"2023-01-08T19:00:37+0000","transaction_updated_date":"2023-01-08T19:00:37+0000","transaction_amount":{"currency_code":"EUR","value":"83.63"},"fee_amount":{"currency_code":"EUR","value":"-2.43"},"shipping_amount":{"currency_code":"EUR","value":"7.00"},"transaction_status":"S","ending_balance":{"currency_code":"EUR","value":"1796.52"},"available_balance":{"currency_code":"EUR","value":"1796.52"},"custom_field":"Cart ID: 986.Shop name: RATTANbox","protection_eligibility":"01"},"payer_info":{"account_id":"D8xxxxxx38","email_address":"xxxxxxxx@gmx.de","address_status":"Y","payer_status":"Y","payer_name":{"given_name":"Joxxxx","surname":"Jxxxxx","alternate_full_name":"Jxxxxxxxxxxx"},"country_code":"DE"},"shipping_info":{"name":"Jxxxxxxxx","address":{"line1":"Johannxxxxxx","city":"Kxxxxxxxx","country_code":"DE","postal_code":"xxxxxx"}},"cart_info":{"item_details":[{"item_code":"37","item_name":"Regalkorb Rattan auf Mass geflochten - Farbe : Sand- Griffe : 2 Grifflöcher B Seite Ref: LIF14-xxx","item_quantity":"1","item_unit_price":{"currency_code":"EUR","value":"64.40"},"item_amount":{"currency_code":"EUR","value":"64.40"},"tax_amounts":[{"tax_amount":{"currency_code":"EUR","value":"12.23"}}],"total_item_amount":{"currency_code":"EUR","value":"76.63"}}]},"store_info":{},"auction_info":{},"incentive_info":{}},
.....Nach dem letzten Eintrag noch ]