UPDATE:
Been reviewing the code, still have some questions.
1. (#1)I may have figured out the question 1. Your status is the state of the payment.
2. (#3) $Order appears to be the same as in woocommerce action hooks. Can you confirm?
2. (#5) What action is sent for a subscription payment? The same hook of wc_gateway_stripe_process_response OR wc_gateway_stripe_process_webhook_payment?
3. New item, what action hook do you send if a customer cancels their subscription?
wc_stripe_delete_source? Or nothing?
Basically looking for documentation that explains the parameters and the differences between the action hooks. Looking at code can not take you to the assumptions.
-
This reply was modified 6 years, 1 month ago by dkurth.