diff --git a/src/Controller/CustomerAppAPI/SubscriptionController.php b/src/Controller/CustomerAppAPI/SubscriptionController.php index 6025664c..290ea43a 100644 --- a/src/Controller/CustomerAppAPI/SubscriptionController.php +++ b/src/Controller/CustomerAppAPI/SubscriptionController.php @@ -138,7 +138,7 @@ class SubscriptionController extends ApiController // response return new ApiResponse(true, '', [ - 'payment_intent' => $pi, + 'payment_intent' => $pi['response']['data'], ]); } }