PelcroSourceUpdated

Fired when a payment source is updated

Overview

Fired when an existing payment source is updated.


Triggered By

MethodDescription
Pelcro.source.update()Updating payment source details

Event Detail

The event.detail object contains the updated payment source.


Example

document.addEventListener('PelcroSourceUpdated', (event) => {
  const source = event.detail;

  console.log(`Payment source updated: ${source.id}`);
});

Related