unicodeveloper / laravel-paystack

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

allowed the Paystack::createCustomer() method to accept a data parameter #181

Closed theJohnCode closed 5 months ago

theJohnCode commented 9 months ago

This is needful because a customer sometimes are not created from the request data directly, so it is important if the data can be passed manually but it doesn't exist, it will fallback to the to the previous implementation

gilbertozioma commented 9 months ago

I wish they would merge this code because I recently had an issue with the first and last name of the customer not being passed. I had to query a different table in the database to fetch the names through the transaction ID.