Questions tagged [order-success-page]

Denotes questions about final page of order/checkout completion which is called success page

Filter by
Sorted by
Tagged with
2 votes
0 answers
28 views

What information is needed for this JustUno embed code?

I am completely new to Magento 2 and programming in general. I am trying to integrate JustUno with Magento 2 and there is a script I can embed on the success page to track conversions. Below is the ...
Daniel's user avatar
  • 21
0 votes
0 answers
62 views

Magento 2 - How to pass data from Payment Method - Authorization client to custom success page

I've created a payment method which uses the authorization method to connect a client to an external site, which provides me with custom data, I would like to display this data on a custom success ...
Dean Van Greunen's user avatar
0 votes
0 answers
6 views

Putting the ShopperApproved Javascript code into the success.phtml file does not trigger their pop-up

Magento ver. 2.4.2-p1 Amasty OneStepCheckout I have an account with ShopperApproved. They gave me a JavaScript code to enter into the Order Confirmation page (the one that appears after a customer ...
Allysin's user avatar
  • 164
0 votes
1 answer
127 views

Magento 2 : Show configurable Associate product name in success page

In Order success page, I need to display the product name, but when the product is configurable I need to display the full name of the associate product not only the name of the configurable product ...
sara ben's user avatar
0 votes
1 answer
158 views

Backorder status of product

I need to display backorder status of products in success page.we have 3 status and each product show its status.Thank you
sara ben's user avatar
0 votes
2 answers
474 views

Get product image on success page | Magento 2

I need to display product image in success page without using object manager which is bad practice.thank you
sara ben's user avatar
0 votes
1 answer
36 views

Order is creating Automatically and after purchase also still product is in cart

For few days we are facing a different issue Once we place the Order successfully it is showing the older Order id (Order id 000000960 but our current Order id 1000+) Success page. For reference ...
somutesting's user avatar
1 vote
0 answers
65 views

Magento:success page order details issue in magento 2?

When i go through cash on delivery process then success page get all order details on success page But when i go through paytm or other payment getway through its show error Is there any solution for ...
Jitendra prajapat's user avatar
1 vote
1 answer
228 views

Magento 1.9 - Payment Gateway Success page empty or error

Error : PHP Fatal error: Call to a member function getMethodInstance() on boolean in /home/error/public_html/app/code/core/Mage/Payment/Helper/Data.php on line 119 I am using Paytm & Payubiz ...
Gem's user avatar
  • 669
0 votes
0 answers
152 views

Get list of modules called at order success page - M2

Place order is working good but after place order page redirect to cart page. I have put log in success.phtml file and found that success.phtml file is called. But I don't know why it's redirect to ...
Jimit Bhavsar's user avatar
1 vote
1 answer
2k views

Magento 2 : Get a custom customer attribute to appear on the checkout success page

I've recently created a customer attribute for my Magento ver. 2.3.5-p1 instance using the following blog: https://www.blog.sashas.org/magento-2-1-3-how-to-make-customer-attribute-update.html The ...
CJNotts's user avatar
  • 392
2 votes
0 answers
101 views

Pass order success url redirect url to a payment gateway

I would like to pass to an order payment a variable containing the success url that a customer should get redirected to when the payment goes fine on the payment gateway page. So basically I have a ...
Sam Provides's user avatar
0 votes
0 answers
40 views

Using order details on success page multiple times

I would like to be able to bring the order specifics into variables so I can reuse for various tracking apps on the success page. I'm still learning php with some knowledge of magento so appreciate ...
AndyS's user avatar
  • 33
0 votes
4 answers
632 views

How to implement a redirect to a custom success page after submitting a form on a custom page (similar functionality like checkout)

I have a submission form and a controller, with the execute method. At the moment, after sending the form, my page reloads and on top of the page I get an alert that notifies the user about the ...
ann karsksya's user avatar
1 vote
0 answers
159 views

Magento 2.3.1 : Checkout success page - Create an account button is not displaying

I am working on a Magento 2.3.1. In checkout success page, the Create an Account button is not displaying. I have checked all the files but it's not disabled from code. How to solve this one. Please ...
sachin's user avatar
  • 11
1 vote
0 answers
315 views

Magento2 one page success error

I get blank page when I place order, on success page I have 500 error and it is blank. I can see the order on admin panel and buyer panel, but status is pending. Also i increased PHP memory limit. I ...
MGPM's user avatar
  • 741
1 vote
2 answers
980 views

Magento 2 - Order Success Page to show Product Order Table

Is it possible to get the basket table with Product name, quantity and price to show on the Order success page? Also to show the shipping and billing address underneath this. Please Advise.
Developer's user avatar
1 vote
0 answers
565 views

Magento 2.3.2 checkout success page Create an Account Button Not Display

I am working on a Magento 2.3.2. In checkout success page, The Create an Account button is not display. I have checked all files but it is not disabled in any files. How to solve this one. Please ...
Hardik Makwana's user avatar
0 votes
1 answer
90 views

Magento 2.2.5 Unable to get orderGrandTotal() in success.phtml

I'm trying to get access to the grand total of the order but for some reason am unable to access this variable. I have tried multiple solutions by creation modules but nothing seems to be working. ...
Howliee's user avatar
  • 143
0 votes
1 answer
2k views

How can i add Google Ads Tracking code in Success Page

Here is my code : <!-- Event snippet for Final Page conversion page --> <script> wtag('event', 'conversion', { 'send_to': 'AW-23232323223232/23232323233434343443', 'value': ...
zus's user avatar
  • 145
0 votes
3 answers
2k views

Magento 2 : How to show products and shipping method on order success page? As picture below:

htdocs/vendor/magento/module-checkout/view/frontend/templates/success.phtml <?php /** * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ // @...
R.Park's user avatar
  • 3
4 votes
1 answer
168 views

Magento2: Order success create coupon

I want to generate coupon on order success below is the code i am unsing to generate in Observer public function __construct( \Psr\Log\LoggerInterface $logger, \Magento\SalesRule\...
Paras Arora's user avatar
3 votes
2 answers
901 views

Where does Magento decrement quantity of a product after the order is placed?

I need to check the Product Salable Quantity of a product after a successful order to change one of the product´s attributes. I keep getting the product salable quantity before It´s decremented. ...
Gonzalo Gutiérrez's user avatar
0 votes
2 answers
335 views

Get total order value on success.phtml page using onepage checkout

I posted this question: How can i get the order total value on success page easily? Magento 2.2 But it never got resolved. Unsure how to rerequest help about it. But I need to get it solved. I am ...
user3091199's user avatar
3 votes
2 answers
3k views

Magento 2 - Cart empty after successful payment

I have a custom payment method, after successful payment; payment page return to a controller where it updates order status and truncate current cart items like this: $this->quote->load($orders-...
Shoaib Munir's user avatar
  • 9,203
1 vote
2 answers
881 views

How can i get the order total value on success page easily? Magento 2.2

I am trying to get the order value from success.phtml page so that I can report it back in the facebook pixel. I am just looking for the simplest way to get the order value. Yes, a shortcut pretty ...
user3091199's user avatar
0 votes
1 answer
236 views

Magento2.3: Order not Place and Redirect to checkout/cart page [closed]

I have upload my Magento2.3 site on site ground. Others things are working fine but order not place redirect to checkout cart page. system.log: [2019-04-19 12:15:47] main.INFO: Broken reference: ...
Hafiz Arslan's user avatar
0 votes
1 answer
2k views

Easiest way of adding a script to the order confirmation page in Magento 1?

I need to add a script that tracks orders on a Magento shop. This script is to be inserted onto the order confirmation page. What is the easiest way of inserting this script onto the order ...
LENide300_KK's user avatar
5 votes
4 answers
15k views

How can I add custom success page

I want to add custom success page by overriding it's phtml. Can anyone guide me how can I do this?
Muhammad Anas's user avatar
2 votes
1 answer
2k views

How to get entity id(order id) in success phtml

In my success.phtml , $block->getViewOrderUrl() gives a order url with order id(entity id) . dev/tests/functional/tests/app/Magento/Checkout/Test/Block/Onepage/Success.php /sales/order/view/...
summu's user avatar
  • 837
0 votes
1 answer
242 views

How / Where to add Facebook Checkout pixel?

I like to ask where I should place this code snippet: fbq('track', 'Purchase', { value: 1, currency: 'SEK', }); I have added the normal facebook tracking code into the head for all pages....
user3091199's user avatar
0 votes
1 answer
734 views

magento2 get custom product attribute on order success page

I have a magento 2.2.5 based website and i need to get a custom product attribute on my order success page for each product. The custom attribute is called site_owned_buy any suggestions how to get it ...
Jayreis's user avatar
  • 707
1 vote
4 answers
3k views

Magento-2 order is not created after Successful Payment - PayPal

In my Magento website, Customer has placed an Order, PayPal received the amount with the Magento Order ID. But still, Customer didn't get to reach the Success page. Also that Order not listing at the ...
Shajitha Banu's user avatar
0 votes
1 answer
2k views

How to customize order succes page url and add some order details

I want my order success page URL(checkout/onepage/success/) to be changed to order/?ORDERID And I need to display some order details in that success page. That should be shown even after the reload. ...
anil's user avatar
  • 293
0 votes
1 answer
659 views

Get order id (not increment id) on success page?

I am running Magento 2.2 and I want to get the order id on the success page. $block->getOrderId() // returns 000000008 for example I do not want 000000008, but the real ID from the database, ...
Arnie's user avatar
  • 932
1 vote
2 answers
2k views

get payment method in the success page Magento 2 programmatically

How can I display the payment method in the success page using a code? If anyone can help me, it would be great. Thankyou.
Meera's user avatar
  • 312
0 votes
2 answers
383 views

How to replace direct use of Object Manager?

in the success.phtml file I currently have a direct use of the object manager, which I am now reading is not best practice. I was wondering how to make a constructor to replace the following code in ...
Degnan's user avatar
  • 99
0 votes
2 answers
220 views

Unable to get shopping cart data on Success.phtml

On the order confirmation page, I am trying to pull all the values of the items involved in the completed purchase, so they can be injected into a tracking iFrame. I found this code online, but it ...
Degnan's user avatar
  • 99
7 votes
1 answer
202 views

$block Class Some Method is won't appear in get_class_methods() call

I am working in \success.phtml file, with the final objective of placing a tracking iframe on the confirmation page. <?php /** * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt ...
Degnan's user avatar
  • 99
5 votes
4 answers
2k views

How to get Coupon Code on Success Page in Magento 2

I am trying to get coupon code created in cart price rule from backend on success page. I am doing it as: In Block file public function getCouponCollection() { $om = \Magento\Framework\App\...
Ajwad Syed's user avatar
  • 1,581
0 votes
0 answers
73 views

success page template file not called : M2

After M2 upgrade success.phtml template file not called at order success page. while onepage.phtml file is called at onepage checkout page. Both file location is same but still success.phtml file ...
Jimit Bhavsar's user avatar
3 votes
2 answers
2k views

Magento 2 | Event for success page

what is the correct event which should fire when a customer ordered something and is being redirected to the success page. After the redirect to the success page the event should fire. Thanks in ...
silberfuchz's user avatar
3 votes
0 answers
61 views

How the guest order is mapped with the customer who is registered in success page in magento 2

How the guest order details are mapped with the customer who is registered by clicking Create Account button in the success page in magento 2.
Jaisa's user avatar
  • 2,512
1 vote
0 answers
335 views

Magento 2: Order Success Page Not Loading for custom payment method

I am using Webkul Ccavenue extension for Magento 2.1.4. On successful payment, a success response is sent to Magento, after which it should redirect to order success page(checkout/onepage/success), ...
Asheesh Srivastav's user avatar
0 votes
1 answer
42 views

Weird issue with Magento 1.9 success page and JS code

I am facing a rather strange issue with Magento 1.9. In the success page I have a piece of code that dynamically creates a tag based on the order just placed. The problem is that the tag is not ...
swiss_blade's user avatar
0 votes
1 answer
372 views

Magento2 after placing order success page showing error

I have tried to place an order with simple and configurable product but after placing in success page i am getting below error. Fatal error: Uncaught Error: Call to undefined method Magento\Catalog\...
Sudheer Singamsetti's user avatar
0 votes
1 answer
542 views

Bank Details On Success Page of Magento 2

If the payment method is bank transfer, I need to show a custom message on success page of Magento 2. I'm going to say "don't forget: we will ship to you after your payment received to our ...
erererer's user avatar
1 vote
3 answers
1k views

How Do I get Order id from module-checkout/Block/Onepage/Success.php in magento 2

I want to get the order details from module-checkout/Block/Onepage/Success.php. I got only the increment id to my custom template using the above block file. How can I get the entire order ...
Jaisa's user avatar
  • 2,512
1 vote
4 answers
6k views

How to customize checkout success page

We want to add this text "Click here to check the bank information" to the checkout success page and link it with URL a on the site. How to do that? We're running Magento 1.9
muzramn's user avatar
  • 87
0 votes
1 answer
1k views

Magento 2 - How to retrieve the name and quantity for each product ordered in success.phtml file

I need to add an iframe for tracking the orders, and the code needs some values like Subtotal, order id, name of every product in the order and also the quantity for each product. I found a solution ...
Raluca Albu's user avatar