Thank you, I have got that to work. I need to record this SESSION value (DeliveryType) in the orders table after the payment has been take using Paypal Express. How do I do that?
Also, I have tested the order using a Paypal sandbox account and it all works except the shipping details. The user doesn't enter their shipping details in the checkout as I am using Paypal Express - so the user enters their details directly to Paypal. However these aren't being transferred to the order table after purchase. I have attached some of my files (I don't know if you need them)