Stripe URL different between the desktop link and the link from the logs
I got a problem in stripe implementation.
How can I fix this Stripe error in symfony?
I created a symfony project but when I click on the buy button I get this as an error: The Stripe Checkout Link
I set the right API Key and I created the form but everytime I got “Something went wrong
The page you were looking for could not be found. Please check the URL or contact the merchant.”
#[Route(‘/buy/{subjectId}’, name: ‘buy_subject’, methods: [‘POST’])]
public function buySubject(Request $request, $subjectId, ManagerRegistry $managerRegistry, $stripeSK): Response
{
$entityManager = $managerRegistry->getManager();
$subject = $entityManager->getRepository(Subject::class)->find($subjectId);