Skip to main content

Action: wu_checkout_order_created

ਜਦੋਂ చెక్అవుਟ ਆਰਡਰ ਪੂਰੀ ਤਰ੍ਹਾਂ ਤਿਆਰ ਹੋ ਜਾਂਦਾ ਹੈ, ਤਾਂ ਇਹ ਐਕਸ਼ਨ ਚੱਲਦਾ ਹੈ।

ਐਡਆਨਜ਼ ਇਸਦੀ ਵਰਤੋਂ ਕਰਕੇ ਉਹਨਾਂ ਉਤਪਾਦਾਂ ਲਈ ਸੈਕੰਡਰੀ ਮੈਂਬਰਸ਼ਿਪ ਬਣਾ ਸਕਦੇ ਹਨ ਜਿਨ੍ਹਾਂ ਦੇ ਬਿਲਿੰਗ ਸਾਈਕਲ ਵੱਖਰੇ ਹੋਣ।

Parameters

NameTypeDescription
$order\WP_Ultimo\Checkout\Cartਕਾਰਟ/ਆਰਡਰ ਆਬਜੈਕਟ।
$customer\WP_Ultimo\Models\Customerਗਾਹਕ (Customer)।
$membership\WP_Ultimo\Models\Membershipਮੁੱਖ ਮੈਂਬਰਸ਼ਿਪ।
$payment\WP_Ultimo\Models\Paymentਭੁਗਤਾਨ (Payment)।

Since

  • 2.5.0

Source

Defined in inc/checkout/class-checkout.php at line 891