Skip to content

Commit 42650ca

Browse files
author
Colin Murphy
committed
Added more notes for Sales
1 parent 0f679f7 commit 42650ca

File tree

3 files changed

+111
-3
lines changed

3 files changed

+111
-3
lines changed

9.Sales & Customers/1. Sales/2. Card operations (capturing and authorization).md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,8 @@ In the sales_flat invoice tables.
115115

116116
# Further Reading
117117

118-
-[http://magecert.com/sales.html](http://magecert.com/sales.html)
119-
- [http://brideo.co.uk/magento-certification-notes/request-flow/Sales/](http://brideo.co.uk/magento-certification-notes/request-flow/Sales/ )
120-
- [http://inchoo.net/magento/magento-quote-order-invoice-workflow/](http://inchoo.net/magento/magento-quote-order-invoice-workflow/)[]
118+
- [http://magecert.com/sales.html](http://magecert.com/sales.html)
119+
- [http://brideo.co.uk/magento-certification-notes/request-flow/Sales/](http://brideo.co.uk/magento-certification-notes/request-flow/Sales/ )
120+
121+
- [http://stackoverflow.com/questions/5366551/magento-payment-flow](http://stackoverflow.com/questions/5366551/magento-payment-flow)
122+
- [http://inchoo.net/magento/magento-quote-order-invoice-workflow/](http://inchoo.net/magento/magento-quote-order-invoice-workflow/)

9.Sales & Customers/3. Additional Notes/Answers.md

Lines changed: 77 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,3 +92,80 @@ Processing.
9292
## If an order is complete, can it be refunded (credit memo)
9393

9494
No. If the order has been shipped it can't be refunded.
95+
96+
# Card Authorization and Capture
97+
98+
## Which class is responsible for capturing funds
99+
100+
The payment method which is called by the invoice class
101+
102+
## When are invoices created
103+
104+
When an order is billed or in admin.
105+
106+
## What class is the payment class
107+
108+
Mage_Sales_Model_Order_Payment
109+
110+
## Whats the difference between authorize and capture
111+
112+
1. Authorize - It checks the funds and informs the payment service to block those funds from being used.
113+
2. Capture - This captures the funds.
114+
115+
## What are the different types of captures
116+
117+
Online & Offline Capture.
118+
119+
## How would a custom payment gateway authorize and capture funds
120+
121+
Using the methods authorize and capture providing their properties have been set to true.
122+
123+
124+
# 5. Credit Memos
125+
126+
127+
# What state is an order set to after being refunded
128+
129+
Closed.
130+
131+
# When can an order not be refunded?
132+
133+
When the order is complete and the payment method does not allow refunds.
134+
135+
# How does Magento process taxes when refunding an order?
136+
137+
It basis it off admin tax origin.
138+
139+
# How does Magento process shipping fees when refunding an order?
140+
141+
Handled by the Credit Memo model when calculating different totals.
142+
143+
# What is the difference between online and offline refunding?
144+
145+
Offline refunds refund the order on Magento without actually taking care of the refund transaction. Whereas online does both.
146+
147+
# What is the role of the credit memo total models in Magento?
148+
149+
Credit memo totals keep a track on how much is refunded per total.
150+
151+
# 6. Cancelled Orders
152+
153+
## When can an order be cancelled
154+
155+
1. Payment method allows for the order to be void e.g. the property *$_canVoid*
156+
2. If all items have not been invoiced
157+
3. If the order is not cancelled, complete or closed
158+
4. Or if the order is not already flagged as cancelled
159+
160+
161+
# 7. Partial Order Operations
162+
163+
## What are the different types
164+
165+
1. Order
166+
2. Invoice
167+
3. Shipping
168+
169+
## How do they affect the state of an order
170+
171+
They set the order state to processing.

9.Sales & Customers/3. Additional Notes/Questions.md

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
- How does Magento calculate price when an order is created from the admin
77
- Which steps are necessary in order to create an order from the admin?
88
- What happens when existing orders are edited in the admin?
9+
- Describe the differences in order creation between the frontend and the admin?
910

1011
# 2. Order Status & State
1112

@@ -18,3 +19,31 @@
1819
- If an order is complete, can it be refunded (credit memo)
1920

2021
# 3. Fieldsets
22+
23+
# 4. Card Authorization and Capture
24+
25+
- Which class is responsible for capturing funds
26+
- What class is responsible for creating an invoice
27+
- What class is the payment class
28+
- Whats the difference between authorize and capture
29+
- When are invoices created
30+
- What are the different types of captures
31+
- How would a custom payment gateway authorize and capture funds
32+
33+
# 5. Credit Memos
34+
35+
- What state is an order set to after being refunded.
36+
- When can an order not be refunded?
37+
- How does Magento process taxes when refunding an order?
38+
- How does Magento process shipping fees when refunding an order?
39+
- What is the difference between online and offline refunding?
40+
- What is the role of the credit memo total models in Magento?
41+
42+
# 6. Cancelled Orders
43+
44+
- When can an order be cancelled
45+
46+
# 7. Partial Order Operations
47+
48+
- What are the different types
49+
- How do they affect the state of an order

0 commit comments

Comments
 (0)