I'm Sesha, Full-Stack web developer, Programmer, Laravel & Symfony Artisan, and Typescript & Vuejs Enthusiast.
- ๐ซ How to reach me: ... Ping me on twitter: @seshaCS
Laravel PHP - Shiprocket SDK. Integration of Shiprocket API in your laravel application is easy, This package enables you to utilize most of your Shiprocket functions.
I'm Sesha, Full-Stack web developer, Programmer, Laravel & Symfony Artisan, and Typescript & Vuejs Enthusiast.
I'm getting following response for create order if i call from postman everything working fine
Illuminate\Support\Collection Object
(
[items:protected] => Array
(
[message] => Error: Undefined property: stdClass::$selling_price
[status_code] => 500
)
)
I am using Ubuntu 20.10 OS.
PHP Version: 7.2
I published the vendor file using following command:
php artisan vendor:publish --provider="Seshac\Shiprocket\ShiprocketServiceProvider" --tag="config"
Please add this method after the constructor in ShiprocketApi class:
/**
* Get the login details including token (valid for 24 hours)
*
* @return mixed
*/
public function token()
{
return $this->login([
'email' => config('shiprocket.credentials.email'),
'password' => config('shiprocket.credentials.password')
]);
}
Hi,
Is there a call to order a return I don't get a return call to the API?
If have please provide the details.
Thanks.
[InvalidArgumentException] when i run following command composer require seshac/laravel-shiprocket-api
Package seshac/laravel-shiprocket-api at version has a PHP requirement incompatible with your PHP version (7.2.31)
it says Laravel Shiprocket but i wonder if it will work with core php ?, or does it have any kind of required module/class used internally which is only avaiable on Laravel only ?
I m not able to see return order function how can I call the return order using this package
use Seshac\Shiprocket\Shiprocket;
public function update(Request $request, $id){
$orderDetails = [
// refer above url for required parameters
];
$token = Shiprocket::getToken();
$response = Shiprocket::order($token)->create($orderDetails);
}
Class 'Seshac\Shiprocket\Shiprocket' not found
Hi sesha,
is their any call for order return, i couldn't found the return call in API
If have please provide the details.
Thanks in advance.
when ever i try to generate the AWB Shiprocket charge some cost, is their any way to check all the conditions.
Getting Error when calling Specific Order by ORDER ID
Call to undefined method Seshac\Shiprocket\Resources\OrderResource::find()
namespace used
use Seshac\Shiprocket\Shiprocket;
$token = Shiprocket::getToken(); // Getting token correctly and also Shiprocket::order($token)->create($orderDetails) is working perfect
$orderId = xxxxxxx;
$order = Shiprocket::order($token)->find($orderId);
Can you add support for PHP 8
Hello, there!
As part of the university research we are currently doing regarding the security of Github Actions, we noticed that one or many of the workflows that are part of this repository are referencing vulnerable versions of the third-party actions. As part of a disclosure process, we decided to open issues to notify GitHub Community.
Please note that there are could be some false positives in our methodology, thus not all of the open issues could be valid. If that is the case, please let us know, so that we can improve on our approach. You can contact me directly using an email: ikoishy [at] ncsu.edu
Thanks in advance
The vulnerability fix that is missing by actions' versions could be related to:
(1) CVE fix
(2) upgrade of vulnerable dependency
(3) fix to secret leak and others.
Please consider updating the reference to the action.
If you end up updating the reference, please let us know. We need the stats for the paper :-)
When I am going to return token like- return $token = Shiprocket::token();
Getting the below error message-
Class 'App\Http\Controllers\Shiprocket' not found
should i create a controller for Shiprocket? Please help me.
I have set the default shiprocket credentilas and it is return token in postman. Please solve the issue
Hi sir,
I am use this [ ShiprocketApi::token() ]code but show error plz help
Call to undefined method Seshac\Shiprocket\ShiprocketApi::token()
Thanks
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.