Here is how to use Midtrans-PHP official library in Codeigniter 3 🙂
Here is how to enable CodeIgniter support to $_GET and still able to use the normal “SEO-friendly” URL working together.
So you will get a URL like this
First approach is modify your “config.php” and change this line.
$config['enable_query_strings'] = true;
But this is not recommended because on pagination, you will get ugly URL.