Questions tagged [request]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
107 views

2.4.6: Filter available attribute sets according to product type, using a plugin

In my custom plugin, the InstallData.php script creates a custom attribute set. For the purposes of this Q&A, we will call it 'Custom Attribute Set #1'. I would like the attribute set to only be ...
Muckee's user avatar
  • 699
0 votes
0 answers
10 views

Are there any fair-trade considerations to take into account when shopping for organic clothes online?

I'm interested in understanding the ethical and fair-trade considerations that I should take into account when shopping for organic clothes online. Can you provide me with information on the various ...
Nandhini B's user avatar
1 vote
0 answers
23 views

| PWA studio x magento 2 | Request for the "total pages" in category page return everytime "1"

When I display all my products in my category page, I have 20 products. But in the category I have 108 products, so there is supposed to be several page for this category, but I don't have the ...
Yoyo's user avatar
  • 11
1 vote
0 answers
249 views

Help for the installation of "stripe-php" library manually for stripe extension?

Can anyone help me please? I have installed Stripe module but not showing at the frontend.
Sufyan Ahmed's user avatar
0 votes
1 answer
530 views

Unable to generate request token using Postman

A request token is a temporary token that the user exchanges for an access token. I am unable to generate a request token using Postman for Adobe Commerce using Consumer Key and Consumer Secret which ...
Amrita's user avatar
  • 1
0 votes
3 answers
2k views

The store that was requested wasn't found. Verify the store and try again. at vendor/magento/module-store/Model/StoreRepository.php:112 on loop in log

Im facing this issue in magento 2.3.7 that my site is getting load in 5-10 mins. after restating the server its working fine but again in every 1 hour its going down like this when i try to look in ...
Sayyed Hasan's user avatar
0 votes
1 answer
2k views

main.DEBUG: Request validation failed for action ... Invalid request received at Account/CreatePost.php:327 on loop error in debug log

Hey There i have been facing a serious issue in my magento 2.3.7. in my debug.log this error is constantly hitting n filling it in seconds Request validation failed for action "Magento\Customer\...
Sayyed Hasan's user avatar
0 votes
1 answer
477 views

Why does RMQ Topic handler is never triggered?

I'm getting stuck with my Topic Handler in Magento. I have a working RMQ consumer, I can read message on the Queue, no problem. Here is the communication.xml <?xml version="1.0"?> <...
iizno's user avatar
  • 134
1 vote
2 answers
275 views

How to call a controller function in a block?

Is it possible to call a controller function in a block, if yes, please define how can i achieve that.
Vibhore Jain's user avatar
0 votes
1 answer
1k views

How do I capture GraphQL POST data?

I'm trying to debug an issue with a custom GraphQL module. I want to log the POST data that's being sent to it. I know it is being sent, because the response works OK for the most part. There's just a ...
Doug McLean's user avatar
  • 1,130
0 votes
1 answer
158 views

Request Parameters with php 7.4 and magento 2.4.1

After updating from 2.3.5p2 to 2.4.1 and from php 7.1 to php 7.4 I have strange trouble with request parameters. I see, that there are parameters set, when I var_dump $parameters=$this->request->...
Mario's user avatar
  • 478
0 votes
1 answer
1k views

Magento 2 Get CMS page page_id from url

I simply want to get the CMS page id from a random url. So i have a page with the url "Foo/Bar", and I can get the page id for that page using : $pageId = $this->_request->getParam('page_id', ...
Litsher - Nathan's user avatar
0 votes
1 answer
344 views

Disable URL redirection from catalog to product view in case of the error "The requested qty is not available" when adding too much products to cart

I can't figure where to find the code displaying "The requested qty is not available" and redirecting to the product URL when we add more product than the stock. [I'm using Magento 2.3.3 and custom ...
Alexis DOUMAX's user avatar
-1 votes
2 answers
857 views

How to retrieve post and get request values in Magento2?

I am creating Extention and I need to send posts and get requests. I want to fetch that variables values that are sent using get or post method.
Sarvesh Patel's user avatar
0 votes
1 answer
109 views

*Why save magento visitor happen only when POST/PUT request?

I was involved in development of some service integration with magento. I provided this service callback URL. In controller/action I am creating a customer and making it logged in. But then I noticed ...
zhartaunik's user avatar
  • 3,848
0 votes
2 answers
266 views

Magento 2.3: How To Get The Primary Key From URL...?

I'm very new to Magneto 2.3, I'm trying to get the primary key from URL, this is my code: This is my import button, on click of this button, a function hit. /app/code/EC/Customimport/view/adminhtml/...
Partab Saifuddin Zakir's user avatar
3 votes
4 answers
7k views

Magento 2.3.0 How to get request parameters in event observer?

I would like to get a request parameter in the observer file. Below is the observer code. etc/frontend/di.xml <event name="review_save_before"> <observer name="set_customer_data" ...
Chirag Patel's user avatar
  • 6,116
1 vote
0 answers
132 views

Magento 2 Issue with JavaScript and CSS Merge

I have checked my site for speed and it was requesting 258 requests. I have merged all JavaScript and CSS files and again tested it but still 251 requests are there. While in view page source I can'...
Magecode's user avatar
  • 1,494
2 votes
1 answer
197 views

Magento 2 Make GET Request url to rewrite acceptable

For example I have this url which makes get Request and renders block with specific collection by Id. mainpage.com/products?some_category=99 Since Magento 2 Url Rewrites only accept /params/...
Trenox's user avatar
  • 397
2 votes
2 answers
1k views

Magento2 filter not working for request parameter for order grid

I want to filter Sales Order query based on request parameter passed in querystring like following: http://127.0.0.1/website/admin/sales/order/index/key/...
bhargav shastri's user avatar
1 vote
4 answers
3k views

Calling bin/magento return an exception

I have a Magento 2.3.0 website that works correctly but suddenly (maybe after a products import, but also other various activities were done) when I try to call ANY (reindex, deploy...) command of "...
Riccardo's user avatar
  • 346
0 votes
1 answer
108 views

request sql bad with invalid quote

We are trying to migrate our code from magento 1.7 to 1.9 and I have an issue when i build a request with magento 1.9. I wrote this for a column on the order grid : $this->addColumn('id_po', ...
thomas poidevin's user avatar
1 vote
0 answers
878 views

WebAPI gives error: Class “array” does not exist

I want to send a list of statuses to my API. I send an array because it may be a lot of statuses. So my JSON looks like: { "statuses":[ "status_ok", "status_failed", "...
Wojciech Ka's user avatar
0 votes
2 answers
2k views

Magento 2.2.4 : post data in url

I want to get parameters from my page to the second. My values are submitted in the first page, but I can't achieve to get data on my second page (where I want to display theses data). I'm trying this ...
Morgan Tartreau's user avatar
0 votes
1 answer
505 views

Magento 2: Where does the _request- parameter> getParam ( 'sort')?

I have a problem with an extension and it is that it returns the SAP data sorted in ascending order and I need them in descending order. The list is obtained from a helper that passes as a parameter ...
chdzma's user avatar
  • 952
1 vote
2 answers
74 views

Parameters through url

I'm trying go get parameters from my submitted form (my form is devided in two parts). When I submit my first form, my page go to the second part (on the right view). But I'm stuck here. I have that : ...
Morgan Tartreau's user avatar
10 votes
3 answers
10k views

How to set Post Value of Request

I have already know how to get the POST value of Request. I used to use this code below to get the value: $this->getRequest()->getPostValue(); But how can I set the value of POST. Something ...
Nero Phung's user avatar
  • 1,303
4 votes
1 answer
66 views

Page not found while trying access controller with parameter in url

i created a simple controller like this: namespace Namespace\Module\Controller\Confirm; class Index extends \Magento\Framework\App\Action\Action { protected $resultPageFactory; public ...
Idham Choudry's user avatar
7 votes
3 answers
5k views

How to send data from html template to controller magento 2

My controller is calling but how to send data and retrieve data? My template: <!-- ko --> <tr class="totals fee excl"> <th class="mark" colspan="1" scope="row" data-bind="text: ...
Nagendra Kodi's user avatar
0 votes
1 answer
386 views

Seeing duplicate cookie response headers

When looking at the request headers for my Magento 1 site I can see it has 2 cookie request headers. Set-Cookie:frontend=3dt1aedashghghg1vr9ua0tghms7; expires=Fri, 20-Oct-2017 07:52:20 GMT; Max-Age=...
Goose84's user avatar
  • 2,581
0 votes
2 answers
539 views

Fix magento 1.9 installation error "Invalid backend name []"

When we install Magento 1.9 it shows: There has been an error processing your request Invalid backend name. How do i fix this?
gaganbafna's user avatar
1 vote
0 answers
234 views

Saving form data in configuration observer in Magento 2

I have a field in store configuration that has a select per store that contains a language setting. I've also written an observer that fires when this section of store configuration is saved. However ...
Joseph Hovik's user avatar
0 votes
1 answer
567 views

Magento Ajax request - again

My AjaxController class AMBit_Product_AjaxController extends Mage_Core_Controller_Front_Action{ public function getdataAction(){ echo 'PRODUCTS IN THIS CATEGORY'; ...
Rob D. A.'s user avatar
  • 867
2 votes
1 answer
4k views

Magento 2 : How to get request and send response in custom REST API?

I have created a custom API i need to know how can i get request and response using this custom API ? I use this link to create custom API : http://inchoo.net/magento/api-magento/magento-2-custom-api/...
Ramkishan Suthar's user avatar
2 votes
1 answer
350 views

How can i bulk ADD URL Rewrite Management

How can i add bulk URL Rewrite Management, i need to migrate new website, but i have already promoted my old site products, so, after i change new site, old site url return blank page, or empty page. ...
Gem's user avatar
  • 669
-1 votes
2 answers
123 views

How can i get Details from Database and Display to my Customized Page

I need to get details from database, **Actually am installed extension form builder**, i get details from that, and get that details from database and display into my customized page, like name, user ...
Gem's user avatar
  • 669
6 votes
0 answers
148 views

How to send custom request to authorize with Direct Post in Magento2?

In magento2 - I want to capture some amount other than order manually from authorise. How to create manually request? And How to sent request to authorise with Direct Post method.
Bhargav Joshi's user avatar