Fix json payload structure for payment intent checking #799

This commit is contained in:
Ramon Gutierrez 2024-08-23 07:51:53 +08:00
parent 9dbaf92698
commit 62f11c9ef5

View file

@ -138,7 +138,7 @@ class SubscriptionController extends ApiController
// response
return new ApiResponse(true, '', [
'payment_intent' => $pi,
'payment_intent' => $pi['response']['data'],
]);
}
}