kofi1995 / laravel-sagepay Goto Github PK
View Code? Open in Web Editor NEWSagepay Integration for Laravel 5.x
Sagepay Integration for Laravel 5.x
The current release does not have the fix for the removal of the share() method and the switch to the singleton (#4) and so when bringing in via composer fails.
The quick fix is to specify the dev-master branch. "kofikwarteng/laravel-sagepay": "dev-master",
Thanks for the package, been VERY helpful.
Cheers
Call to undefined function Kofikwarteng\LaravelSagepay\mcrypt_encrypt()
This function is now deprecated in php version 7.1 and forward.
Hi.
You have a small mistake which occurs on a linux in the Service Provider name at manual. 'Pay' should be lowercase - SagepayServiceProvider not SagePayServiceProvider.
This is broken in the latest version of Laravel. Errors on $this->app->share as the share method has been removed:
local.ERROR: exception 'Symfony\Component\Debug\Exception\FatalErrorException' with message 'Call to undefined method Illuminate\Foundation\Application::share()' in [PATH]/vendor/kofikwarteng/laravel-sagepay/src/SagePayServiceProvider.php:33
Have tried replacing share with singleton but then errors with 'ErrorException' with message 'Illegal offset type in unset' in [PATH]/vendor/laravel/framework/src/Illuminate/Container/Container.php:988
Hi, followed your steps after running the following command;
php artisan vendor:publish --provider="Kofikwarteng\LaravelSagepay\SagepayServiceProvider"
I get the following error; Call to undefined method Illuminate\Foundation\Application::share()
I assume this hasn't been updated for Laravel versions past 5.4
After publish sagepay.php in config is not generated.
so can i have a working code of sagepay.php
And how it takes user id and password.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.