Questions tagged [request]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
18 views

Create a second invoice in Magento

Hello guys I am using Magento 2.4.3 and I am having a problem with creating a second invoice for an order. I have a third party gateway implementation and when a capture requests fails i want to be ...
  • 1
0 votes
1 answer
70 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 ...
  • 1
0 votes
0 answers
27 views

URL Rewrites generate blank product url name with arabic name

I am facing an issue in product url which generates blank "Request Path". This will happen when I tried to add arabic product name along sku number in URL Key(SEO section) in product form in ...
  • 1
0 votes
0 answers
149 views

How can I pass custom form data and load result page using Ajax?

New to Magento. My goal with this is to have customer pick price range and sort order from a custom form I created, then when form is submitted have Ajax pass the form data AND load the new page with ...
0 votes
3 answers
898 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 ...
0 votes
1 answer
575 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\...
0 votes
1 answer
168 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"?> <...
  • 124
1 vote
2 answers
82 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.
0 votes
1 answer
421 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 ...
  • 1,131
0 votes
1 answer
111 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->...
  • 413
0 votes
1 answer
583 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', ...
0 votes
1 answer
194 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 ...
-1 votes
2 answers
240 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.
0 votes
1 answer
78 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 ...
  • 3,808
0 votes
2 answers
152 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/...
3 votes
4 answers
5k 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" ...
  • 5,916
1 vote
0 answers
125 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'...
  • 1,464
2 votes
1 answer
106 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/...
  • 397
2 votes
2 answers
991 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/...
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 "...
  • 336
0 votes
1 answer
105 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', ...
1 vote
0 answers
751 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", "...
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 ...
0 votes
1 answer
383 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 ...
  • 943
1 vote
2 answers
43 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 : ...
10 votes
3 answers
9k 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 ...
  • 1,283
4 votes
1 answer
63 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 ...
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: ...
0 votes
1 answer
345 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=...
  • 2,469
0 votes
2 answers
494 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?
1 vote
0 answers
227 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 ...
0 votes
1 answer
561 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'; ...
  • 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/...
2 votes
1 answer
311 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. ...
  • 679
-1 votes
2 answers
121 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 ...
  • 679
6 votes
0 answers
142 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.