From 62f11c9ef597685f26f23546909cf70bfe6a04f7 Mon Sep 17 00:00:00 2001 From: Ramon Gutierrez Date: Fri, 23 Aug 2024 07:51:53 +0800 Subject: [PATCH] Fix json payload structure for payment intent checking #799 --- src/Controller/CustomerAppAPI/SubscriptionController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'], ]); } }