Skip to content

Transactions

Abraham Olaobaju edited this page May 13, 2024 · 6 revisions

Overview

Legacy SDK (1.0)

Install the legacy version of the php package.

composer require flutterwavedev/flutterwave-v3:1.0

Verify a transaction.

<?php

// Install with: composer require flutterwavedev/flutterwave-v3:1.0
require __DIR__."/vendor/flutterwavedev/flutterwave-v3/library/Transactions.php";

use Flutterwave\Transactions;

$transactions = new Transactions();

$verifyTransaction = $transactions->verifyTransaction('12345'); // pass the id of the transaction.

print_r($verifyTransaction);
Clone this wiki locally