Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 83842

General questions about Magento 2, not specific to a minor version. Use this tag to distinguish from Magento 1. If you have issues with a specific version, please use the appropriate 'Magento-2.x' tag instead. Functionalities between Magento 2 minor versions might differ.

2 votes
1 answer
210 views

How can i update order status from checkout with custom payment module?

I have payment processing on the checkout page on click of place order. I get the payment response on the same page. Now, I need to update the order status after the checkout form submission in the …
Garry's user avatar
  • 145
1 vote
0 answers
158 views

invalid form key. please refresh the page. magento 2

Getting the error... invalid form key. please refresh the page when creating a new user. Even after following these steps. I set in file php.ini variable max_input_vars increase it to 10000 th …
Garry's user avatar
  • 145
1 vote
0 answers
84 views

Refused to apply style from magento2

Magento 2 After installing payment-module. running these command lines caused the error of files not found from the pub/static/version******/adminhtml/ php bin/magento setup:upgrade; php bin/magento …
Garry's user avatar
  • 145
1 vote

Not able to initialise the JS library on checkout page to utilize it on click of place order

In the plain HTML page although the import of class was not required, in magento2 importing of the class made things working fine enter code here. …
Garry's user avatar
  • 145
1 vote
1 answer
593 views

Magento 2 Get Cart total in the controller / JS?

I am integrating the custom module of custom payment gateway. I need the cart total on the checkout page for the price conversion before the payment. How can I get the Cart total in JS or in the cus …
Garry's user avatar
  • 145
1 vote
1 answer
308 views

Can I change the extension from .HTML to .phtml?

I've got a custom payment module. I've .HTML checkout button page in this path. \app\code\vendorName\moduleName\view\frontend\web\template\payment\vendor.html Can i change .phtml instead of .HTML
Garry's user avatar
  • 145
1 vote
2 answers
2k views

Magento 2 - mage/url is not working in module. Uncaught ReferenceError: url is not defined

I am running the Magento 2 on the localhost server. http://127.0.0.1/magento3 here I've built a custom module for payment gateway. In custom JS I want to use the mage/url. I need to use ajax for the …
Garry's user avatar
  • 145
1 vote
0 answers
952 views

Magento 2 - Place Order if payment is completed

I have a custom payment method. When the place order button is triggered, I want to process my payment gateway. After this, if payment is a success order should be placed successfully. Here is a meth …
Garry's user avatar
  • 145
1 vote
2 answers
2k views

How to use url.build in JS?

I am getting Uncaught TypeError: url.build is not a function I need to use ajax in JS to get the controller method on the checkout page on click of place order. This is my JS file require(['jqu …
Garry's user avatar
  • 145
1 vote
3 answers
2k views

Custom payment Gateway ( Magento 2.3 )

How can I develop a custom payment gateway in magento 2.3 version. I tried many tutorials but none of them is working correctly. What tutorial best to follow?
Garry's user avatar
  • 145
1 vote
1 answer
2k views

Magento 2 - Call Ajax controller on click of place order?

I've set up the JS, and controller and checkout.html I need to call the controller with ajax to getPrice() method. My controller name is GetAjax.php and here is the controller code. <?php namespace I …
Garry's user avatar
  • 145
1 vote
0 answers
669 views

TypeError: window.checkoutConfig.payment.instructions is undefined ( Magento2 )

What could be missing from the payment method? Any Idea????
Garry's user avatar
  • 145
0 votes
0 answers
35 views

payment method integration into sample payment gateway in magento2

I've integrated a sample payment gateway module into Magento 2. Now I need to add some payment method in JS into a sample payment module. so that when the user clicks on place an order a pop appears. …
Garry's user avatar
  • 145
0 votes
0 answers
163 views

How to place order with custom payment gateway module using JS / Ajax?

I am integrating a custom payment gateway module in Magento 2. How can I use JS/ajax on the checkout page on click of place order trigger some js event? As I need to pop-up a modal on click of plac …
Garry's user avatar
  • 145
0 votes
2 answers
1k views

How can i include JS script to .html page in module / Or any other way to add script.js in m...

magento2\app\code\vendor\module_name\view\frontend\web\template\payment\default.html Location of JS script file is at this path. magento2\app\code\vendor\module_name\js\script.js …
Garry's user avatar
  • 145

15 30 50 per page