Comments (8)
Makes sense. I need to read up a bit more on the nuance, but the idea was to use httplug.
from razorpay-php.
The reason we can rely better on httplug is because it gives users flexibility to switch between implementations. This is important in case you have other libraries that rely on a specific guzzle version, for eg.
from razorpay-php.
May I suggest not using Guzzle directly. Relying on an implementation is never good. That is why you should use HTTPlug which is an abstraction over libraries like Guzzle.
from razorpay-php.
Should this be a major version upgrade?
I don't think so for the user nothing is changing, only internals are
Decide between guzzle 5 and 6 -> Even I would prefer guzzle 6
https://www.reddit.com/r/PHP/comments/37llgz/which_version_of_guzzle/
even for other projects either they have moved to 6 or planning to,
If we go with 6, do we keep supporting the older requests releases
can you clarify
guzzle 6 have 3 dependencies guzzlehttp/psr7, guzzlehttp/promises, psr/http-message
How to handle the httplug requirement
what do you mean by this ??
from razorpay-php.
Version: I'm not entirely sure. If the upgrade is seamless, then minor upgrade should do. However, if people are likely to face dependency issues while upgrading, a major upgrade might make more sense.
Old Releases: If for some reason, someone is unable to upgrade, do we keep supporting the older releases? Or force people to upgrade?
HTTPlug: Using httpplug means that we can let the library users decide on a different implementation. httplug is an interface that says how to make requests. Various other libraries implement it, including guzzle.
That way, if someone is using an older version of guzzle, or some other request library, it would still work with it.
from razorpay-php.
Version: let's decide on version at the end, as you mentioned if upgrade is seamless then minor upgrade or else major upgrade.
Old Releases: We should be supporting the older release, it doesn't make sense to force everyone to upgrade
HTTPlug: Do we want to give that much flexibility to users, debugging may be difficult. Your call, in my view, if we can restrict the user to a single library it is better.
from razorpay-php.
Aside: Requests 1.7 is now out: https://github.com/rmccue/Requests/releases
from razorpay-php.
@captn3m0 we have been using Request since the beginning ,and users also depend on it for updates as well. We will regularly add the updated Request.
Closing for now . will reopen if needed
from razorpay-php.
Related Issues (20)
- notes note coming in response of live api key HOT 1
- Get a BAD_REQUEST_ERROR on live mode with laravel 9. HOT 1
- Diners club credit card not accepted HOT 3
- Array to string conversion Error on src/Request.php HOT 3
- Valid VPA (Third party validation) giving "The requested URL was not found on the server." HOT 3
- In need of a sandbox/test account to build Razorpay integration for our software
- [Feature]: Add RazorPay to Laravel Spark replacing Stripe HOT 2
- Wordpress to 6.2 version Fatal error HOT 2
- Customer details not prefilled in razorpay payment page with paymenLink method HOT 1
- Customer already exists for the merchant while creating customer - how can i get the customer id HOT 2
- [Feature]: Example site with frontend with user registration, subscription
- Error In Wordpress if more then one plugin use Razor pay composer
- Payment Link API issue occur HOT 3
- How to Save/Add payment method HOT 1
- Can not verify payment signature. Error: invalid signature passed
- is that razorpay php sdk support auth 2.0 .. can i make calls using access token instead of using basic auth token? HOT 1
- CURL error : 60 ssl certificate problem HOT 13
- Order ID not getting with Payment Link
- Access Denied
- Not Compatible with PHP 8.3
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 razorpay-php.