Open adetech2017 opened 3 years ago
This has been solved here https://github.com/unicodeveloper/laravel-paystack/issues/16#issuecomment-431568603
Can you please update. is this issue resolved I am also facing this issue
This is what worked for me
/**
I have fixed this solution by using using package of Paystack instead of Unicodedeveloper/Paystack.. below here is my payment controller code for reference `use Paystack; class PaymentController extends Controller{
public function redirectToGateway(Request $request){
......
......
.....
return Paystack::getAuthorizationUrl()->redirectNow();
} }`
I'm getting error in line 210 of the package saying "Error Using $this when not in object context". Please how do i solve this. public function getAuthorizationUrl() { $this->makePaymentRequest();