I have a big issue with the PayPal Pro Hosted Solution on my Magento 2 store regarding the PayPal Pro Hosted Solution. Order is being created as soon as user clicks on "Continue" in the checkout process and not after the payment is complete.
Apparently, this is the desired behaviour, however, I do not want to accept this behaviour.
Website Payments Pro Hosted Solution
Steps to reproduce:
Add item to cart
Go to checkout
Select PayPal Pro Hosted payment method
Click on "Continue" button
(My) Expected result:
The order is NOT created at this stage until the payment is complete.
Order with status of "Pending Payment" is created and if the user refreshes the page or goes back to catalog, the cart is empty (because the order is already created)
Anyone has a same problem or know how to fix this issue? I want the order to be created AFTER the payment was made and I want the user to be able to go back to catalog with their items remaining in their cart.