Skip to content
  1. Extras
  2. msBonus2
  3. Plugin events
  4. msb2OnSetBonus

msb2OnSetBonus

Fires after bonuses are applied to the cart or order.

Parameters

  • numeric $points — user's total bonus balance
  • numeric $amount — amount entered by the user to write off
  • null|msOrder $ordermsOrder object or null if applied to the cart
  • numeric $writeoff — amount actually written off