mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-06 13:44:42 +08:00
Remove old call to method
This commit is contained in:
parent
fa0508d572
commit
f6384efdf1
1 changed files with 0 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue