I am a little confused with the "Order" object

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
14 năm cách đây
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?

Thanks in advance!
14 năm cách đây
Any clues?  :-(
14 năm cách đây
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
14 năm cách đây
Yidna wrote:
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.  :-)
13 năm cách đây
Vc conseguiu implementar pagseguro e correios?

Explica ai pra gente como vc fez... passa os fontes... Ajude a comunidade nopCommerce Brasileira!!!

Entre no espirito Opensource, vc ajuda e sempre alguem vai te ajudar acrescentando e melhorando.

Abraços...

Maicon Santos
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.