PAYPAL CAPTURE ERROR 500 /v2/checkout/orders/trnsxid/capture ERROR

Job ID: 34994986

Budget: $30 – $250 USD

i checked my api calls log and it shows capture error 500 for the command
/v2/checkout/orders/123456789/capture

123456789 is a transaction ref or id (sample)

so the /v2/checkout/orders/ and capture functions are going to 500 http status which i have researched to mean server error or dont honor
so my code needs updating its something technical it seems

please help
Related categories: PHP Software Architecture PayPal API OSCommerce MySQL