Order status in Magento 2.4

wood1e2

Free Member
May 2, 2007
2,317
174
Leicester
Hi

In Magento 1 when someone places an order, so from Checkout they click 'Place Order' they are taken to PayPal payment page.

At that point a new order appears in my 'Sales Order Admin' if there is no payment, so the customer just leaves from PayPal payment page, then order status is set to 'Pending'

Is this the same process in Magento 2.4?

I do need to test again on my PayPal Sandbox account, as earlier today there was no 'order' unless I completed the payment process.

Also with Magento 1, we have an initial order status of "Pending' for all those orders that never make it to a completed payment.

Can this be replicated in Magento 2? or is this a custom coding job?

Sorry, this is actually a two-part question
16x16_smiley-happy.png
 

wood1e2

Free Member
May 2, 2007
2,317
174
Leicester
hi

Many thanks for the response. I have been chatting with PayPal and it seems that has changed somewhat.

This is what we have with M1 using PayPal

From Checkout - registration/login is enforced

a) I click Place Order - taken to PayPal as a customer I decide to not buy and I leave Paypal

in M1 order admin, there is a new order with the order status of 'pending'

I then phone up the potential customer and ask if I can help and we 9 times of 10 complete the sale.

With M2 there doesn't seem to be this process with PayPal - well unless I have set up the Sandbox incorrectly. But I have asked PayPal as to why the order doesn't show in M2 order admin immediately that 'Place Order' has been clicked.

Strangely, when I test with "Fidelity Payments' an alternative I do get the new order, but with an order status of 'processing' Which isn't so bad, but it might be missed as we might think they have paid and send out the goods :)

and

b) I click 'Place order' - I am taken to PayPal and I complete the payment process.

In M1 order admin, there is a new order with an order status of 'processing'

Then manually we either 'Complete' or change the order status to 'processing - in the garage' or 'Processing - whatever the next step might be'.

So that is basically what I am looking to replicate in M2.

Sory for the length of message :)
 
Upvote 0

zigojacko

Free Member
Dec 7, 2009
3,795
1,222
Plymouth, UK
clubnet.digital
In Magento 2, a order is created as soon as the 'Place Order' button is clicked in the final stage of checkout.

The only exception to this is if the Paypal payment method in use requires a confirmation step once they have been redirected to Paypal and then back to the website. In this case, the order is then created when the 'Place Order' button is clicked on that order confirmation page.

So as I said before, it depends on which Paypal integration you are using.

Not sure if this helps...?
 
Last edited:
Upvote 0

wood1e2

Free Member
May 2, 2007
2,317
174
Leicester
Well I am using the Paypal Standard/Express - which has replaced PayPal Standard. So I am only using PayPal payment page through the M2 checkout. There is no 'quick pay' or payment from the product page like you can do with PayPal Express.

When I click 'place order' and I am taken to PayPal, and then I pay... no further confirmation.. the order is added to 'M2' unless I pay, the order is not created in M2
 
Upvote 0

wood1e2

Free Member
May 2, 2007
2,317
174
Leicester
I just heard back from PayPal and the support person doesn't really know!

Even when I explained that click 'Pay Order' on M1 checkout places the order in M1 order system.

And on M2 if I use Fidelity it places the order in system, but if I select PayPal it doens't!

It all a bit confusing to me, and really need to get to the bottom of it... although not offering PyaPal might be the answer :)
 
Upvote 0

zigojacko

Free Member
Dec 7, 2009
3,795
1,222
Plymouth, UK
clubnet.digital
In Magento 2, a order is created as soon as the 'Place Order' button is clicked in the final stage of checkout.

The only exception to this is if the Paypal payment method in use requires a confirmation step once they have been redirected to Paypal and then back to the website. In this case, the order is then created when the 'Place Order' button is clicked on that order confirmation page.

So as I said before, it depends on which Paypal integration you are using.

Not sure if this helps...?

I'm not really sure what you want to know - I explained the process above or did this not answer your question?

It depends on how you your Paypal payment method configured... It's the same as in M1.
 
Upvote 0

wood1e2

Free Member
May 2, 2007
2,317
174
Leicester
@zigojacko Ok I do not understand what you are asking!

I have set up PayPal Website Payments Standard in M2 (see here: https://www.screencast.com/t/dtMclgPzK ) - And what I am trying to work out is if using PayPal Website Payments Standard in M2 is the same order process as there is in PayPal Website Paymants Standard in M1 ( this one: https://www.screencast.com/t/z5PDOKrk1EXr)

At the moment I am suggesting it is not. Although I am finding it hard for anyone to confirm the process in either M1 or M2.

So working through the purchase process in M2

1. I add a product to the cart, and proceed to Checkout, I login to my account, I then click on 'Pay Now'

2. I am taken to PayaPal... At that point I close the browser. As I don't want to buy anything.

I then open a new browser, and login to M2 back end. I go to Sales/Orders the order I had started but then shut down the browser is not there in the 'Sales/Order' list.

But on M1 if I had done the same, it would be in Sales/Orders as a 'processing' order. At which point I would check and see the potential customer was using PayPal, I would then phone them up and ask if they needed some help.

So I just want to find out what is default system our M1 or M2, and then either find out why M2 is different, or fix M2 to be the same as M1.

More that happy to email over videos showing you want is not occuring in M2
 
Upvote 0
I was fairly certain it was the same in Magento 1 depending on whether you have the order review step enabled or not.

Have you tried skipping the order review step in the configuration and then retesting to see if the order then appears in the backend once place order from checkout is clicked (as happens with any other payment method)?

I should add, that Paypal Website Payments Pro (I think the same for Standard too) is awful in Magento 2. You might want to just switch to Paypal Express.
 
Upvote 0

Latest Articles

Join UK Business Forums for free business advice