Skip to content

Download Response Not working #1331

Description

@Iamscalla

The download response isn't working as expected, when the download is initiated, the page goes blank.
the response is expected to return the send method, but does not.

here is how i used the response

$fname = $storepath.$order->order_reference . "_ticket.pdf";
Services::response()->download($fname, NULL);

so i altered the download method to return return $response->send(); instead of return $response;

i initially thought the send would be returned from the codeigniter class.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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