Skip to content

Automatically submit form and redirect #89

@paulhuisman

Description

@paulhuisman

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);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions