Comments (16)
Odd, I have it running in production with 2 applications on Laravel 7.
The paddle-sdk
package supports Laravel 7 since 1.1.0 faustbrian-archives/paddle-sdk@1.0.0...1.1.0
from laravel-paddle.
ah it has todo with KiteTail. When I install that it give the same error
from laravel-paddle.
If you are on Laravel 7 you don't need Zttp
but can use https://laravel.com/docs/7.x/http-client instead which is based on Zttp
.
from laravel-paddle.
I reverted to a couple of commits back (used laravel shift for the upgrade of the old app).
And before I ran composer update, I installed this package. Which kept tightenco/collect to a lower version. I have it installed now. But kitetail which needed from the sdk dependencies triggered the error somewhere along the way.
from laravel-paddle.
Oh sorry I misunderstood the Zttp
issue. I'll upgrade the SDK to use the illuminate/http
package instead.
from laravel-paddle.
@petericebear could you test https://github.com/kodekeep/laravel-paddle/releases/tag/1.3.0 and let me know if you encounter any issues? It now uses kodekeep/paddle-sdk:1.2.0
which uses illuminate/http
instead of kitetail/zttp
.
from laravel-paddle.
from laravel-paddle.
Great, let me know if you run into issues with the new illuminate/http
usage. Things like failing requests or wrong results.
from laravel-paddle.
dd(Paddle::subscription()->plans()->all());
KodeKeep/Paddle/Exceptions/RequestException with message 'Received unexpected response with status code 200.'
I am trying through tinker and get this error. There are plans in Paddle available.
from laravel-paddle.
And through tinkerwell I get this response:
from laravel-paddle.
dd(Paddle::subscription()->plans()->all());
KodeKeep/Paddle/Exceptions/RequestException with message 'Received unexpected response with status code 200.'
I am trying through tinker and get this error. There are plans in Paddle available.
https://github.com/kodekeep/paddle-sdk/releases/tag/1.2.1
from laravel-paddle.
And through tinkerwell I get this response:
That looks like a syntax error if you are not on PHP 7.4
from laravel-paddle.
from laravel-paddle.
OpCache is disabled
from laravel-paddle.
Are your php-fpm and php-cli both on PHP 7.4? Your php-fpm doesn't seem to have issues with executing the code but your CLI does.
Edit
Just tested your exact command local and on a server with PHP 7.4. No issues executing it.
from laravel-paddle.
Ah in tinkwell there was a link to 7.3.1. After that and updating the version for the SDK I now get the responses :D
from laravel-paddle.
Related Issues (4)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from laravel-paddle.