I have an ecommerce app in dotnet core 2.2 For the customer's to make their payments they have to be redirected to a bank's secure page where they will enter their card number ccv etc. After that they are being redirected to one of me sites pages depending on the result of the payment. If they payment is complete or failed I am getting some data according to the payment posted to my page via a post method. When the payment is cancelled i am not getting any data at all. If the user cancels the payment he returns to the PaymentCancel page and everything is just fine. But when the payment is somehow complete (either successful or not) my session data(where i have stored some crucial about the order data such as items or billing address) is lost. Why am i getting this behavior? What am i missing?
↧