Fix response

This commit is contained in:
Alex P 2023-05-31 16:19:25 +03:00
parent bee2a8d5ba
commit c684e461ee
No known key found for this signature in database
GPG key ID: 54487A734A204D71

View file

@ -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;
}
}