unicodeveloper / laravel-paystack

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

Created an optional parameter for getPaymentData. #70

Closed horlarme closed 4 years ago

horlarme commented 5 years ago

The parameter allows the user (developer) to be able to parse transaction key from the source code without having to make a request. This is useful in cases where the developer is trying to get the reference not because PayStack redirects the user after payment to the webhook/callback route but through other methods.