mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-05 08:59:14 +08:00
Remove duplicated variable
This commit is contained in:
parent
93ef548b65
commit
dd4b39971f
1 changed files with 0 additions and 1 deletions
|
@ -216,7 +216,6 @@ class PaymentsEndpoint {
|
|||
);
|
||||
|
||||
$response = $this->request( $url, $args );
|
||||
$json = json_decode( $response['body'] );
|
||||
|
||||
if ( is_wp_error( $response ) ) {
|
||||
throw new RuntimeException( 'Could not refund payment.' );
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue