mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-06 10:55:00 +08:00
Fix response
This commit is contained in:
parent
bee2a8d5ba
commit
c684e461ee
1 changed files with 1 additions and 1 deletions
|
@ -88,7 +88,7 @@ class ApproveSubscriptionEndpoint implements EndpointInterface {
|
|||
WC()->session->set( 'ppcp_subscription_id', $data['subscription_id'] );
|
||||
}
|
||||
|
||||
wp_send_json_success( $order );
|
||||
wp_send_json_success();
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue