Add missing basic auth to payment intent endpoint #799
This commit is contained in:
parent
d7cc0fc3de
commit
9dbaf92698
1 changed files with 3 additions and 0 deletions
|
|
@ -127,6 +127,9 @@ class SubscriptionController extends ApiController
|
|||
return new ApiResponse(false, $validity['error']);
|
||||
}
|
||||
|
||||
// initialize paymongo connector
|
||||
$this->initializeSubscriptionPayMongoConnector($pm);
|
||||
|
||||
// get payment intent
|
||||
$pi = $pm->getPaymentIntent($pid);
|
||||
if (empty($pi['response']['data']['id'])) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue