is there a package for laravel that i can use or how can i integrate with laravel
You can use the PHP SDK for Paynow by including into your application using Composer. Instructions on how to install and use it are here: https://developers.paynow.co.zw/docs/php_quickstart.html
feel free to use this Laravel service provider package https://github.com/musonza/paynow-sdk-php-laravel
the Paynow::send($payment); is not working,
Seems as if your facade only allows the createPayment method only.
Hey, I will take a look. Thanks
This is already working.
What error are you getting?
Are you by any chance using the actual Paynow class instead of the Facade?
You can show me your class imports otherwise remove the
use Paynow\Payments\Paynow or alias it if you have it in the same class that you are using the Facade.
I have added this test https://github.com/musonza/paynow-sdk-php-laravel/blob/35441263d857c9d813b02805671f88a3822aa69b/tests/PaynowServiceProviderTest.php#L43-L56 and i can confirm it has a send method since it’s pretty much a wrapper for the
Ok, but had to use the default PHP SDK for Paynow and it has proved to be working though when i was including the facade i was using the
use Paynow statement .Thanks for responding