Magento V1.9* What happens when an Order Status has no order state - Paypal fails to cancel order after disputed transaction
-
06-05-2021 - |
Question
Magento V1.9.4.5
Interesting edge case came to my desk
Problem paypal IPN fails to create credit memo and cancel order after paypal has dispute and reversed the transacti
Date/Time week later after shipped !! PM|PayPal Canceled Reversal Customer Not Notified IPN "Canceled_Reversal". A reversal has occurred on this transaction due to a complaint about the transaction from your customer. Transaction amount $. Transaction ID: ""
Date/Time PM|PayPal Reversed Customer Not Notified IPN "Dispute". Case type "Dispute". Case ID "" Buyer claims that he did not receive goods or service.
Date/Time PM|PayPal Reversed Customer Not Notified IPN "Reversed". A reversal has occurred on this transaction due to a complaint about the transaction from your customer. Transaction amount -$ Transaction ID: ""
Date/Time PM|Complete Customer Not Notified Riskified Status: fulfilled
Date/Time PM|Complete Customer Notified
Date/Time PM|Processing Customer Not Notified Riskified Status: fulfilled
Question: What happens when an Order Status has no order state as none of these order status had a assigned state referring to magentodomain.com/index.php/admin/sales_order_status/
Question: Is a blank state assigned "processing" by default ?
- Our ERP picked this up as "processing" after disputed -whereas should be canceled
Status | status code | default status | state code |
---|---|---|---|
PayPal Canceled Reversal | paypal_canceled_reversal | ||
PayPal Reversed | paypal_reversed | ||
Pending PayPal | pending_paypal |
Changed it to
Status | status code | default status | state code |
---|---|---|---|
PayPal Canceled Reversal | paypal_canceled_reversal | No | canceled [Canceled] |
PayPal Reversed | paypal_reversed | No | holded [On Hold] |
Pending PayPal | pending_paypal |
- Pending Paypal left blank because this never appears in 7yrs of orders
Question 2 explain default please
- what happens if default is blank
- what happens when default is yes
- what happens when default is no
No correct solution