This is the API docs for LemonStand V1, which has been discontinued. LemonStand is now a cloud based platform, available at lemonstand.com.

LemonStand API

shop:onCustomerProfileSave event

Triggered by Shop_CustomerPaymentProfile
Author LemonStand eCommerce Inc.

Event handler signature

public void event_onCustomerProfileSave(Shop_CustomerPaymentProfile $profile)
$profile Shop_CustomerPaymentProfile specifies the profile object.
Triggered when a payment profile is saved to the database. The event is triggered regardless of whether the customer profile is new or existing. Example:
public function subscribeEvents()
{
  Backend::$events->addEvent('shop:onCustomerProfileSave', $this, 'on_profile_save');
}

public function on_profile_save($profile)
{
  // Do something
}