Hi! I am implementing a payment method for Brazil's "PagSeguro" payment gateway, but I am having some questions regarding the "NopSolutions.NopCommerce.BusinessLogic.Orders.Order" class. There are some properties that looks like the same for me. For instance:
1) What is the difference between ShippingFirstName/ShippingLastName and order.Customer.FirstName/order.Customer.LastName?
2) What is the difference between OrderStatus and PaymentStatus?
3) After all... what are the classes I have to take into consideration in order to have NopCommerce notified about the gateway status changes? Only the "Order" class?
Currently the order record has two status fields - Payment and Order.
Order Status is about the order itself and for order status tracking and has the following values as per the databse table: Pending (order placed nothing done yet), Processing (Paid not Shipped), Complete (Paid and Shipped), Cancelled
Payment status is about the payment for the order and can have the values as per the databse table: Pending, Authorized, Paid, Refunded, Voided
Depending on what you want to do you can adjust the role of the status or make new ones if needed.
1) What is the difference between ShippingFirstName/ShippingLastName and order.Customer.FirstName/order.Customer.LastName? Customer who orders and is being billed and where the item is to be shipped (Two possibly different people/addresses)
See also https://www.nopcommerce.com/boards/topic.aspx?topicid=3902
Are you writing/changing a payment gateway ? See https://www.nopcommerce.com/boards/topic.aspx?topicid=3791
Currently the order record has two status fields - Payment and Order.
Order Status is about the order itself and for order status tracking and has the following values as per the databse table: Pending (order placed nothing done yet), Processing (Paid not Shipped), Complete (Paid and Shipped), Cancelled
Payment status is about the payment for the order and can have the values as per the databse table: Pending, Authorized, Paid, Refunded, Voided
Depending on what you want to do you can adjust the role of the status or make new ones if needed.
1) What is the difference between ShippingFirstName/ShippingLastName and order.Customer.FirstName/order.Customer.LastName? Customer who orders and is being billed and where the item is to be shipped (Two possibly different people/addresses)
See also https://www.nopcommerce.com/boards/topic.aspx?topicid=3902
Are you writing/changing a payment gateway ? See https://www.nopcommerce.com/boards/topic.aspx?topicid=3791
Regards
Hey Yidna, thank you VERY MUCH for the tips. I think now my work will be done. :-)