How to complete my stripe payment with symfony and intent payment API?

I try to put stripe on my website, it takes the payment but it still incomplete be cause “the customer doesn’t have payement methods”. I dont understand how to resolve this issue. public function stripeAction(Request $request) { StripeStripe::setApiKey(‘sk_test_UYs0lRfiKXpBymFf0Qlp2BOe00c5XJG5q1’); $paymethod =…

symfony sub query with getDQL query

$sub = $this->entityManager->createQueryBuilder(); $sub->select(‘d’) ->from($this->entityManager->getClassMetadata($entityClass)->getName(), ‘d’) ->where(“d.number != ””) ->orderBy(‘d.time’, ‘DESC’); * $qb = $this->entityManager->createQueryBuilder(); $qb->select(‘p’) ->from($sub->getDQL(),’p’) ->groupBy(‘p.number’); * Please correct above subqueries if anything is wrong in it. It is showing error [Syntax Error] line 0, col 14: Error:…

Discriminator column : Class has no field or association named type

I have a class contract that contains the abstract attribute contractInfo Type /** * @var ContractInfoType|null * * @ORMOneToOne(targetEntity=”ContractInfoType”, cascade={“persist”}) * @ORMJoinColumn(name=”contract_info_type_id”, referencedColumnName=”id”, nullable=true) */ private $contractInfoType; ContractInfoType is an abstract entity : ContractInfoPro and ContractInfoAsso inherit from them /**…