unicodeveloper / laravel-paystack

:credit_card: :package: :moneybag: Laravel 6, 7, 8, 9, 10 and 11 Package for Paystack
https://paystack.co
MIT License
615 stars 313 forks source link

Bugfix: Add `reference` argument to getPaymentData #171

Closed alpha414-bot closed 1 year ago

alpha414-bot commented 1 year ago

Added argument to getPaymentData() to reference a transaction and requery transactions in a go.

$FirstTransaction = \Paystack::getPaymentData($reference_token);