Closed CharlieCoppaHead closed 2 months ago
Apologies if adding to this is the wrong thing but thought I'd continue issue in here?
After the line of code you suggested to try
if ($metadata?->value === null) {
It worked once then doesn't after that. It gives 500 Server Error and spits out this in logs
production.ERROR: HTTP request returned status code 404:
{"name":"RESOURCE_NOT_FOUND","message":"The specified resource does not exist.","debug_id":"f36f626ad1a14","details":[{" (truncated...)
{"userId":1,"exception":"[object] (Illuminate\\Http\\Client\\RequestException(code: 404): HTTP request returned status code 404:
{\"name\":\"RESOURCE_NOT_FOUND\",\"message\":\"The specified resource does not exist.\",\"debug_id\":\"f36f626ad1a14\",\"details\":[{\" (truncated...)
at /home/weeniemo/public_html/vendor/laravel/framework/src/Illuminate/Http/Client/Response.php:272)
Hi, sorry for the wait, can you try replacing the file plugins/shop/src/Payment/Method/PayPalCheckoutMethod.php
with this one https://gist.github.com/MrMicky-FR/feb7899d22d9cff32e2ecac324bb8000 and tell me if it solves the issue?
Thanks for your patience, this issue has been fixed in v1.2.7 of the shop.