I'm using this in Laravel 5.6 - is there a way to automatically submit the form and redirect to Ogone?
My code:
// Create ogone payment request
$ecommercePaymentRequest = $this->generatePaymentRequest($order);
// Return html form for Ogone
$formGenerator = new SimpleFormGenerator;
$html = $formGenerator->render($ecommercePaymentRequest);
return new Response('<h1>Pay for order</h1><p></p>' . $html);
I'm using this in Laravel 5.6 - is there a way to automatically submit the form and redirect to Ogone?
My code: