Remove old call to method

This commit is contained in:
carmenmaymo 2023-06-12 09:17:20 +02:00
parent fa0508d572
commit f6384efdf1
No known key found for this signature in database
GPG key ID: 6023F686B0F3102E

View file

@ -336,7 +336,6 @@ class OrderEndpoint {
$json = json_decode( $response['body'] );
$status_code = (int) wp_remote_retrieve_response_code( $response );
if ( 201 !== $status_code ) {
$json = $this->add_improved_error_message( $json );
$error = new PayPalApiException(
$json,
$status_code