mhmfajar/codeigniter-payment-orchestrator

CodeIgniter 4 adapter for PHP Payment Orchestrator.

Maintainers

Package info

github.com/mhmfajar/codeigniter-payment-orchestrator

pkg:composer/mhmfajar/codeigniter-payment-orchestrator

Statistics

Installs: 0

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

v0.1.0 2026-05-25 08:33 UTC

This package is auto-updated.

Last update: 2026-05-25 08:41:34 UTC


README

Register the package through Composer, publish or copy the config/migration into the application, then use the service:

$payment = service('paymentOrchestrator');

$response = $payment->create(array(
    'order_id' => 'INV-001',
    'amount' => 150000,
    'customer_name' => 'Mhmfajar',
    'customer_email' => 'mhmfajar@example.com',
));

return redirect()->to($response->getPaymentUrl());

Callback:

$payload = $this->request->getJSON(true);

if (! is_array($payload)) {
    $payload = $this->request->getPost();
}

$response = service('paymentOrchestrator')->handleCallback($gateway, $payload);