Ação: wu_checkout_order_created
Fires after the checkout order is fully assembled.
Addons can use this to create secondary memberships for products with independent billing cycles.
Parameters
| Nome | Tipo | Descrição |
|---|---|---|
| $order | \WP_Ultimo\Checkout\Cart | O objeto do carrinho/pedido. |
| $customer | \WP_Ultimo\Models\Customer | O cliente. |
| $membership | \WP_Ultimo\Models\Membership | A associação principal. |
| $payment | \WP_Ultimo\Models\Payment | O pagamento. |
Desde
- 2.5.0
Fonte
Definido em inc/checkout/class-checkout.php na linha 891