PelcroSourceUpdated
Fired when a payment source is updated
Overview
Fired when an existing payment source is updated.
Triggered By
| Method | Description |
|---|---|
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
- Events Overview - All available events
- PelcroSourceCreated - Creation event
Updated 1 day ago
