onOrderUpdated property

void Function(Map<String, Object?> order)? onOrderUpdated
final

Called when the order state changes.

This callback receives the normalized order payload. Use checkoutController if the host app also needs access to the order client secret emitted alongside order:updated.

Implementation

final void Function(Map<String, Object?> order)? onOrderUpdated;