Elementium Sign in
Contents

Starts when · Starts a flow

When a payment is refunded

A Stripe payment was given back, all or part. Checked with the stripe_webhook_secret secret, from a Stripe webhook sending charge.refunded. The link is in this trigger's panel.

Basic plan events.payment_refunded

In a flow

“When a payment is refunded, the steps wired after it run.”

When a payment is refunded → Take role VIP from Who paid.

What it does

A Stripe payment was given back, all or part. Checked with the stripe_webhook_secret secret, from a Stripe webhook sending charge.refunded. The link is in this trigger's panel. It starts a flow, and gives the steps after it values about what happened. It gives 6 values later steps can use. Find it under Starts when in the palette.

When to use it

Use it to start a flow when a payment is refunded.

When not to

If the flow should start from a click or a command instead, pick that trigger: a flow has exactly one.

Typical wiring

Values it gives

Who paid Member

The member the link was made for. Empty when it didn't say. e.g. @Sam

If it's empty: Empty when the step didn't make one (it stopped early or was skipped); steps reading it get nothing.

Connects toA member's variablesAdd a labelAdd a staff noteAdd answer to formAdd to a counterAdd to a leaderboardAdd to threadAdd to ticketand 648 more

Payment Text

The payment's id. e.g. pi_3Abc

If it's empty: Empty when the step didn't make one (it stopped early or was skipped); steps reading it get nothing.

Connects toAccept applicationAdd a forum tagAdd a labelAdd a Notion pageAdd a row to a Google SheetAdd a staff noteAdd a stickerAdd a Trello cardand 578 more

Product Text

What they bought. e.g. VIP

If it's empty: Empty when the step didn't make one (it stopped early or was skipped); steps reading it get nothing.

Connects toAccept applicationAdd a forum tagAdd a labelAdd a Notion pageAdd a row to a Google SheetAdd a staff noteAdd a stickerAdd a Trello cardand 578 more

Amount Number

How much went back, in the main unit. e.g. 4.99

If it's empty: Empty when the step didn't make one (it stopped early or was skipped); steps reading it get nothing.

Connects toAccount ageActive membersAddAdd answer to formAdd soundboard soundAdd timeAdd to a counterAdd to a leaderboardand 719 more

Currency Text

Which money. e.g. usd

If it's empty: Empty when the step didn't make one (it stopped early or was skipped); steps reading it get nothing.

Connects toAccept applicationAdd a forum tagAdd a labelAdd a Notion pageAdd a row to a Google SheetAdd a staff noteAdd a stickerAdd a Trello cardand 578 more

Note Text

The note the link carried. e.g. role:123

If it's empty: Empty when the step didn't make one (it stopped early or was skipped); steps reading it get nothing.

Connects toAccept applicationAdd a forum tagAdd a labelAdd a Notion pageAdd a row to a Google SheetAdd a staff noteAdd a stickerAdd a Trello cardand 578 more

Often next

Related in Starts when

Wires and sockets · Data values · Plans