Fix json payload structure for payment intent checking #799
This commit is contained in:
parent
9dbaf92698
commit
62f11c9ef5
1 changed files with 1 additions and 1 deletions
|
|
@ -138,7 +138,7 @@ class SubscriptionController extends ApiController
|
|||
|
||||
// response
|
||||
return new ApiResponse(true, '', [
|
||||
'payment_intent' => $pi,
|
||||
'payment_intent' => $pi['response']['data'],
|
||||
]);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue