woocommerce/includes/gateways/simplify-commerce-deprecated
Brent Shepherd 089485b3bf Simplify: Update renewal payments for Subs v2.0
* Add new save_subscription_meta() method to allow us to save customer ID both
  in Subscriptions 1.n on the original order and in 2.0 on the subscription/s
  created for the order)
* Use the new 'woocommerce_scheduled_subscription_payment_simplify' hook and
  deprecate use of the old 'scheduled_subscription_payment_simplify' hook by
  moving it to the WC_Addons_Gateway_Simplify_Commerce_Deprecated class
* Use core WC methods on the renewal order passed to scheduled_subscription_payment()
  to process the payment rather than having to call special Subscriptions API methods
  like WC_Subscriptions_Manager::process_subscription_payments_on_order() and
  WC_Subscriptions_Manager::process_subscription_payment_failure_on_order()
* Use the original order's total to determine the amount to charge up-front to
  save having to call WC_Subscriptions_Order::get_total_initial_payment()
* Use a description for recurring payments that is consistent with standard orders,
  i.e. "{Site Name} - Order {order_id}" instead of a description that does not include
  the renewal order's ID. This helps link payments to orders (which can then be traced
  to subscription/s).
2015-07-24 18:17:36 -07:00
..
class-wc-addons-gateway-simplify-commerce-deprecated.php Simplify: Update renewal payments for Subs v2.0 2015-07-24 18:17:36 -07:00